I couldn't install "ggplot2" in R latest version

Pls help me. I couldn't install "ggplot2" in R latest version. I tried many time so all is lost.

please provide details.
exactly what you tried
exactly the result. if there was error message, then the error message.

1 Like

I agree that you need to provide more details, but I'm taking a guess here--are you having this problem, aka this problem? A bunch of people have been finding that ggplot2 crashes RStudio when they try to work with the newest version of R, 4.1.0.

If that is indeed the problem you're having, you can fix it by installing the preview release of RStudio, as Kevin Ushey says in the Tweet I linked to.

I hope that helps!

1 Like

Many thank all,

I fixed this problem.
So onther problem, in here I saw function:

ggsurvplot(fit_educ,
          pval = TRUE, 
          conf.int = TRUE,
          ggtheme = theme_minimal()) -> p
p$plot + facet_wrap(~ Xeducation)

How can combine into a formular???, pls help me

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

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.