Message-ID: <88CFCB4B-A33A-454B-B4E9-FA954024F947@dcn.davis.ca.us>
Date: 2019-01-26T22:44:44Z
From: Jeff Newmiller
Subject: TIme Zone error
In-Reply-To: <CA+dpOJnxUtmzLTQA9y=hNoNtZUUpjsCvLbSim1JAKn_UTuVUmw@mail.gmail.com>
Read the help file
?as.POSIXct
"" as time zone is not an error.
On January 26, 2019 1:15:21 PM PST, Christofer Bogaso <bogaso.christofer at gmail.com> wrote:
>Hi,
>
>I want to set a specific Timezone for my R environment, with below
>syntax:
>
>> Sys.getenv("Asia/Calcutta")
>
>[1] ""
>
>>
>But it sets to some blank timezone.
>
>I checked with OlsonNames(), to see available zones for R, where I
>found
>"Asia/Calcutta" available.
>
>I idea why R failed to set timezone properly?
>
>Thanks for your time.
>
> [[alternative HTML version deleted]]
>
>______________________________________________
>R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide
>http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.
--
Sent from my phone. Please excuse my brevity.