Displaying 20 results from an estimated 1000 matches similar to: "R plot display problem under windows when using python rpy module."
2003 Oct 27
1
Rpy Import Error
I am trying to install Rpy to test it out as an R
interface for a project that I am working on.
However, I get the following error. Any clues as to
what might be going on? I have alo tried RSPython, but
I gave up due to errors. RSPython segfaults when
started from R and gives an error message I can;t
remember from python. Thanks, Brett
>>> import rpy
Traceback (most recent call
2004 Sep 30
1
Rpy vs RSPython
Hi, I'm planning to write some code in Python using R functions.
I'm aware of the two R<->Python packages - Rpy and RSPython.
Rpy seems easier to get up and running with, but does anybody have any
comments regarding which would be a better system to work with in the
long run?
Thanks,
-------------------------------------------------------------------
Rajarshi Guha <rxg218 at
2009 Nov 02
1
R and Python
I am a long time user of R for financial time series analysis (xts, zoo,
etc) and for my next project I am thinking of adding the Python language to
the mix. The reason for adding Python is primarily its non-statistical
capabilities.
So my questions are what have people's experiences been with using interop
between R and Python. I see there are two items, rPy and RSPython. It looks
like rPy
2003 Sep 09
1
No joy installing R with shared libs
>> Can some kind soul please give me a fool proof recipe for building R
>> and RSPython so that it actually works?
> I don't have a recipe, but one thought to help debug the process: Try
> installing RPy [1]. RPy also provides access to R via Python and uses
> the libR.so library. If you can install and "import rpy" without
> problem then it must be
2006 Oct 12
3
multithreading calling from the rpy Python package
Hello,
I don't know if this question ought to go here, or rather on R-devel,
so please bear with me.
I'm interfacing to R via RPy (rpy.sf.net) and an embedded Python
interpreter. This is really quite convenient.
I use this approach to calculate the correlation coefficient of 1
independent dataset (vector) with 4 dependent vectors. It'd be nice if
that could be done in 4 parallel
2006 Oct 12
3
multithreading calling from the rpy Python package
Hello,
I don't know if this question ought to go here, or rather on R-devel,
so please bear with me.
I'm interfacing to R via RPy (rpy.sf.net) and an embedded Python
interpreter. This is really quite convenient.
I use this approach to calculate the correlation coefficient of 1
independent dataset (vector) with 4 dependent vectors. It'd be nice if
that could be done in 4 parallel
2002 Mar 06
2
Announce: R from Python
Hello.
I'm not a regular subscriber in this mailing list, but I think that this
announce may interest somebody. Please, forgive me if this is the wrong place.
Based on the code of RSPython, but modifying it a little, I wrote an interface
for using R from Python. The main reason for writing it was to make it robust,
in order to avoid segmentation faults. Also, it is (IMMO) a very
2004 Aug 05
1
R interface to Python (in Windows)
I put a copy of R 1.8.1 for Windows on our FTP site at:
ftp://ftp.odot.state.or.us/outgoing/Test/. It should be there for a few
days before it gets deleted.
Benjamin Stabler
Transportation Planning Analysis Unit
Oregon Department of Transportation
555 13th Street NE, Suite 2
Salem, OR 97301 Ph: 503-986-4104
-----Original Message-----
From: Peter Wilkinson [mailto:pwilkinson at videotron.ca]
2003 Sep 08
2
No joy installing R with shared libs.
Hello,
My platform is SuSE 8.1. After downloading and unpacking R version 1.7 I
tried building with shared libs enabled. (./configure --enabl-R-shlib). My
goal is to use RSPython but I am now in my own private segmentation fault
hell.
The R build worked fine: make, make check, make install cool.
The RSPython build worked fine.
Thinking I'm good to go, I run python. But when I import RS
2002 Dec 23
4
calling R from python (fwd)
A question for a (experienced) user of the RPython package on
linux.
I'm trying to call R from python on a linux (Suse 7.3) box.
After installing R CMD INSTALL -c RSPython_0.5-2.tar.gz
I start python and do:
>>> import sys
>>> sys.path.append('/usr/local/lib/R/library/RSPython')
>>> sys.path.append('/usr/local/lib/R/library/RSPython/Python')
2009 Jul 09
1
Rpy not working after upgrade to R2.9.1
Hi,
I'm running Ubuntu Jaunty, downloading R and Rpy from this repository:
deb http://cran.uk.r-project.org/bin/linux/ubuntu jaunty/
When was automatically upgraded, Rpy (which should be downloaded from
the same repository) seems to have stopped working. I've tried
re-installing the python-rpy package manually. I get the following
error when I try to import rpy:
>>> import
2011 Mar 01
1
does rpy support R 2.12.2
Hi,
I am getting the following error when I try to run import rpy from the the
python IDE:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.6/dist-packages/rpy.py", line 134, in <module>
""" % RVERSION)
RuntimeError: No module named _rpy2122
RPy module can not be imported. Please
2012 Jul 17
1
python-rpy DEB broken - but hopefully easy to fix
Hi CRAN people,
There is an issue with python-rpy on Ubuntu, when installed from the
CRAN repository. (I read the info on
http://cran.r-project.org/bin/linux/ubuntu/ and saw the note that this
package is experimental but you are happy to receive feedback on it.)
After adding the appropriate CRAN repo:
% sudo apt-get install python-rpy
[ ... installs various dependencies ... ]
% echo import rpy |
2008 Mar 24
1
Running rpy produces the error message undefined symbol: KillAllDevices
Hello All,
I've been using R for a while and decided to test R from the svn trunk. I
know that trunk is not stable, but I wanted to see if I can install and run
the latest rpy on my Ubuntu 7.10 box. It installed ok, but I got the
runtime error message:
$ python
Python 2.5.1 (r251:54863, Mar 7 2008, 04:10:12)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
Type
2010 May 31
4
building rpy against lenny-cran
Hi.
On all of my machines, except for a netbook cursed with the GMA500
chipset, the R packages are synced to lenny-cran.
I have been using rpy in a chroot using the official lenny
R packages (2.7.1) given that i have not been able to find
compatible rpy deb packages to work with lenny-cran.
I am able to build the rpy deb package from source in
a 32-bit lenny chroot (with the stock R packages)
2008 Apr 18
2
RPy
I'm curious if there are users of RPy on this list. I've recently
created a gui front end using Tkinter for some python scripts I've
written for some of our internal operations and I am quite pleased with
how this program works.
I wonder if it is possible to also get this gui to run R functions
through the use of RPy. Going even a step further, I wonder if it is
possible to get this
2007 Jan 30
2
R crashes when used from within rpy (PR#9481)
Full_Name: Jose Gaetan Pierre
Version: 2.4.1
OS: Fedora Core 6
Submission from: (NULL) (196.27.87.14)
I have been using R from within rpy for a while because I am more familiar with
Python syntax. I first noticed this bug with R-2.4.0.
Screendump: ------------------------------
>>> from rpy import *
>>> beer = r.scan()
1: 3 4 1 1 3 4 3 3 1 3 2 1 2 1 2 3 2 3 1 1 1 1 4 3 1
26:
2006 Dec 23
7
OT: any recommendation for scripting language
Right now, I am using SAS and S+/R. As a new year resolution, I am
planning to learn a scripting language.
from statisticians' point of view, which scripting language is worth
to learn, perl, python, or any other recommendation? (Most likely, I
will be learning it in windows.) Since I am not in research, I will
prefer one widely used in industry and related to statistical work.
if you
2009 Aug 16
1
good and bad ways to import fixed column data (rpy)
Recorded here so others may avoid my mistakes.
I have a bunch of files containing fixed width data. The R Data guide
suggests that one pre-process them with a script if they are large.
They were 50MG and up, and I needed to process another file that gave
the layout of the lines anyway.
I tried rpy to not only preprocess but create the R data object in one
go. It seemed like a good idea; it
2009 Jun 18
1
Calling library functions from outside R
I develop quite a bit of R code that I tend to distribute, or let
other people embed in their software. One of the things I'd really
like to do is find a way to load an R library I've developed, and call
one function with arguments.
Currently, I achieve that by building a separate R client file, which
reads in the command line arguments, loads the library, and calls the
main