Configure timezone in the R kernel
Set the timezone with the TZ environment variable using the preinstalled tzdata Debian package for the R kernel.
Configure timezone
Some R packages may require a timezone to be configured, and running their commands may result in the following error:
running command timedatectl had status 1
To prevent such issues, you can use the tzdata package that is preinstalled the R kernel environment in Datalore:
Specify the desired timezone as an environment variable:
Sys.setenv(TZ = "Europe/Berlin")(Optional) Suppress warnings:
options(warn=-1)
15 December 2025