R script
authorPierre Ratinaud <ratinaud@univ-tlse2.fr>
Tue, 12 Jul 2016 12:47:47 +0000 (14:47 +0200)
committerPierre Ratinaud <ratinaud@univ-tlse2.fr>
Tue, 12 Jul 2016 12:47:47 +0000 (14:47 +0200)
PrintRScript.py

index 1319293..579bcae 100644 (file)
@@ -1230,7 +1230,7 @@ class MergeGraphes(PrintRScript) :
             RData = os.path.join(path,'RData.RData')
             txt += load % (ffr(RData), gname)
         self.add(txt)
-        self.sources(['/home/pierre/workspace/iramuteq/Rscripts/simi.R'])
+        self.sources([self.analyse.parent.RscriptsPath['simi']])
         txt = """
         ng <- merge.graph(graphs)
         ngraph <- list(graph=ng, layout=layout.fruchterman.reingold(ng, dim=3), labex.cex=V(ng)$weight)
@@ -1304,4 +1304,4 @@ class FreqMultiScript(PrintRScript):
         dev.off()
         """ % ffr(self.pathout['barplotrow.png'])
         self.add(txt)
-        self.write()  
\ No newline at end of file
+        self.write()