[R] Problem with rcmd SHLIB

2010-03-11 Thread denise xifaras
Hi all, I am trying to call a C function from R (version 2.10.1) on a windows machine. The C code is in a .c file, I have pasted the code below although I'm very confident that it does not contain any errors (it is not my code), but also, the problem that I have occurs with every .c file that

Re: [R] Problem with rcmd SHLIB

2010-03-11 Thread stephenb
I have never got it working with rcmd SHLIB. it is much easier to create a shared library separately with the C compiler and then load it with dyn.load the makefiles for SHLIB are quite big and going through them will give you a headache, so just use the flag for a dll when you compile. -- View

Re: [R] Problem with rcmd SHLIB

2010-03-11 Thread Duncan Murdoch
On 11/03/2010 10:57 AM, denise xifaras wrote: Hi all, I am trying to call a C function from R (version 2.10.1) on a windows machine. The C code is in a .c file, I have pasted the code below although I'm very confident that it does not contain any errors (it is not my code), but also, the

Re: [R] Problem with rcmd SHLIB

2010-03-11 Thread denise xifaras
...@stats.uwo.ca Subject: Re: [R] Problem with rcmd SHLIB To: denise xifaras denisexifa...@yahoo.com Cc: r-help@r-project.org Date: Thursday, March 11, 2010, 8:03 AM On 11/03/2010 10:57 AM, denise xifaras wrote: Hi all, I am trying to call a C function from R (version 2.10.1) on a windows machine