[R] Help making a simple R code only package

Jason Turner jasont at indigoindustrial.co.nz
Mon May 3 02:24:03 CEST 2004


Stephen Pavlik wrote:
> Hello,
> I am new to R and I am trying to figure out how to build and install a
> package with nothing but R code inside. I have run 'package.skeleton' to
> get the basic structure. 
> 
> When I run 'Rcmd INSTALL testPackage' I get this error message:
> 
> make: *** No rule to make target `Files/R/rw1080'.  Stop.
> *** Installation of testPackage failed ***
> 

Spaces aren't allowed in the directory where you're building the 
package.  Create a separate directory with no spaces in the name, and 
build there (e.g. c:\MyPackages\...).  It says so in README.packages.

Interestingly, you missed this appearing on the list by about 12 hours.

Cheers

Jason




More information about the R-help mailing list