[SciPy-user] desactivating R

Joshua Petterson joshuafr at gmail.com
Tue Dec 19 04:50:35 CST 2006

I don't understand why you say "an old version":
|Test_Basemap|[11]>import scipy
          Out [12]:'0.5.1'
|Test_Basemap|[13]>import numpy
          Out [14]:'1.0'
|Test_Basemap|[15]>from scipy.stats import stats
RHOME= /usr/lib/R
RVER= 2031
RUSER= /home/joshua
Loading Rpy version 2031 .. Done.
Creating the R object 'r' ..  Done

2006/12/19, Robert Kern <robert.kern at gmail.com>:
> Joshua Petterson wrote:
> > Hi all,
> > it's certainely a stupid question, but how can I desactivate the use of
> > R when I do a "from scipy import *" or "from scipy.stats import stats",
> > because I have some trouble with it (random segfault)? Do I have to
> > uninstall "rpy"?
> You can also edit Lib/stats/__init__.py (in the source distribution;
> scipy/stats/__init__.py if you want to edit your installed copy) and
> remove the
> lines that import from rpy. However, you should note that you are using a
> very
> old version of scipy that is not maintained any more. I removed that
> import from
> the current version of scipy quite some time ago.
> > Another question: is it possible to save a session from ipython, like we
> > can do with R?
> No, you can't really save a "live" workspace of the Python interpreter.
> It's a
> deep restriction of the interpreter implementation, so there's not much
> ipython
> can do about it. There is Stackless Python, a modification of the Python
> interpreter that can do this, but I've never really tested it much less
> with
> scipy or ipython.
>   http://www.stackless.com/
> --
> Robert Kern
> "I have come to believe that the whole world is an enigma, a harmless
> enigma
> that is made terrible by our own mad attempt to interpret it as though it
> had
> an underlying truth."
>   -- Umberto Eco
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20061219/1399d8a2/attachment.html 

More information about the SciPy-user mailing list