jan5 jan5 - 1 year ago 85
R Question

what is difference between r-base and r-recommended packages

Can anyone please tell me what is the difference between base and recommended packages.

If there is link where base and recommended packages are mentioned please provide the links also

Thank you

Answer Source

The difference actually comes from R Core and the way the R code is organised, for example in the upstream SVN repository.

In src/library/, you have all 'base' packages:

  • base
  • compiler
  • datasets
  • graphics
  • grDevices
  • grid
  • methods,
  • parallel
  • splines
  • stats
  • stats4
  • tcltk
  • utils.

And none of these are on CRAN -- they only exist as part of 'base R'.

And you have a directory src/library/Recommended which by default is empty, but can be filled by using a helper script (tools/rsync-recommended) to get the list of Recommended packages off CRAN from a special (versioned) directory. For 2.14.2, it is CRAN/src/contrib/2.14.2/Recommended/ (with the CRAN part being your default mirror). It contains

  • KernSmooth
  • MASS
  • Matrix
  • boot
  • class
  • cluster
  • codetools
  • foreign
  • lattice
  • mgcv
  • nlme
  • nnet
  • rpart
  • spatial
  • survival

Edit 2016-09-06: Added utils to first set.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download