[R] ''system(cmd) : make not found'' error during package install

Duncan Murdoch murdoch at stats.uwo.ca
Wed Dec 2 02:52:59 CET 2009


Matthew Anaka wrote:
> Hello,
>     I've been using various packages in R for a few years now to analyse genomics data but I've just come up with some errors for which I canÂ’t seem to find a solution. HereÂ’s the situation:
>
>
>   
>> source("http://harlequin.jax.org/rmodel/packages/downloadRmodel.R")
>> getRmodelHuman()
>>     
> also installing the dependency ‘rmodel’
>
> trying URL 'http://harlequin.jax.org/rmodel/packages//rmodel_1.0.36.tar.gz'
> Content type 'application/x-gzip' length 10238618 bytes (9.8 Mb)
> opened URL
> downloaded 9.8 Mb
>
> trying URL 'http://harlequin.jax.org/rmodel/packages//hgfocusrmodelcdf_1.3.tar.gz'
> Content type 'application/x-gzip' length 2581708 bytes (2.5 Mb)
> opened URL
> downloaded 2.5 Mb
>
> * installing *source* package 'rmodel' ...
> ** libs
>   making DLL ...
> Warning in system(cmd) : make not found
>   ... done
> ERROR: compilation failed for package 'rmodel'
> * removing 'C:/PROGRA~1/R/R-210~1.0/library/rmodel'
> * installing *source* package 'hgfocusrmodelcdf' ...
> ** R
> ** data
> ** preparing package for lazy loading
> ** help
> *** installing help indices
> ** building package indices ...
> ** MD5 sums
> * DONE (hgfocusrmodelcdf)
>
> The downloaded packages are in
>         ‘C:\Documents and Settings\localuser\Local Settings\Temp\RtmpjuG3ea\downloaded_packages’
> Warning messages:
> 1: In install.packages(pkgs = "hgfocusrmodelcdf", contriburl = server,  :
>   installation of package 'rmodel' had non-zero exit status
>
>
> Of course if I try to load the package afterwards:
>   
>> library(rmodel)
>>     
> Error in library(rmodel) : there is no package called 'rmodel'
>
> I haven’t had any luck with reading other mailing lists or searching google for how to deal with this system(cmd) error, or the issue of ‘non-zero exit status’ in a non-linux environment (I’m running R on windows).
>
> Any help would be greatly appreciated; my apology if this is not the correct forum to ask this sort of questions.
You are trying to install a source package, and you're missing the tools 
to compile it (or don't have them set up properly). See the Installation 
and Administration manual, or my web site www.murdoch-sutherland.com/Rtools.

Duncan Murdoch




More information about the R-help mailing list