[SciPy-user] desactivating R
joshuafr at gmail.com
Tue Dec 19 04:50:35 CST 2006
I don't understand why you say "an old version":
|Test_Basemap|>from scipy.stats import stats
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
> 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
> 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
> scipy or ipython.
> Robert Kern
> "I have come to believe that the whole world is an enigma, a harmless
> that is made terrible by our own mad attempt to interpret it as though it
> an underlying truth."
> -- Umberto Eco
> SciPy-user mailing list
> SciPy-user at scipy.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-user