[R] ggplot2 install.package

Ebert,Timothy Aaron tebert @end|ng |rom u||@edu
Tue Oct 11 02:42:03 CEST 2022

Can you please provide us with a copy of the error msg? I have used ggplot2 with R 4.2.1, and probably R 4.2.0 in RStudio on Windows 11 and not had trouble. You might need to update R, or RStudio. R and RStudio need to be compatible versions.


-----Original Message-----
From: R-help <r-help-bounces using r-project.org> On Behalf Of sibylle.stoeckli using gmx.ch
Sent: Monday, October 10, 2022 9:33 AM
To: R-help using r-project.org
Subject: [R] ggplot2 install.package

[External Email]

Dear R members

I am working with RStudio R 4.2.0 and using ggplot2 and gridExtra.

Since some windows updates I get some error when loading  ggplot2.

*       It seems that I am able to install ggplot2. The problem is when
loading ggplot2 with library().
*       Do you have any ideas to solve the problem?

Kind regards



install.packages("ggplot2", dependencies = TRUE)

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


Installiere Paket nach  C:/Users/Sibylle St ckli/AppData/Local/R/win-library/4.2 

(da  lib  nicht spezifiziert)

trying URL

Content type 'application/zip' length 4122980 bytes (3.9 MB)

downloaded 3.9 MB

Paket  ggplot2  erfolgreich ausgepackt und MD5 Summen abgeglichen

Die heruntergeladenen Bin rpakete sind in

St ckli\AppData\Local\Temp\RtmpcBknba\downloaded_packages

Error in nchar(homeDir) : invalid multibyte string, element 1

        [[alternative HTML version deleted]]

More information about the R-help mailing list