I need help on my rstudio desktop

Please I need help installing tidyverse on my Rstudio desktop application. Been struggling with for more than 13 hours now yet to no avail. I installed the tidyverse package but when I input the library function to see the core tidyverse packages it tells me error. This is what I see:

install.packages("tidyverse")
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:

https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘C:/Users/USER/AppData/Local/R/win-library/4.3’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.3/tidyverse_2.0.0.zip'
Content type 'application/zip' length 430816 bytes (420 KB)
downloaded 420 KB

package ‘tidyverse’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\USER\AppData\Local\Temp\RtmpW0jNUP\downloaded_packages

library(tidyverse)
Error: package or namespace load failed for ‘tidyverse’:
.onAttach failed in attachNamespace() for 'tidyverse', details:
call: NULL
error: package or namespace load failed for ‘ggplot2’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘colorspace’

please I really need help on this WONDERFUL COMMUNITY. I WOULD BE ETERNALLY GRATEFUL FOR IT IS REALLY URGENT!!!

Try

install.packages("colorspace")

then try

library(tidyverse) 

again.

1 Like

yo fam it works now!!!!!! Thanks a billion times!! you are a lifesaver. May GOD ALMIGHTY, OUR FATHER WHO ART IN HEAVEN, YAHWEH, THE KING OF KINGS AND THE LORD OF LORDS, BLESS YOU EXCEEDINGLY!! THANK YOU SOOOOOOO MUCH! YOU ROCK!!!

Please restrain yourself. A few prostrations is sufficient.

I'm glad it worked.

1 Like

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.