Displaying 1 result from an estimated 1 matches for "r1022".
Did you mean:
1022
2001 Jun 11
2
load C code into R
...rogramming and the R manual, but I know I am missing some steps.
I created a win32 DLL project in Visual C++ (ver. 6.0). It consists of one
simple routine named test which accepts one *integer argument and one
*double argument and performs a trivial computation. The dll is named
test.dll.
In R1022 for Windows, I run
>dyn.load("d:/programs/library/test/test.dll")
>testr_function(a,x)
.C"d:/programs/library/test/test",as.integer(a),as.double(x))
These are both accepted, and I can use dyn.unload as well with test.dll. I
notice that while loaded, Visual C++ canno...