ct than POSIXlt?
Jeff
-Original Message-
From: Rui Barradas
Sent: Tuesday, July 21, 2020 5:58 AM
To: reichm...@sbcglobal.net
Subject: Re: [R] Creating xts objects from csv file
Hello,
Why it didn't work I don't know but the opposite happens to me, I rarely use
as.POSIXlt.
This is
t
> objects.
>
>Jeff
>
>
> -Original Message-----
> From: Joshua Ulrich
> Sent: Tuesday, July 21, 2020 9:28 AM
> To: reichm...@sbcglobal.net
> Cc: R-Help
> Subject: Re: [R] Creating xts objects from csv file
>
> Your example works for me. Can you
Your example works for me. Can you provide a sample of the CSV you're
trying to read, and the commands you use to read it? The output of
sessionInfo() might also be helpful.
On Mon, Jul 20, 2020 at 3:42 PM Jeff Reichman wrote:
>
> R-Help Forum
>
>
>
> Starting to work with xts objects but can't
Are you sure you loaded the xts library?
On Mon, 20 Jul 2020 at 16:32, Jeff Reichman wrote:
> R-Help Forum
>
>
>
> Starting to work with xts objects but can't figure out what I'm doing wrong
> when converting *.csv file with a dtg variable to a *.xts object. When I'm
> converting to an appropria
Might this be related to the stringsAsfactors change? -- the new default is
FALSE, the old was TRUE.
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Mon, Jul 20
Hello,
I cannot reproduce the error, your code runs as expected. Try as.POSIXct?
Hope this helps,
Rui Barradas
Às 21:32 de 20/07/2020, Jeff Reichman escreveu:
R-Help Forum
Starting to work with xts objects but can't figure out what I'm doing wrong
when converting *.csv file with a dtg v
R-Help Forum
Starting to work with xts objects but can't figure out what I'm doing wrong
when converting *.csv file with a dtg variable to a *.xts object. When I'm
converting to an appropriate time object all I get are NA, so that's my
first issue.
dtg <- c("1/5/2010 2:30", "1/5/2010 10:32"
R-Help Forum
Starting to work with xts objects but can't figure out what I'm doing wrong
when converting *.csv file with a dtg variable to a *.xts object. When I'm
converting to an appropriate time object all I get are NA, so that's my
first issue.
dtg <- c("1/5/2010 2:30", "1/5/2010 10:32"
8 matches
Mail list logo