Displaying 1 result from an estimated 1 matches for "lrand".
Did you mean:
land
2002 Jan 18
3
Shared libraries for use with R
...gpetris/
R SHLIB tryit.c
cc -I/export/home/share/R/R-1.4.0/lib/R/include "-I/export/home/gpetris/C" -I/usr/local/include -I/export/home/share/include -KPIC -xO5 -dalign -xlic_lib=sunperf -c tryit.c -o tryit.o
cc -G -o tryit.so tryit.o "-L/export/home/gpetris/lib/SUN/32bit -lutil -lrand" -L/usr/local/lib -L/export/home/share/lib
Compilation finished at Fri Jan 18 12:45:20
So far, so good. But when I dyn.load it in R:
> dyn.load("tryit.so")
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library "/export/home/gpetris/tr...