Dear James,
Try this:
as.Date('20081121',"%Y%m%d")
[1] "2008-11-21"
HTH,
Jorge
On Thu, Nov 20, 2008 at 9:59 PM, Smith, James (EWLS) <
[EMAIL PROTECTED]> wrote:
> G'day all,
>
>
>
> I have many, very long time series' that come in to R in txt format and
> so the date column is structured:
>
>
G'day all,
I have many, very long time series' that come in to R in txt format and
so the date column is structured:
20081121
I would like them all to look like 2008-11-21 but cannot find any way to
add these characters to all dates in one column in R.
I have way too many files to do it man
2 matches
Mail list logo