similar to: R and Python

Displaying 20 results from an estimated 9000 matches similar to: "R and Python"

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
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
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')
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
2006 Jan 09
3
R plot display problem under windows when using python rpy module.
Dear list, Rpy is a python module that provides python interface to R. The following simple commands >>> from rpy import * >>> r.plot(0) is supposed to create a window that displays the result of plot(0). However, we observe that 1. Under *nix, rpy+R+python work as expected 2. Under windows, python + pythonWin32 (a python GUI provided by the pywin32 module), work as expected
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
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
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
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
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
2008 Feb 22
1
YAML parser for R in Windows
How can I parse a YAML file in R 2.6.0 in Windows? I cannot get the RYaml package to compile in Windows, I can't find a MinGW compiled .dll for an existing YAML parser like syck (which would appear to be the best hope for creating my own R wrapper functions), and I don't know how to call a Ruby or Python function from R (so that I could parse the file in Ruby or Python and pass the parsed
2002 Mar 10
0
Re: Announce: RPy (R from Python)
Walter Moreira wrote: > I wrote a small extension module for using the R programming language from > within Python. It makes it possible to use the huge mathematical and > statistical library of R from Python, almost whitout any changes from the text > of R manuals. > > As a side effect, it is also possible to use the full graphics capabilities of > R, which are extremely
2002 May 08
0
embedded R regexec returning nonsense
Under RSPython and rpy, the regexec C function is returning nonsensical results leading to segmentation faults. This is happening in some situations under R 1.4.1 and (more often?) under R 1.5.0 on my Solaris 8 box. R 1.4.1 was compiled with gcc 2.95.2, and I've tried 1.5.0 with both gcc 2.95.2 and gcc 3.0.3. The error appears to be exactly the same under both python tools and both
2009 Jan 09
1
Calling R functions from Python
All- Thanks in advance for your help. I'm trying to call R function using Python in a windows environment and have downloaded the Rpy library however it doesn't appear to work with R 2.7.2. Does anyone know if a new version of Rpy exists for windows that will work with R and where it can be downloaded from? Here's an example of the error I'm getting:
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 |
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]
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") : .First.lib failed for 'RSPython' Traceback (most recent
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) : Couldn't find methods table for "conditional", package
2001 Oct 31
1
shared libraries on FreeBSD 4.*
I've used R for a couple of years on FreeBSD with few problems. Recently, a couple 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