Download of package "ggplot2" failed

Hi,
I cannot download the package "ggplot2". The error message that I have received is:

There is a binary version available but the source version is later:
binary source needs_compilation
Rcpp 1.0.4 1.0.4.6 TRUE

Please kindly help how could I resolve this.
Thank you very much!
Best, Svita

Hi Svita,

This isn't an error message, it should ask you at that point if you want to compile from source. If you say Yes, you'll need to have your machine set up to compile packages. What this entails differs depending on OS, but there are brief instructions here:

If you say no, it should download the binaries from CRAN.

Hi Svita,

There's nothing special in RStudio for entering those, you do so as you normally would write text on your keyboard. So, for the caret, ^, that's Shift + 6 on a US International keyboard layout (see image of layout, below).
https://images.app.goo.gl/YSL48PWxMbSF1APc7

Understood. Thank you!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

Thank you very much Mara. It helped me! Could you please kindly tell me how I enter special characters like ^ or } in the RStudio? I started to learn R few days ago and do not know many basic things.

Thank you in advance.
Best regards,
Svita