projects
/
iramuteq
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
...
[iramuteq]
/
PrintRScript.py
diff --git
a/PrintRScript.py
b/PrintRScript.py
index
fd86a2c
..
589aabf
100644
(file)
--- a/
PrintRScript.py
+++ b/
PrintRScript.py
@@
-33,7
+33,7
@@
class PrintRScript :
def sources(self, lsources) :
for source in lsources :
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 :
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) + '")'
# height = 400
rownames = 'c("' + '","'.join(rownames) + '")'
colnames = 'c("' + '","'.join(colnames) + '")'
+
if not intxt :
#FIXME
txt = """
if not intxt :
#FIXME
txt = """