On Thu, 05 Jun 2003 23:50:07 -0500, you wrote:
>if(!is.loaded(C.symbol("woa"))) dyn.load(woa.obj) # woa is my file name
>in C
>
>Error message coming like this:
>
>Error in dyn.load(x, as.logical(local), as.logical(now)) :
>unable to load shared library "C:/Program Files/R/rw1070/woa.s
You are trying to load woa.obj, and you are on Windows which should be
looking for a .dll and the error message says woa.so. You say you keep
your .exe in the rw1070 directory.
You are rather confused! dyn.load on Windows loads a DLL file from the
current working directory, *as its help says*.
Sir/Madam,
I am a graduate student in Petroleum Engineering. I have a problem in using
R and hope that you could help in solving that. I have a code in C, which
displays orthogonal arrays when I give number of rows and number of columns
to it. I have another code in R that calls this C code. I