It is possible if rpy is detecting and using a different R binary...

-Greg

> -----Original Message-----
> From: Luca Beltrame [mailto:luca.beltr...@marionegri.it]
> Sent: Wednesday, May 25, 2011 10:16 AM
> To: rpy-list@lists.sourceforge.net
> Subject: [Rpy] Strangeness with R.home
> 
> Hello,
> 
> When writing a script to detect R's doc directory, I found that on an
> Ubuntu
> (11.04) system the output of R.home in rpy2 is different than when in
R.
> 
> Python:
> base.R_home("doc")
> <StrVector - Python:0x3740638 / R:0x32dfb68> ['/usr/lib64/R/doc']
> 
> (which is wrong)
> 
> R:
> > R.home("doc")
> [1] "/usr/share/R/doc"
> 
> (correct)
> 
> I suspect some changes on Ubuntu packages, as on my main openSUSE
system
> (self packaged R) the first output (Python) is correct.
> 
> How can that be possible?
> 
> (rpy2.2 RC)
> 
> --
> Luca Beltrame, Ph.D. - Translational Genomics Unit Oncology
Department,
> Mario Negri Institute

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to