[R] setting timezone variable permanently...
@k@h@y_e4 @end|ng |rom hotm@||@com
Wed Dec 7 18:15:58 CET 2022
Thanks for the reply. However, the use of usethis package is very handy here: https://stackoverflow.com/questions/49738564/r-set-environment-variable-permanently. How do you compare your solution with that of using usethis package? Which is more effective?
AKSHAY M KULKARNI
From: Marc Girondot <marc_grt using yahoo.fr>
Sent: Wednesday, December 7, 2022 10:39 PM
To: r-help using r-project.org <r-help using r-project.org>; akshay_e4 using hotmail.com <akshay_e4 using hotmail.com>
Subject: Re: [R] setting timezone variable permanently...
You can create a file .Rprofile in your home directory with this command.
Each time you will open R, it will run this command.
Le 07/12/2022 � 17:47, akshay kulkarni a �crit :
> Dear members,
> I am setting the Time zone environment variable by this code:
>> Sys.setenv(TZ = "Asia/Kolkata")
> But I have to run it every time I open a new R session. How do I set it permanently?
> Thanking you,
> Yours sincerely,
> AKSHAY M KULKARNI
> [[alternative HTML version deleted]]
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
[[alternative HTML version deleted]]
More information about the R-help