Matthew Anaka
2009-Dec-01 23:47 UTC
[R] ''system(cmd) : make not found'' error during package install
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 cant seem to find a solution. Heres 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 havent 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 (Im 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. Cheers, Matthew Anaka This communication is intended only for the named recipient and may contain information that is confidential, legally privileged or subject to copyright; the Ludwig Institute for Cancer Research does not waiver any rights if you have received this communication in error. The views expressed in this communication are those of the sender and do not necessarily reflect the views of the Ludwig Institute for Cancer Research. [[alternative HTML version deleted]]
Duncan Murdoch
2009-Dec-02 01:52 UTC
[R] ''system(cmd) : make not found'' error during package install
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
Reasonably Related Threads
- Help needed with configuration giving dict error No such file
- Model/google maps display
- forcing XP clients to use CIFS
- Asterisk introductory talk: Portland, OR USA
- Under Windows, Rgui and Rterm crash if one tries to close the graphic device while identify or locator are running