Displaying 1 result from an estimated 1 matches for "testr_funct".
Did you mean:
test_func
2001 Jun 11
2
load C code into R
...ect 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++ cannot recompile test.dll.
But when I try
>testr(10,x)
I get the message ?Error in .C("test...