Riddick [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 4:52 PM
Subject: Re: [R] scan() Bug?
On Thu, 22 Jan 2004, Greg Riddick wrote:
I'm reading a file into a list by:
PDF = scan(file,what=character,sep=\10)
\10 is the newline character in this file, also
Greg Riddick [EMAIL PROTECTED] writes:
Works fine now...though I have noticed that the sep character that actually
gets written to the file is -2 the value specified.
So I wanted \10 and needed to specify \12 to get it. Am I doing something
wrong here?
Just overlooking that such codes are
I'm reading a file into a list by:
PDF = scan(file,what=character,sep=\10)
\10 is the newline character in this file, also tried \n originally
On lines that are ended by \13\10, both are dropped from the list entry
I want scan to keep the \13 in the list entry.
Is this a bug or just a strange
On Thu, 22 Jan 2004, Greg Riddick wrote:
I'm reading a file into a list by:
PDF = scan(file,what=character,sep=\10)
\10 is the newline character in this file, also tried \n originally
On lines that are ended by \13\10, both are dropped from the list entry
I want scan to keep the \13 in
Thanks,
Right, I can see why sep=\n might grab the entire \13\10 but it seems
like sep=\10 should not strip the \13 also.
I need to read in this file (PDF file) and create a list of lines defined by
the \10 delimiter.
Any suggestions how I could use ReadBin to do that?
Not a strange
On Thu, 22 Jan 2004, Greg Riddick wrote:
Thanks,
Right, I can see why sep=\n might grab the entire \13\10 but it seems
like sep=\10 should not strip the \13 also.
Why do you claim so? Text mode is *documented* to use any of CR, CRLF or
LF as the line delimiter. Please don't keep telling