X-Git-Url: http://iramuteq.org/git?p=iramuteq;a=blobdiff_plain;f=PrintRScript.py;h=589aabf1c2f83b10f52643467643b1dd657e0d43;hp=fd86a2c1c2558a0764c3117a85d3dc7441ff4f7c;hb=5d84083b41b807307732adb78e1be7fd3e3ff004;hpb=1fbb2fcb56ff6f0e0a0fa67daf55dadced5d0341 diff --git a/PrintRScript.py b/PrintRScript.py index fd86a2c..589aabf 100644 --- a/PrintRScript.py +++ b/PrintRScript.py @@ -33,7 +33,7 @@ class PrintRScript : def sources(self, lsources) : for source in lsources : - self.add('source("%s")' % source) + self.add('source("%s", encoding = \'utf8\')' % source) def packages(self, lpks) : for pk in lpks : @@ -545,6 +545,7 @@ def barplot(table, rownames, colnames, rgraph, tmpgraph, intxt = False) : # height = 400 rownames = 'c("' + '","'.join(rownames) + '")' colnames = 'c("' + '","'.join(colnames) + '")' + if not intxt : #FIXME txt = """