0
Installation Package like mass, ggplot2 are not installed

Dear madam/sir, R tool installed but after Rstudio installed package is not correctly.

Please suggestion. Which time Open the class start madam.

> installed.packages("MASS")
Package LibPath Version Priority Depends Imports
LinkingTo Suggests Enhances License License_is_FOSS
License_restricts_use OS_type Archs MD5sum
NeedsCompilation Built
> installed.packages("ggplot2")
Package LibPath Version Priority Depends Imports
LinkingTo Suggests Enhances License License_is_FOSS
License_restricts_use OS_type Archs MD5sum
NeedsCompilation Built

Thanks


R 19-04-20, 10:11 a.m. D.JOTHI
0

Instead of using the function "installed.packages()", use the function "install.packages()" for installing any package in R. For example, instead of writing "installed.packages("ggplot2")", write "install.packages("ggplot2")".

To avoid any issue with package installation in the future kindly do the following -

1) Install the latest version of "Rtools" from here - https://cran.r-project.org/bin/windows/Rtools/

2) Also, install "devtools" package by executing the following command - install.packages("devtools")

21-04-20, 3:05 p.m. chrl3hr5


Log-in to answer to this question.