s-news
[Top] [All Lists]

Re: general settings question

To: s-news@lists.biostat.wustl.edu, Nick Locantore <nick@Waratah.com>
Subject: Re: general settings question
From: Leonid Gibiansky <lgibiansky@emmes.com>
Date: Fri, 30 Aug 2002 11:25:04 -0400
In-reply-to: <B5E9E2B78CD2D2118DDE00104B66A967370732@WARATAHINTERNET>
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


<Prev in Thread] Current Thread [Next in Thread>