[R] Package Building help

Dirk Eddelbuettel edd at debian.org
Tue Sep 25 04:08:08 CEST 2007


On 24 September 2007 at 21:28, Patrick Richardson wrote:
| I've used package.skeleton to build my package and am trying to check it
| using R CMD check "." But can't seem to get anything to work.  When I try to
| enter the R CMD command into R I get this message.
| 
|  
| 
| R CMD check estpkg
| 
| Error: syntax error, unexpected SYMBOL, expecting '\n' or ';' in "R CMD"
| 
|  
| 
| I'm not sure if I'm using the wrong syntax or what but I can't get R CMD to
| check my package from within R.  I've tried to use Rcmd in the /bin folder

Use the source() function from inside R to read the file, and have R parse
it.  Recent versions of R give you the line number of the offending
expression.

Hth, Dirk

-- 
Three out of two people have difficulties with fractions.



More information about the R-help mailing list