[R] How to get source code of a package

Uwe Ligges ligges at statistik.tu-dortmund.de
Fri Sep 5 09:12:17 CEST 2014



On 05.09.2014 09:01, madhvi.gupta wrote:
> Hi,
> Can anyone tell me how to get  source code of a package of R?

An R package is distributed in form of source code:
Say you want to see the sources of "abc", then go to
http://cran.r-project.org/web/packages/abc/index.html
and download the osurces or use

download.package("abc", "path/to/destination", type="source")

Best,
Uwe Ligges


> I want to integrate elastic search with R if there is any way please let
> me know or give me a direction to do that.
>
> Thanks.
>
> 	[[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