[R] List of default packages (that come with R)

Gabor Grothendieck ggrothendieck at gmail.com
Tue Mar 19 20:37:16 CET 2013


On Tue, Mar 19, 2013 at 2:36 PM, Saptarshi Guha
<saptarshi.guha at gmail.com> wrote:
> Hello,
>
> Is there an R function that tells me the packages that come with R e.g.
> c("base","boot","methods","mgcv",...)
>

If you use the default configuration of R that makes use of a user
library then this will show the packages that come with R:

.libPaths("")
library()

You may wish to restart a new session after that to reset .libPaths() properly.



More information about the R-help mailing list