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. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.