Revision 2541 tmp/org.txm.groovy.core/src/groovy/org/txm/macro/r/PlotSpecifMacro.groovy

PlotSpecifMacro.groovy (revision 2541)
62 62
// END OF PARAMETERS
63 63

  
64 64
def r = RWorkspace.getRWorkspaceInstance()
65
def file = File.createTempFile("txm", ".svg", new File(Toolbox.getTxmHomePath(), "results"))
65
def resultsDir = new File(Toolbox.getTxmHomePath(), "results")
66
resultsDir.mkdirs()
67
def file = File.createTempFile("txm", ".svg", resultsDir)
66 68

  
67 69
/// BEGIN SCRIPTS
68 70
def script ="""

Also available in: Unified diff