Skip to content

read.table() with quoted integers

2 messages · Peter Meilstrup

#
On Tue, Oct 1, 2013 at 5:50 AM, Peter Meilstrup
<peter.meilstrup at gmail.com> wrote:
Additionally, while CSV is a somewhat nebulous format, most attempts
at specifying it are clear that a quoted value, containing no special
characters, is to be treated _identically_ to the unquoted version.
The reason for the quote is to escape special characters which may be
present, not to impart type information. A CSV producing program may
simplify the logic of writing a file by always quoting, whether or not
the field would contain special characters when rendered.

http://www.creativyst.com/Doc/Articles/CSV/CSV01.htm -- "When
importing CSV, do not reach down a layer and try to use the quotes to
impart type information to fields."

Peter