One more thing: in R it seems accent strings have the encoding "UTF-8"
whereas python strings come into R always with an unknown encoding.
Maybe this has something to do with it?
thock...@stagiaire-desktop:~/rpy$ R
> Encoding("c")
[1] "unknown"
> Encoding("ç")
[1] "UTF-8"
thock...@stagiaire-desktop:~/rpy$ python
>>> from rpy import r
>>> r.plot(1,2,main="ç")
>>> r.Encoding("c")
'unknown'
>>> r.Encoding(u"c")
'unknown'
>>> r.Encoding("ç")
'unknown'
>>> r.Encoding(u"ç")
*** caught segfault ***
address 0x4, cause 'memory not mapped'
Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
Selection: 2
Exception thread.error: 'release unlocked lock' in <class
'thread.error'> ignored
thock...@stagiaire-desktop:~/rpy$
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
rpy-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rpy-list