Datasets.load: Difference between revisions

Content deleted Content added
improve language
Tags: Visual edit Mobile edit Mobile web edit Advanced mobile edit
clarify example
Tags: Visual edit Mobile edit Mobile web edit Advanced mobile edit
Line 30:
 
== R datasets ==
R functionality is extendible using extensions call R packages. The central place from which to storeinstall packagepackages is the [https://cran.r-project.org/ Central R Archive network] (CRAN). From CRAN, R packages can be installed using the command (here to install datasets.load):
install.packages('datasets.load')
Once installed, R packages can be loaded using the command:
library(datasets.load)
After a package has been loaded, objects available from the package - such as functions and datasets - can be accessed.
 
The available datasets from all the loaded packages can listed using the command:
data()
However, datasets from packages that are not loaded, are not listed. As a result, many R users have access to datasets on their local install that are never used. The '''datasets.load''' packages addresses this by listed all datasets that are in any packages installed (loaded or not loaded).