search for: mypkgnam

Displaying 2 results from an estimated 2 matches for "mypkgnam".

Did you mean: mypkgname
2004 Nov 25
1
R-2.0.1 reinstall non-CRAN pkg
...I have been using them for a while on earlier versions of R, so didn't expect to have any problems. I am probably going about this the wrong way? I simply used R CMD build mypkgdir and then R CMD install mypkgdir.tar.gz the package installs without any error messages. however, library(mypkgname) still generates spiteful Error in library(mypkgname) : 'mypkgname' is not a valid package -- installed < 2.0.0? messages. My apologies if answers to this kind of question have already been posted. I have looked over the archived r-help threads for the last couple of months. Be...
2009 Oct 26
2
R CMD check: Error in .C
Function/file names are hypothetical. Say I have written myfunction.R, which calls myfunction.c via .C("myfunction", ...). I've compiled successfully myfunction.c via R CMD SHLIB myfunction.c in the terminal. Then, in the R console: dyn.load("myfunction.so") source("myfunction.R") test <- myfunction() # works fine So everything is in order, myfunction works