[Rpy] Import error for mAr

2011-05-15 Thread David Montgomery
Hi, Why cant I load a library? In R it works. The library is their. With rpy2 I get the below import error. How do I resolve? Thanks from rpy2.robjects.packages import importr mar = importr('mAr') In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : ther

Re: [Rpy] Import Error for rpy2.robjects.packages

2010-08-03 Thread Laurent
Hi, You are likely trying to call a feature present in rpy2 >= 2.1.0 with an older version. You seem to be working on MSWindows, and unfortunately the latest distributed version for that OS in 2.0.8. More about a possible future for rpy2 on Windows is on the website: http://rpy.sourceforge.net

[Rpy] Import Error for rpy2.robjects.packages

2010-08-03 Thread Aman Thakral
Hi, Here is the output: Traceback (most recent call last): File "C:\src\rpy2\testPCA.py", line 4, in from rpy2.robjects.packages import importr ImportError: No module named packages "import rpy2.robjects as robjects" worked just fine. Is there some folder that I need to add to my windows

Re: [Rpy] Rpy import error in django app

2009-05-26 Thread Laurent Gautier
Barry Rowlingson wrote: > On Sun, May 24, 2009 at 7:57 PM, Toby HOCKING > wrote: >> Yes this is a bizarre error that I had been getting. It was difficult >> to track down >> exactly where the bug came from, but it was somehow related to the C >> stack limit size, >> which was evidently too small

Re: [Rpy] Rpy import error in django app

2009-05-26 Thread Barry Rowlingson
On Sun, May 24, 2009 at 7:57 PM, Toby HOCKING wrote: > Yes this is a bizarre error that I had been getting. It was difficult > to track down > exactly where the bug came from, but it was somehow related to the C > stack limit size, > which was evidently too small and causing the R process to crash

Re: [Rpy] Rpy import error in django app

2009-05-24 Thread Toby HOCKING
Yes this is a bizarre error that I had been getting. It was difficult to track down exactly where the bug came from, but it was somehow related to the C stack limit size, which was evidently too small and causing the R process to crash ... only when used in conjunction with RPy and Django (bi

[Rpy] Rpy import error in django app

2009-05-22 Thread wierob
Hi, I tried to use Rpy inside a Django app but got the following error that prevents importing and using Rpy: File "/home/wierob/Desktop/mysite/../mysite/polls/views.py", line 1, in from rpy import * File "/usr/lib/python2.6/dist-packages/rpy.py", line 346, in r = R() File "/usr/

Re: [Rpy] import error

2007-09-12 Thread Thomas Walter
Hi! thank you for your Email. I am using the latest version of rpy: rpy-1.0-RC3 and it did not work ... :-( Thomas. Manuzhai wrote: >What RPy version did you use? You might want to try the latest >1.0-RC3, which should have fixed this problem. > >Cheers, > >Manuzhai > >On 9/11/07, Thomas Wal

Re: [Rpy] import error

2007-09-12 Thread Manuzhai
What RPy version did you use? You might want to try the latest 1.0-RC3, which should have fixed this problem. Cheers, Manuzhai On 9/11/07, Thomas Walter <[EMAIL PROTECTED]> wrote: > Hi! > > I have successfully used rpy under python 2.4 with R 2.2, and it was > really a great help, because the da

[Rpy] import error

2007-09-11 Thread Thomas Walter
Hi! I have successfully used rpy under python 2.4 with R 2.2, and it was really a great help, because the data structure under R is not so comfortable to use. Now, I had to install R 2.5.1. I did this according to the recommendation as a shared library. I reinstalled rpy. Everything went fine.