Patrick Giraudoux
2023-Apr-05 05:48 UTC
[Rd] path to rtools not updated in R 4.2.3 - line 1: gcc: command not found
Dear listers, I have update to rtools43 and, using R 4.2.3 I have been surprised not to be able to compile packages needing compilation when updating. Looks like the path given in gcc? -I"C:/PROGRA~1/R/R-42~1.3/include" -DNDEBUG -DNTIMER -I./SuiteSparse_config -DUSE_FC_LEN_T -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include"???? -O2 -Wall? -std=gnu99 -mfpmath=sse -msse2 -mstackrealign? -c CHMfactor.c -o CHMfactor.o /bin/sh: line 1: gcc: command not found points to rtools42 by defaut I have fixed the issue changing the folder name rtools43 into rtools42, but I wonder wether this is recommandable... [[alternative HTML version deleted]]
Tomas Kalibera
2023-Apr-05 06:27 UTC
[Rd] path to rtools not updated in R 4.2.3 - line 1: gcc: command not found
On 4/5/23 07:48, Patrick Giraudoux wrote:> Dear listers, > > I have update to rtools43 and, using R 4.2.3 I have been surprised not > to be able to compile packages needing compilation when updating. > > Looks like the path given in > > gcc? -I"C:/PROGRA~1/R/R-42~1.3/include" -DNDEBUG -DNTIMER > -I./SuiteSparse_config -DUSE_FC_LEN_T > -I"C:/rtools42/x86_64-w64-mingw32.static.posix/include"???? -O2 -Wall > -std=gnu99 -mfpmath=sse -msse2 -mstackrealign? -c CHMfactor.c -o CHMfactor.o > /bin/sh: line 1: gcc: command not found > > points to rtools42 by defaut > > I have fixed the issue changing the folder name rtools43 into rtools42, > but I wonder wether this is recommandable...You should use Rtools42 with R 4.2.x. Rtools43 is currently for R-devel and R 4.3.0alpha. You can have both Rtools42 and Rtools43 installed on the same machine. Tomas> > > [[alternative HTML version deleted]] > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel
Possibly Parallel Threads
- Unable to compile R 3.1.3 under GCC 4.1.2 (Red Hat 4.1.2-51)
- Help on Installing Matrix Package in Linux (Fedora)
- Problems with installing R packages from source and running C++ in R, even on fresh R installation
- Problem with R using pgi compiler on x86_64
- Problem installing gdb into Rtools42