[R] Package Building help

Duncan Murdoch murdoch at stats.uwo.ca
Tue Sep 25 03:36:47 CEST 2007


On 24/09/2007 9:28 PM, Patrick Richardson wrote:
> List,
> 
>  
> 
> 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
> of the R root directory and the DOS windows flashes on my screen and
> disappears immediately.  If someone could help me get over this, I would
> greatly appreciate it.

You need to run this from a console (what you call the "DOS window"). 
Before it will work, you'll need to install a number of tools:  see 
www.murdoch-sutherland.com/Rtools to get them.

Duncan Murdoch
> 
>  
> 
> Cheers,
> 
>  
> 
> Patrick
> 
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at 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.



More information about the R-help mailing list