Re: [Rpy] hg repository

2011-01-27 Thread Laurent
On 27/01/11 22:57, Thomas Kluyver wrote: > When you clone the repository, it will give you the 'default' branch to > start working with. By convention, this is the branch where new > development happens, and other branches are split off to make more > stable releases. At present, rpy2's primary foc

Re: [Rpy] libR.so not found

2011-01-27 Thread Dirk Eddelbuettel
Kyle, On 27 January 2011 at 10:45, Kyle Covington wrote: | Hello, | | (Ubuntu system) | | Sometimes when I try; import rpy2.robjects as ro | I get the error libR.so not found.   | | I have seen this posted on several lists as a problem with the solution that I | need to tell rpy2 where libR.so

[Rpy] libR.so not found

2011-01-27 Thread Kyle Covington
Hello, (Ubuntu system) Sometimes when I try; import rpy2.robjects as ro I get the error libR.so not found. I have seen this posted on several lists as a problem with the solution that I need to tell rpy2 where libR.so is. It is in /usr/lib/R/lib/ which is where os.environ thinks it should be.

Re: [Rpy] An Error in Calling R Function from Python via RPy2

2011-01-27 Thread Mike Sarahan
Have you tried these operations in R itself? I'm not sure that what you're trying to do works in R, let alone R through python. The error you're seeing is exactly correct - the R open function does not know what to do with the character ("a") that you are passing to it. On Thu, Jan 27, 2011 at 2

[Rpy] hg repository

2011-01-27 Thread Thomas Kluyver
When you clone the repository, it will give you the 'default' branch to start working with. By convention, this is the branch where new development happens, and other branches are split off to make more stable releases. At present, rpy2's primary focus of development is the 'version_2.2.x' branch,

Re: [Rpy] An Error in Calling R Function from Python via RPy2

2011-01-27 Thread Wonsang You
Sorry. I have to modify my question. My codes were exactly as follows. >>> import rpy2.robjects as robjects >>> load=robjects.r['load'] >>> filename=robjects.StrVector(['test.RData']) >>> x=load(filename) >>> print(x) "a" "b" "c" >>> open(x[0]) Afterward, I got the following error. RRunti

[Rpy] An Error in Calling R Function from Python via RPy2

2011-01-27 Thread Wonsang You
Dear RPy2 users, I would like to ask about how to use an R function from Python by using RPy2 (http://rpy.sourceforge.net/). For example, I tried the following Python codes. import rpy2.robjects as robjects open=robjects.r['open'] filename=robjects.StrVector(['test.RData']) open(filename) Ho