I would like to thank Nick Locantore who suggested a solution that worked
for me:
> I had run into a similar problem recently. The solution (with a
>hint from Insightful support), was to change the time.out.format option. I
>had to modify their suggestion slightly to get the mm/dd/yyyy format. This
>.First function should do the trick.
>
>.First <- function()
> {
> ## ---------------------------------------
> ## Change time.out.format option to import
> ## times as "mm/dd/yyyy"
> ## ---------------------------------------
> options(time.out.format="%02m/%02d/%Y")
> invisible()
> }
>
>Hope this helps,
>Nick Locantore
>
>-----Original Message-----
>Subject: [S] general settings question
>Could you, please, advise me how to set default format of the date:
>in Options/General Settings menu, Data tab, I choose date format as
>mm/dd/yyyy every time I start S+, but for some reasons S+ does not remember
>it and I cannot find the way to automate it (perhaps, in .First function ?)
>I am using S+ 6.0 professional, NT, release 2
|