[R] setting timezone variable permanently...
akshay kulkarni
@k@h@y_e4 @end|ng |rom hotm@||@com
Wed Dec 7 18:15:58 CET 2022
Dear Marc,
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?
THanking you,
Yours sincerely,
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.
https://support.posit.co/hc/en-us/articles/360047157094-Managing-R-with-Rprofile-Renviron-Rprofile-site-Renviron-site-rsession-conf-and-repos-conf
Marc
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
> 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.
[[alternative HTML version deleted]]
More information about the R-help
mailing list