search for: rspython

Displaying 20 results from an estimated 54 matches for "rspython".

2005 Jan 17
1
problem installing RSPython
Hi, I'm trying to install RSPython v0.5-4 on a debian machine (woody, testing) but am having the following problem. $R CMD INSTALL -c --library=/usr/lib/R/library RSPython_0.5-4.tar.gz 2>err But then... $python >> import RS Error in .PythonInit() : Error in Python call: values Error in library("RSPython") : .Fir...
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') >>> sys.path.append('/usr/local/lib/R/library/RSPython/libs') &gt...
2007 Aug 03
2
RSPython won't load in R 2.6.0 under Linux
I can compile RSPython without difficulty, been when I try to load it, I get the error messages below. Also below are some cryptic warnings I get on R boot (in case these are pertinent) and my sessionInfo(). Any help is appreciated. Thanks, Mark Warning messages: 1: In .updateMethodsInTable(fdef, where, attach) :...
2005 Mar 18
2
RSPython
Hi, where is the latest version of the RSPython library? Is it compatible with the current stable release of R? Thanks, Darren
2001 Nov 01
0
Re: [Omega-help] RSPython_0.3.0 on FreeBSD 4.*:
...-lc_r' did work. libc_r is located in /usr/lib on my machine. This got me to the state you describe below where 'openpty' was missing. The fix you described worked for me also. After editing src/Makevars.in to add -lutil, the following command worked for the install: R INSTALL -c RSPython library(RSPython) reported no errors. I ran example(.Python) and example(.PythonPath) and they both worked fine. Some miscellaneous notes about FreeBSD and this Package: --with-threads: Using the configure-arg 'with-threads' resulted in the following error on FreeBSD: gcc -shared...
2009 Feb 11
1
RSPython
Hi all, I try to utilize RSPython to invoke Python from R. For me it works pretty fine for basic applications, but I have 3 problems that may be related. (1) I can't load other packages but "standard" ones also when I adjust the PythonPath: > importPythonModule('sys', all=T) NULL &gt...
2011 Dec 07
1
RSPython installation
Does anyone know if Is there a way to manually install RSPython? I get this error when I try to run the script from my DOS prompt. V:\>R CMD INSTALL -c C:/Users/gene.leynes/Downloads/RSPython_0.7-1.tar.gz * installing to library 'C:/Users/gene.leynes/Documents/R/win-library/2.13' * installing *source* package 'RSPython' ... ***********...
2009 Nov 02
1
R and Python
..., 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 makes it possible to call R code from Python, and RSPython goes both ways. My needs would be to use Python to drive R to get it's extensive time series and stats, and also to get to Python objects from inside R. I searched the list archives and it looks like many people use...
2001 Oct 31
1
shared libraries on FreeBSD 4.*
...uple of the contributed packages seem to have difficulty finding symbols in the shared libraries. Currently, I'm running R 1.3.1 on FreeBSD 4.4. I've tried setting LD_LIBRARY_PATH to /usr/local/lib and some other things. The packages I've had trouble with are: Matrix 0.3.15 RODBC 0.8.3 RSPython 0.3 Matrix could not find my BLAS library: checking for dgemm_ in -lcomplib.sgimath... no checking for zherk in -lblas... no checking for dgemm_ in -lblas... no could not find your BLAS library ERROR: Configuration failed for package `Matrix' I solved the problem wi...
2009 Sep 08
0
RSPython can't find module
Hi Folks, After seeing some tips on the web, I managed to get RSPython-0.7-1 installed with R 2.9.0 (on Ubuntu 8.04). I had to get rid of the extra comma in the PythonPath function in Python.S: .PythonPath <- function(path=NULL, merge = TRUE) { dirSep <- ifelse(R.version$os == "Win32", ";", ":",) (remove last comma before brack...
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 python rolls over and dies with a segmentation fault. It has been two days of fu...
2001 Jul 23
2
Installing RSPython with R 1.3.0
To get RSPython installed on my debian test box, I had to make a couple of changes not listed in ftp://www.omegahat.org/pub/Omega/RSPython/FAQ.html 1) I had to change $R_HOME/src/modules/X11 : $(R_X11_la): $(R_X11_la_OBJECTS) $(R_X11_la_DEPENDENCIES) $(SHLIB_LINK) -o $@ $(R_X11_la_LDFLAGS) $(R_X11_la_OB...
2003 Sep 16
0
RSPython crashes (using R 1.7.1 under Solaris 5.9)
Hello. I tried to install RSPython on Solaris 5.9. After compiling R with --enable-R-shlib, I try to install RSPython using "R INSTALL --clean RSPython". This led to an error complaining about missing "libutil", wich seems not to exist on Solaris. Therefore I just removed the "-lutil" entry in "co...
2008 Aug 01
0
Problem with RSPython
I am very much a beginner at Python and am trying to get RSPython to work for me to solve a specific problem with geocoding addresses using the geopy library for Python (which appears to be an easy way to geocode large numbers of addresses). While I can load up the RSPython library just fine, when I try to load the geopy module using the importPythonModule('g...
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 psu.edu> <http://jijo.cjb.net>...
2003 Dec 09
3
Interfacing R and Python in MS Windows
Hi all, I need the power of R from within some of my Python programs... I use debian linux (woody) at home and windows XP at work (the latter is where I need to get things done!) This are my packages: R 1.8.0 Python 2.3 RSPython 0.5-3 This is what I've done: (1) Since the Windows Binary of RSPython is compiled against Python 2.2 I downloaded the tarball (2) Followed the instructions in INSTALL.win (with pexports and everything) (3) In the RGUI "Install package(s) from local zip files..." (4) NO errors report...
2010 May 20
1
RSpython Ubuntu
Dear List, I'd like to call pyhton function from within R. I tried installing the latest version of RSPython: wget http://www.omegahat.org/RSPython/RSPython_0.7-1.tar.gz R CMD INSTALL --clean RSPython_0.7-1.tar.gz I get a compile error (posted below). Did anyone else run against this ? Is there a solution ? checking for python... /usr/bin/python Python version 2.6 Using threads checking for gcc... gc...
2002 Jan 24
0
RSPython for Windows: was driving R from Python (calldll?)
Just a note to complete this thread regarding the RSPython package. A binary version for this package is now available for Windows, compiled against R-1.4.0 and Python 2.2. Also makefiles and instructions are provided for compiling it oneself. It currently works only for one direction, namely embedding Python within R. As time permits, I'll add the em...
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...
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 last): File "<stdin>", line 1, in ? File "/usr/lib/python2.2/site-packag...