Hello
Don,
my
workaround is to add this line in the Run configurations -> Tab R Console -> R snippet run after startup
Sys.setenv(R_SHARE_DIR
= "C:\\Program Files\\Microsoft\\R Open\\R-3.5.3\\share")
Hope
this helps!
Marco
Von: statet-users-bounces@xxxxxxxxxxx [mailto:statet-users-bounces@xxxxxxxxxxx]
Im Auftrag von dbrady@xxxxxxxxx
Gesendet: Freitag, 5. Juli 2019 01:55
An: 'Statet user discussions'
Betreff: [EXTERN] Re: [statet-users] [EXTERN] Re: timezone warnings / OlsonNames
Has anyone figured out a bypass for this yet?
I could not find a way of setting environment variables to correct this.
I am having to litter my code with suppressWarnings() all over the place.
I would like to express my gratitude for the overall quality of the new release, and for the fix for the data viewer corruption.
The fix for that in https://download.eclipse.org/statet/integration/latest/E201812
works perfectly, leaving the timezone warnings as the only issue for me.
Thanks!
Hello all,
It seems that the timezone warnings occur because R.home("share") points to the /doc subdirectory and not the /share directory (on
my machine?, Windows 7, eclipse 2018-12, Statet 4.0, R 3.5.3)
In the R console I get:
> R.home("share")
[1] "C:\\Program Files\\R\\R-3.5.3\\doc"
and in the Rgui window I get the correct output:
> R.home("share")
[1] "C:/PROGRA~1/R/R-35~1.3/share"
Kind regards,
Marco
I got the
unknown timezone 'GMT'
messages also, again on StatET 4.0
They went away after a while, and I no longer get them, consistent I guess with what you say that it occurs on first-time loading.
This is on an unchanged version 3.5.0 of R. The same message did not occur on StatET 3.5, although I suppose it could be possible that it mayhave happened a long time ago and I have forgotten, since I am using a saved R image (which I have carried over still).
Hello,
when I load an object of class „date“ or „POSIXct“ for the first time, when I started a R Console I get timezone warnings:
R version 3.5.3 (2019-03-11) -- "Great Truth"
…
Microsoft R Open 3.5.3
The enhanced R distribution from Microsoft
Microsoft packages Copyright (C) 2019 Microsoft Corporation
Using the Intel MKL for parallel mathematical computing (using 2 cores).
Default CRAN mirror snapshot taken on 2019-04-15.
See:
https://mran.microsoft.com/.
> Sys.time()
[1] "2019-06-20 10:16:00 GMT"
Warning messages:
1: In as.POSIXlt.POSIXct(x, tz) : unknown timezone 'Europe/Berlin'
2: In as.POSIXlt.POSIXct(x, tz) : unknown timezone 'GMT'
3: In as.POSIXlt.POSIXct(x, tz) : unknown timezone 'America/New_York'
> Sys.time()
[1] "2019-06-20 10:16:30 GMT"
>
I don’t get the warnings when I start a RGui Console
…
> Sys.time()
[1] "2019-06-20 12:13:08 CEST"
>
Also OlsonNames() returns
> OlsonNames()
character(0)
in the StatET R Console. I use Windows 7, eclipse 2018-12, StatET build 4.0.1201906071849
Does anyone know how I can fix this?
Kind regards,
Marco