[R] packages install dependencies

mail.bioinfo at fr.netgrs.com mail.bioinfo at fr.netgrs.com
Tue Apr 17 10:57:28 CEST 2012


Hi Uwe

Thanks for your answer.

I tried to install the packages "marginalmodelplots_0.4.2.tar.gz" from a local repository "/home/bioadm/install/R_packages/120416/" using your suggestion (i.e. install.packages(...., contriburl="/home/joel/RPacks"))

I paste below the command 

install.packages("/home/bioadm/install/R_packages/120416/marginalmodelplots_0.4.2.tar.gz", repos=NULL, dependencies= TRUE, type="source", contriburl="/home/bioadm/install/R_packages/120416/")

Warning: unable to access index for repository /home/bioadm/install/R_packages/120416/
Warning message: In install.packages("/home/bioadm/install/R_packages/120416/marginalmodelplots_0.4.2.tar.gz",  :
  package â/home/bioadm/install/R_packages/120416/marginalmodelplots_0.4.2.tar.gzâ is not available


For info this package depends of the "locfit" package.

What should I do ?

Thanks in advance

Joël Masciocchi

 

-----Message d'origine-----
De : Uwe Ligges [mailto:ligges at statistik.tu-dortmund.de] 
Envoyé : lundi 16 avril 2012 19:06
À : <FRsr BioInfo
Cc : r-help at r-project.org
Objet : Re: [R] packages install dependencies



On 16.04.2012 15:41, mail.bioinfo at fr.netgrs.com wrote:
> Hello R-Members
>
>
>
> I have to install several R packages on a Unix server which doesn't have internet connection.
>
> I downloaded some packages manually and I installed it from source using the command R CMD INSTALL and it's work but in some cases I can't install the package because of the dependencies.
>
>
>
> So I download all the R packages into a directory for example /home/joel/RPacks.
>
>
>
> Is it possible to configure the R commands (i.e. CMD INSTALL command or install.packages() function) in order that R looks for dependencies in my repository.


install.packages(...., contriburl="/home/joel/RPacks")

Uwe Ligges


>
>
>
> Thanks in advance,
>
> Best Regards - Cordialement,
>
> Joël
>
> -----------------------------------------------------------------------
>
> Joel Masciocchi
>
> Bioinformatician
>
> Informatics Department
>
> Institut de Recherches SERVIER (I.d.R.S)
>
> 125, chemin de Ronde
>
> 78290 CROISSY-SUR-SEINE - FRANCE
>
>
>
>
>
>
> 	[[alternative HTML version deleted]]
>
>
>
>
> ______________________________________________
> R-help at 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.



More information about the R-help mailing list