The downloaded source packages are in
‘C:\Users\bjohnso3\AppData\Local\Temp\Rtmpu4XfWZ\downloaded_packages’
Warning message:
In utils::install.packages("ggplot2") : installation of package ‘ggplot2’ had non-zero exit status
Hi, welcome to the forum.
Can you tell us what your OS asd RStudio velsios are?
Also would you supply us with the output of
sessionInfo()
Also, I can think of two R packages, {pak} and {pacman} that are intended to help facilitate smooth package installation. You might want to install one or both and see if either helps.
Many thanks for this--- I had uninstalled and reinstalled RStudio multiple times without it working--- Turned out I had to (re)install R first, then RStudio. I'm all set now. Thank you again!