Révision 1768

tmp/org.txm.chartsengine.r.core/src/org/txm/chartsengine/r/core/RChartsEngine.java (revision 1768)
69 69
	
70 70
	@Override
71 71
	public File createChartFile(Object chart, File file)	{
72
		this.plot(file, (String) chart);
73
		return file;
72
		return this.plot(file, (String) chart);
74 73
	}
75 74
	
76 75

  
......
124 123
					}
125 124
				}
126 125
			}
127
			RWorkspaceRenderer.getInstance().plot(file, cmd, this.rDevice);
126
			file = RWorkspaceRenderer.getInstance().plot(file, cmd, this.rDevice);
128 127
		}
129 128
		catch(Exception e) {
130 129
			e.printStackTrace();

Formats disponibles : Unified diff