Error while loading ggplot2

Hello Everyone I'm getting the below error while trying to load load ggplot2.
Request your help with this.

library(ggplot2)
Error: package or namespace load failed for ‘ggplot2’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
namespace ‘ellipsis’ 0.3.1 is already loaded, but >= 0.3.2 is required
In addition: Warning messages:
1: package ‘ggplot2’ was built under R version 4.0.5
2: replacing previous import ‘ellipsis::check_dots_unnamed’ by ‘rlang::check_dots_unnamed’ when loading ‘tibble’
3: replacing previous import ‘ellipsis::check_dots_used’ by ‘rlang::check_dots_used’ when loading ‘tibble’
4: replacing previous import ‘ellipsis::check_dots_empty’ by ‘rlang::check_dots_empty’ when loading ‘tibble’

Try to change the version (for example 4.1.3)

Will this be the new version of Rstudio?

I don't know but yestersay I use this version and I load the package ggplot2 and it ran.

This is asking you to update the ellipsis package

install.packages("ellipsis")

In this case updating R is not mandatory but it wouldn't hurt either

Thank you so much, Its working for me now.

This is the version of R not R studio.

This topic was automatically closed 7 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.