Dear R-users,
I use unlist of POSIX dates to extract the year, hour etc. With that I
can search for files in my database which are in the form
'mmddhh_synops.txt'
However, I get stucked during midnight where unlist just gives NA's.
The script is given below, the problem accurs at
On Wed, 17 Jan 2007, Hanneke Schuurmans wrote:
Dear R-users,
I use unlist of POSIX dates to extract the year, hour etc. With that I
can search for files in my database which are in the form
'mmddhh_synops.txt'
However, I get stucked during midnight where unlist just gives NA's.
The
Dear R-users,
I use unlist of POSIX dates to extract the year, hour etc. With that I
can search for files in my database which are in the form
'mmddhh_synops.txt'
However, I get stucked during midnight where unlist just gives NA's.
The script is given below; the problem accurs at
[Unstated, but a near repeat of a posting earlier today with the same
subject, in response to unacknowledged help.]
The problem is not with unlist (as in your subject line) but your input to
strptime.
strptime() is intended to convert character strings, and
as.character(acc.period[16])
[1]