Hi, I use rpy2 2.0.6, I encountered some errors when I load('mypackage')
within rpy2 by r.source(rfile). Woudl you help me?

The environment variable R_LD_LIBRARY_PATH defined in my $RHOME/etc/ldpaths
is :
${R_LD_LIBRARY_PATH=${R_HOME}/lib:/usr/local/lib:}

I added the path "/usr/local/lib" because when I use library('mypackage') in
the R console, my R package must link some *.so located in "/usr/local/lib".
Now It worked in R console, but not in rpy2. When I load "mypackage" in
rpy2, it raise Exception telling me cannot find some *.so which actually
localed in "/usr/local/lib". So I think maybe rpy2 don't use the
configuration defined in $RHOME/etc/ldpaths.

Would you plan to add R's ldpaths in rpy2? Thanks.

-- 
Guozhu. Wen
mail: guozhu...@gmail.com
douban: http://www.douban.com/people/wentrue/
blog: http://www.wentrue.net/blog/
twitter: https://twitter.com/wentrue
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to