Displaying 3 results from an estimated 3 matches for "rctest".
Did you mean:
ctest
1999 Apr 25
1
Neophyte question re using dyn.load and accessing c functions
I'm have what's probably a trivial &| silly problem trying to access a
c-function in a shared
library ( R 0.64, under redhat linux 5.2).
R COMPILE rctest.c
R SHLIB -o libRC.so rctest.o
produce a reasonable looking shared library ('nm libRC.so' shows that
the function 'rctest' is present).
In R, the command
dyn.load("/fullpathname/libRC.so")
returns without an error. However, I'm unable to access the functio...
2010 Feb 18
3
R CMD check: OK in LINUX. Crashes in Windows!
Hi,
I have followed the recommended steps for creating a package (rctest). As of
now, my goal is simply to understand how various pieces fit together. The
package includes:
(1) C code with source in sub-directories, compiled to create a static
library.
(a) There is a single C-struct (dns) a simple 'matrix': {int m; int n;
double *d;}
(b) C code to create random...
2002 Oct 22
0
dyn.load()
...$minor
[1] "5.1"
$year
[1] "2002"
$month
[1] "06"
$day
[1] "17"
$language
[1] "R"
on UNIX:
> uname -a
SunOS amtss014 5.8 Generic_108528-01 sun4u sparc SUNW,Ultra-Enterprise
I compiled the shared library as follows:
cc -o libRClib.so -G RCtest.c \
-I${SYBASE}/embeddedsql/include \
-I${FIRAS_INCLUDE} \
-L${SYBASE}/embeddedsql/lib -L${FIRAS_LIB} \
-ldl -lct -lcs -ltcl -lcomn -lintl -lnsl \
-lmm_infc -lmm_fc -lm
I tried different orderings for the included libraries; to no avail.
I also used the shared library from a test programme. It...