From tom@@@k@||ber@ @end|ng |rom gm@||@com  Wed Apr  5 08:27:27 2023
From: tom@@@k@||ber@ @end|ng |rom gm@||@com (Tomas Kalibera)
Date: Wed, 5 Apr 2023 08:27:27 +0200
Subject: [Rd] 
 path to rtools not updated in R 4.2.3 - line 1: gcc: command
 not found
In-Reply-To: <ba9b7201-fe6a-baed-6108-fc26529dd019@univ-fcomte.fr>
References: <ba9b7201-fe6a-baed-6108-fc26529dd019@univ-fcomte.fr>
Message-ID: <34bf89ad-0fe2-5187-fc59-8b0676e2634a@gmail.com>


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



[Rd] path to rtools not updated in R 4.2.3 - line 1: gcc: command not found
Tomas Kalibera