[R] How to install a package that needs to see oher pkg dependencies:

Aldi Kraja aldi at wubios.wustl.edu
Sun Oct 10 05:07:12 CEST 2004


Hi,
I am trying to install the genetics package on a server with Linux, 
Fedora. I installed it in a PC and worked fine.

In a server since I am not used with R, I am not sure what do I need to 
change so genetics pkg can see some package dependencies:
Any suggestion is appreciated, Aldi

Note:
genetics expects gregmisc and mvtnorm to be installed already. gregmisc 
creates gdata etc dependencies.
So here is what I have done:
Retrieved the base R and installed and compiled it with make under :
/users/genetics/aldi/r/R/R-2.0.0

Under it directories:
/mvtnorm
/gregmisc
/genetics
are created.
Installed mvtnorm and gregmisc with no problem, but genetics is not 
recognizing the location of /gregmisc/gdata

The command I am using to install genetics package is the following:
../bin/R CMD ../bin/INSTALL genetics_1.1.0.tar.gz

Here is the problem:

genetics at genxeon1:/users/genetics/aldi/r/R-2.0.0/genetics% ../bin/R CMD 
../bin/INSTALL -l . genetics_1.1.0.tar.gz

* Installing *source* package 'genetics' ...

** R

** data

** inst

** preparing package for lazy loading

Error in loadNamespace(i[[1]], c(lib.loc, .libPaths()), keep.source) :

        There is no package called 'gdata'

Execution halted

ERROR: lazy loading failed for package 'genetics'

genetics at genxeon1:/users/genetics/aldi/r/R-2.0.0/genetics%




More information about the R-help mailing list