Hey,
This what is said in the README file:
To install RPy follow the steps:
(a) First of all, you *must* check that you have built R with the configure
option '--enable-R-shlib', in order to make R as a shared library. If
not, the following steps should be enough:
<go to the R source directory>
make distclean
./configure --enable-R-shlib
make
make install
(Solaris users, please, see the note (a) below.)
(b) Then, configure the path to the R library. You have several ways to do
this (substitute RHOME with the path where R is installed, usually
/usr/local/lib/R):
o make a link to RHOME/bin/libR.so in /usr/local/lib or
/usr/lib, then
run 'ldconfig',
o or, put the following line in your .bashrc (or equivalent):
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:RHOME/bin
o or, edit the file /etc/ld.so.conf and add the following line:
RHOME/bin
and then, run 'ldconfig'.
Did you try this? And did you try to load other packages? I can't
reproduce your problem on my own system, so I won't be able to help you
any further I am afraid.
Jorge de Jesus wrote:
> Yes,
>
> library(sp)
>
> in R works fine :-)
>
>
> Sean Davis wrote:
>
>> On 10/4/07, *Jorge de Jesus* <[EMAIL PROTECTED]
>> <mailto:[EMAIL PROTECTED]>> wrote:
>>
>> Hi
>>
>> Yes, everything is OK from inside R, library loading, functions
>> running.
>> Only when calling r.library or r.source (from Python) with the library
>> option is when I have this "problem"
>>
>> I even made some try: exception: in python to ignore the error
>> message,
>> but sp library is never loaded.
>>
>>
>> So, just to be clear, you can start R from the command line and type:
>>
>> library(sp)
>>
>> And everything works fine?
>>
>> Sean
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems? Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >> http://get.splunk.com/
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> rpy-list mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/rpy-list
>>
>>
>
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
rpy-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rpy-list