Unable to load "ggplot"

After I have install Tidyverse Packages
install.packages("tidyverse")
library(tidyverse)
library(lubridate)

This is what is showing me when I load data I want to with to load ggplot
(could not find function "ggplot")
Am using R version 4.4.1

1 Like

Try:

install.packages("ggplot2")
1 Like

Thanks it worked. Appreciate

In addition to this, I install R studio on my PC, but what I run it it just displaying the symbol R . Have uninstalled/ reinstalled many times even restart my pc

Try running the RStudio command from a command prompt and see if you get any error messages.

1 Like

Yes, I get the error message below
[10696:0902/152057.679:ERROR:network_service_instance_impl.cc(601)] Network service crashed, restarting service.
[10612:0902/152109.989:ERROR:cache_util_win.cc(20)] Unable to move the cache: Access is denied. (0x5)
[10612:0902/152110.022:ERROR:disk_cache.cc(208)] Unable to create cache
[10612:0902/152110.023:ERROR:gpu_disk_cache.cc(676)] Gpu Cache Creation failed: -2

Are you running both R and RStudio locally on the PC (meaning both installed on the PC, neither being run on a remote server)? If so, try resetting the RStudio state.

1 Like

It worked. Thank you very much