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

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to