Strange locale problems in R after update to Mojave

Does this happen both in Vanilla R and in RStudio, or only in RStudio?
(see FAQ below for disambiguation)