Ivan Krylov
2023-Sep-04 15:13 UTC
[R] Problems with installing R packages from source and running C++ in R, even on fresh R installation
? Mon, 04 Sep 2023 12:05:38 +0000 Christophe Bousquet <chr_bousquet at 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
Christophe Bousquet
2023-Sep-06 11:07 UTC
[R] Problems with installing R packages from source and running C++ in R, even on fresh R installation
Sent from ProtonMail, encrypted email based in Switzerland. ------- Original Message ------- On Monday, September 4th, 2023 at 17:13, Ivan Krylov <krylov.r00t at gmail.com> wrote:> ? Mon, 04 Sep 2023 12:05:38 +0000 > Christophe Bousquet chr_bousquet at 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, > IvanHi 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, Christophe