[R] Problems with installing R packages from source and running C++ in R, even on fresh R installation

Christophe Bousquet chr_bou@quet @end|ng |rom protonm@||@com
Wed Sep 6 13:07:53 CEST 2023

Sent from ProtonMail, encrypted email based in Switzerland.

------- Original Message -------
On Monday, September 4th, 2023 at 17:13, Ivan Krylov <krylov.r00t using gmail.com> wrote:

> В Mon, 04 Sep 2023 12:05:38 +0000
> Christophe Bousquet chr_bousquet using protonmail.com пишет:
> > I will try compiling R from source when I am back from holidays, and
> > ask you if I need assistance.
> Make sure to compile with DEBUG=1 so that the compiler flags needed to
> emit debugging information will be enabled. Good luck!
> --
> Best regards,
> Ivan

Hi Ivan,

Actually, by getting an answer on another issue concerning updates of Git for Windows, I managed to solve this issue for me.
As can be seen here (https://github.com/git-for-windows/git/issues/4591), both issues were related to a mispecification of my ComSpec environment variable. Its value should be a single path to the cmd.exe file and no semi-columns neither.
With this done, I could also install again R packages from source. However, I am not sure how I ended up messing up this ComSpec variable in the first place :-/
But now it seems to be fixed.

Best regards,

More information about the R-help mailing list