Packages
Before we start installing and loading packages, lets have a look how to view all the available packages.
Browse packages
Assign result of available.packages()
function call to packages
variable.
Now we can browse a package details.
In order to display first 3 columns from the first row, use head function.
If you want to browse all the packages in a table, use View function.
Using packages
Before we start using a package, we have to intall it. Use install.packages()
to install a package.
We can also install multiple packages in one line.
We need to load a package before using it. Note that all the dependendent packages will be loaded before the named package is loaded.
Available packages
Run search()
function after you install a package in order to see all the available and loaded packages.
The code above will display the following list of functions in the console:
Package details
Quick information can be obtainedby using citation() function.
More interesting packages
Last updated