[R] Help with strftime error "character string is not in a standard unambiguous format"

2016-09-11 Thread Chris Evans
I am trying to read activity data created by Garmin. It outputs dates like this: "Thu, 25 Aug 2016 6:34 PM" The problem that has stumped me is this: > strftime("Thu, 25 Aug 2016 6:34 PM",format="%a, %d %b %Y %I:%M %p") Error in as.POSIXlt.character(x, tz = tz) : character string is not in a s

Re: [R] digital online identifier (doi) CRAN manual?

2016-09-11 Thread Thierry Onkelinx
Dear Stephen, I use https://zenodo.org/ to get a DOI for a package. E.g. http://dx.doi.org/10.5281/zenodo.48423 Best regards, ir. Thierry Onkelinx Instituut voor natuur- en bosonderzoek / Research Institute for Nature and Forest team Biometrie & Kwaliteitszorg / team Biometrics & Quality Assuran

Re: [R] using a regular expression

2016-09-11 Thread Marco Silva
Excerpts from Glenn Schultz's message of 2016-09-10 19:23:37 +: > I have a file that for basically carries three datasets of differing > lengths.  To make this a single downloadable file the creator of the > file as used both NUL hex00 and space hex20 to normalize the lengths. > > Below is the

Re: [R] using a regular expression

2016-09-11 Thread David Wolfskill
On Sat, Sep 10, 2016 at 07:23:37PM +, Glenn Schultz wrote: > ... > Below is the function that I am writing.  I am using sed to replace the hex > characters.  First, to get past NUL I use sed to replace hex 00 with hex 20.   > This has worked.  Once the Nul is removed and can successfully parse

[R] using a regular expression

2016-09-11 Thread Glenn Schultz
I have a file that for basically carries three datasets of differing lengths.   To make this a single downloadable file the creator of the file as used both NUL hex00 and space hex20 to normalize the lengths. Below is the function that I am writing.  I am using sed to replace the hex characters