install.packages(ggplot2) showing error

The name of the package must be quoted and everything will go smoothly like this

> install.packages("ggplot2")
Installing package into ‘/home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0’
(as ‘lib’ is unspecified)
trying URL 'http://package-proxy/src/contrib/ggplot2_3.3.5.tar.gz'
Content type 'application/x-tar' length 4136214 bytes (3.9 MB)
downloaded 3.9 MB

* installing *binary* package ‘ggplot2’ ...
* DONE (ggplot2)

The downloaded source packages are in

If you get a different outcome, please post the complete error message you get.

1 Like

I want to import external .csv file in the R Studio, but when I go through the File and import data set, it is not browsing desktop where I have installed required .csv files. Pls suggest where I am going wrong.

That is a different problem, we like to keep things tidy around here so please ask it on a new topic providing a relevant REPRoducible EXample (reprex) illustrating your issue.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.