[R] trouble for building R package in Windows

aminzoll at ece.tamu.edu aminzoll at ece.tamu.edu
Wed Nov 28 23:09:52 CET 2007


Dear All,
I think I have followed everything for building my first R package  
(Downloading Rtools, necessary files in necessary locations, no space  
in path and...). But when in command Prompt I write "Rcmd check  
mypackage" the first few steps are "OK" but then it gives the  
following error:
checking whether package roots can be installed.....ERROR
installation failed
see roots.Rcheck/00install.out for details
and this is the contents of the file:

installing R.css in c:/removethis/R/R2.6.1/bin/roots.Rcheck


---------- Making package roots ------------
   adding build stamp to DESCRIPTION
   making DLL ...
making fifrt.d from fifrt.c
gcc-sjlj  -std=gnu99  -Ic:/removethis/R/R2.6.1/include     -O3 -Wall   
-c fifrt.c -o fifrt.o
windres --preprocessor="gcc-sjlj -E -xc -DRC_INVOKED" -I  
c:/removethis/R/R2.6.1/include  -i roots_res.rc -o roots_res.o
gcc-sjlj  -std=gnu99  -shared -s  -o roots.dll roots.def fifrt.o  
roots_res.o  -Lc:/removethis/R/R2.6.1/bin    -lR
   ... DLL made
   installing DLL
   installing R files
   installing man source files
rm: failed to get attributes of `/': No such file or directory
make[2]: ***  
[c:/removethis/R/R2.6.1/bin/roots.Rcheck/roots/man/roots.Rd.gz] Error 1
make[1]: *** [all] Error 2
make: *** [pkg-roots] Error 2
*** Installation of roots failed ***

Removing 'c:/removethis/R/R2.6.1/bin/roots.Rcheck/roots'


I appreciate any suggestion.
Thank you,

Amin Zollanvari
Genomic Signal Processing Lab.
Texas A&M University,
College Station, Texas



More information about the R-help mailing list