From yut@n|@|n| @end|ng |rom gm@||@com  Wed Sep  8 14:08:40 2021
From: yut@n|@|n| @end|ng |rom gm@||@com (Hiroaki Yutani)
Date: Wed, 8 Sep 2021 21:08:40 +0900
Subject: [Rd] Detect UCRT-built R from within R sessions (and in
 configure.win)
Message-ID: <CALyqOb8r7ajAumf5V0+YJk83X091NS2eRCs-cu=X6zO+09z0Rg@mail.gmail.com>

Hi,

Are there any proper ways to know whether the session is running on
the R that is built with the UCRT toolchain or not? Checking if the
encoding is UTF-8 might do the trick, but I'm not sure if it's always
reliable.

Also, I'd like to know if there's any mechanism to detect the UCRT in
configure.win. I know there are Makevars.ucrt and Makefile.ucrt, but
one might want to do some feature test that is specific to the UCRT
toolchain.

Best,
Hiroaki Yutani



[Rd] Detect UCRT-built R from within R sessions (and in configure.win)
Hiroaki Yutani