[R] RSPython

From: Juan Pablo Romero <jpablo.romero_at_gmail.com>
Date: Tue 22 Mar 2005 - 05:33:54 EST


Hello

I'd like to try RSPython, but can't make it work.

I think I followed all the instructions, and made this shell script to load python:



#!/bin/sh
export R_HOME=/usr/local/lib/R
export PYTHONPATH=$R_HOME/library/RSPython/Python:$R_HOME/library/RSPython/libs export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$R_HOME/lib python

Now, when I try to 'import RS', this message appears:

>>> import RS

Error in .PythonInit() : Error in Python call: values Error in library("RSPython") : .First.lib failed for 'RSPython' Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/local/lib/R/library/RSPython/Python/RS.py", line 69, in ?     library("RSPython")
  File "/usr/local/lib/R/library/RSPython/Python/RS.py", line 58, in library     return(call("library", name));
  File "/usr/local/lib/R/library/RSPython/Python/RS.py", line 21, in call     return RSInternal.call(name, args, other, convert, ref) RuntimeError: error in calling R: Error in library("RSPython") : .First.lib failed for 'RSPython'
>>>

Perhaps I'm missing some installation step?

Regardas

   Juan Pablo



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue Mar 22 05:43:46 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:52 EST