Displaying 20 results from an estimated 4000 matches similar to: "No joy installing R with shared libs"
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
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 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
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
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 May 19
3
how to run R as a daemon
Hi all,
Using R a as a real-time application called by Php for a website, I
would like to run one R process only, which would manage user
connections. For the time each user who asks for an analysis causes a
new R process to start, which is not suitable in prevision of many
users. R needs about 30 seconds to run the script which makes the
analysis. The problem is that this waiting time is n
2003 Nov 18
2
readline not found
Hi all,
I just upgraded to R-1.8.0. Everything worked fine but command line
editing does not work. This clearly indicates that readline has not been
found in the compilation process.
How could I explicitely indicate where to find it ?
I use a Red Hat 8.0 system. I checked the FAQ which says readline-devel
is also needed, but I have it already installed. Perhaps should I add
the configure
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
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
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 May 07
3
how to order a dataframe ?
Hi,
I've got a problem which seemed simple to me at first view, but which I
haven't managed to solve yet. I have a dataframe, or a matrix, and I
would like to order it along with one of the variables/columns. I tried
to use order() but it remained quite unclear to me. How should I proceed ?
Thanks in advance (I guess that's not very difficult a question for most
of you)
Laurent
2003 Jul 23
1
S3 and S4 classes
Hi helpers,
I've been programming in R for a few months now but I still have doubts
about my code - I would like it to be completely S4-compatible. The
current code works fine but is probably 'unclean'.
I read the interesting article in the last R News and it helped me
understand the difference on the whole between S3 and S4 classes, but I
need a practical example. Could anyone
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
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
2003 Aug 19
2
R-1.7.1 gets installed without default packages & without readline
Hi all,
Trying to install R-1.7.1 on a RedHat 8.0 platform, I have a few problems.
R gets installed without default packages (but base and ctest) : make
script fails at the end of the procedure (configure is made
successfully). This is the (translated) log I have :
/gcc -I../../../../include /usr/include/mysql -D__NO_MATH_INLINES
-mieee-fp -fPIC -g -O2 -c ansari.c -o ansari.o
gcc: cannot
2003 Sep 26
1
installation : make fails (R-1.7.1 on RedHat 8.0)
Hi,
I'm trying to compile R-1.7.1 from source (on a RedHat 8.0) instead of
using the binary version, as it has often been advised.
However I don't manage to find a solution to the following error which
occurs during the make procedure :
/!\-------------------------------------------/!\
building package 'ctest'
mkdir -p -- ../../../library/ctest/R
mkdir -p --
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
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