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 (bizarre I know). The workaround that  
I came up with was
to use the command "ulimit -s unlimited" in the parent shell of every  
python django
process. Hope this helps.

Quoting wierob <wiero...@googlemail.com>:

> 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 <module>
>     from rpy import *
>
>   File "/usr/lib/python2.6/dist-packages/rpy.py", line 346, in <module>
>     r = R()
>
>   File "/usr/lib/python2.6/dist-packages/rpy.py", line 289, in __init__
>     self.get = _rpy.get_fun('get')  # this must happen before any   
> calls to self or its methods!
>
> RPy_Exception: R Function "get" not found
>
>
> Rpy works fine in any other scripts.
>
> Any ideas? Thanks in advance.
>
> robert
>
>
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> is a gathering of tech-side developers & brand creativity professionals. Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, &
> iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. http://www.creativitycat.com
> _______________________________________________
> rpy-list mailing list
> rpy-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rpy-list
>




------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to