

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


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")


I tried a different CRAN mirror for my installation. Look at this solution > Problems with installing and loading ggplot2 in the RStudio Community and explained in a case study by a UK techwriter https://cheapessaywriter.co.uk/ online help.
Login to add comment