[R] Help with R package

Uwe Ligges ligges at statistik.tu-dortmund.de
Sun Jun 8 15:39:53 CEST 2014



On 07.06.2014 23:34, Milan Bimali wrote:
> Dear R Community,
>    I am in process of developing an R package which in turn depends on a
> package that is not available in CRAN but has to be downloaded from a web
> source (as follows). Could someone guide me on how to include the package
> listed in "Depends" of the Description file. I have the package installed
> in my computer:
>
> Source of Package:
> source(“http://bioconductor.org/biocLite.R”)
> biocLite(“Packagename”)
> library(Packagename)


A user just need to set BioC as a default repository as in

setRepositories()

and then install.package("yourPackage") will also automatically install 
the dependencies from BioC.

Best,
Uwe Ligges



> Thank you in advance,
> Milan
>
> 	[[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