How to change the default time zone in R? February 26, 2023 by Tarik Another way to do it, without changing the whole computer time is using the setenv command like this : Sys.setenv(TZ='GMT')