[Rd] path to rtools not updated in R 4.2.3 - line 1: gcc: command not found
Tomas Kalibera
tom@@@k@||ber@ @end|ng |rom gm@||@com
Wed Apr 5 08:27:27 CEST 2023
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 using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
More information about the R-devel
mailing list