When I have a csv file that is more than 6 lines long, not including
the header, and one of the fields is blank for the last few lines, and
there is an extra comma on of the lines with the blank field,
read.csv() makes creates an extra line.
I attached an example file; I'll also paste the contents
Hi,
This was surprising to me and does not appear to be documented in
?str. After reading ?strwrap, I see that the problem is that
"Whitespace ... in the input is destroyed". However, I thought I'd
mention it because I'm not sure it is intended behavior for str().
I have a list, and the names o
One work around is to comment out the lines that `scan` reads.
(x <- back2ForwardSlash())
#c:\Users\
all.equal(x, '#c:/Users/')
Or, you could pass a text arg through the dots
(x <- back2ForwardSlash(text="c:\\\users"))
all.equal(x, 'c:/users')
HTH,
Garrett
On Sat, Jun 9, 20