On 04.06.2011 09:37, Petar Milin wrote:
Dear Uwe,
Please, can you help me with this?
I simplified the situation:
I am using Debian testing i386 (also, I have VirtualBox with Win XP on it)
myPackage is the name of the package
and foo.c is in the src/
in NAMESPACE I put:
useDynLib("foo")
export("
Hello Uwe,
No, "foo" is the name of C-file -- "foo.c". Package has different name.
I tried R CMD INSTALL myPackage. And, yes there is a myPackage.so in
src/ folder, but not "foo.so". I got an error message that says:
** help
*** installing help indices
** building package indices ...
** testing
On 03.06.2011 21:46, Petar Milin wrote:
Hello!
I am truing to compile an R-package having c-code. I put foo.c in src/
folder and useDynLib("foo")
Where "foo" is the name of your package, I hope.
Does R CMD INSTALL yourpackage generate a packagename.so (or .dll)? If
so, it is just the useSyn
Hello!
I am truing to compile an R-package having c-code. I put foo.c in src/
folder and useDynLib("foo") in NAMESPACE file. When trying R CMD check,
I got an error message that shared object 'foo' is not found. Then I did
R CMD SHLIB foo.c first. However, after that, I got warnings from R CMD
4 matches
Mail list logo