1

Closed

Linux - libR.so dir path need to be in the PATH env var

description

R CMD INSTALL rClr_0.7-2.tar.gz
if /usr/lib is not added to the PATH
Assembly '/home/per202/R/rClr/libs/ClrFacade.dll' doesn't have an entry point.
Error : .onLoad failed in loadNamespace() for 'rClr', details:
  call: clrCallStatic("Rclr.RDotNetDataConverter", "SetRDotNet", setit)
  error: Type:    System.DllNotFoundException
Message: Could not find the file: libR.so on the search path.  Checked these directories:
 
/home/per202/bin
/usr/local/bin
/usr/bin
/bin
/usr/local/games
/usr/games
Method:  IntPtr InternalLoadLibrary(System.String)
This is not a desirable state of affairs. Maybe need to use LD_LIBRARY_PATH. May depend on Linux distro.
Closed Jan 29, 2015 at 5:45 AM by jperraud
Fixed with 0.7.3; this was one of the main purposes of the release.

comments