Categories:
Cloud (204)
Entertainment (11)
Facebook (43)
General (50)
Life (31)
Programming (64)
Technology (430)
Testing (4)
Tools (488)
Twitter (5)
Wearable (26)
Web Design (44)
Collections:
Other Resources:
Install R External Packages
How to Install R External Packages?
✍: FYIcenter.com
R software environment comes with only the standard built-in package.
If you want to use any external packages, you need to install it first
as shown in this tutorial.
1. Start the R Console on your local computer.
2. Try to load the package using the "library()" statement. You see an error.
> library(ggplot2) Error in library(ggplot2) : there is no package called ‘ggplot2’
3. Install the missing package using the "install.packages()" statement. You see a R package mirror site list.
4. Select a mirror site near your location. You see the requested package is downloaded. Any packages required by the requested package are also download.
5. Load the package again. You see no errors.
> library(ggplot2)
Note that you still see errors, you can run the "install.packages()" statement again.
⇐ Install R Software Environment on Windows
2023-07-29, 507🔥, 0💬
Popular Posts:
How to add a hyperlink to connect a keyword to another slide in PowerPoint? I want to have clickable...
Why am I getting the "Spawn Failed: Server at http://127.0.0.1:47353/u ser/fyicenter/didn't respond ...
Where to find tutorials on LibGen (Library Genesis)? Here is a large collection of tutorials to answ...
How do I know what cookies a Website is sending to Mozilla Firefox 2.0? When you are visiting a Webs...
How to unzip a Word Document .docx file? According to Microsoft documentation, a .docx file is reall...