![]() Like ‘.Library’, the site libraries are always included by ‘.libPaths()’. This location can be overridden by setting 21 ‘.Library.site’ in R_HOME/etc/Rprofile.site, or (not recommended) by setting the environment variable R_LIBS_SITE. R will automatically make use of a site-specific library R_HOME/site-library if this exists (it does not in a vanilla R installation). At the lowest level ‘.libPaths()’ can be used to add paths to the collection of libraries or to report the current collection. Both sites and users can create others and make use of them (or not) in an R session. R comes with a single library, R_HOME/library which is the value of the R object ‘.Library’ containing the standard and recommended 20 packages. R packages are installed into libraries, which are directories in the file system containing a subdirectory for each package installed there. But it can also be used to customize R, e.g. for class use. Setting R_DEFAULT_PACKAGES=NULL ensures that only package base is loaded.Ĭhanging the set of default packages is normally used to reduce the set for speed when scripting: in particular not using methods will reduce the start-up time by a factor of up to two (and this is done by Rscript). It is initially set to the value of the environment variable R_DEFAULT_PACKAGES if set (as a comma-separated list). Install gfortran r dinwos code#(plus, of course, base) and this can be changed by setting the option in startup code (e.g. in ~/.Rprofile). "datasets" "utils" "grDevices" "graphics" "stats" "methods"
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |