[R] Help with Building an R Package in Windows

Ellen Connell connelle at si.edu
Fri Jun 18 23:42:23 CEST 2004


Hello R Helpers!

I'm a windows user who is trying to compile a package that was sent to me by a Mac user.  The file was of type .tar.gz, I extracted its elements and saved them to my R directory and then followed all of the steps towards building a package found in the readme.packages file of R, ie. installing the tools.  

However, I get errors in the command prompt.  The readme.packages file lists 2 approaches.  Both ways I get the same error 1.  using one of 2 commands: when I try: R CMD INSTALL package, I get the error - " 'R' is not recognized as an internal or external command, operable program or batch file."  2. or when I try: make pkg-mypkg, I get the same error (" 'make'  is not recognized as an internal or external command, operable program or batch file.")  

So my conclusions were that the computer wasn't able to recognize make.exe (one of the tools that I'd downloaded, installed and put into my R directory).   Could anyone suggest further steps?




More information about the R-help mailing list