[Rd] # symbol in input data (PR#8296)

From: <scanrikpr_at_sbcglobal.net>
Date: Thu 10 Nov 2005 - 05:12:11 GMT


Full_Name: Richard L Lozes
Version: 2.1.1
OS: Win XP
Submission from: (NULL) (69.107.18.35)

"#" appearing in a quoted string in input causes further input of that line to
be ignored.
Can be cured by escaping (i.e., "\#"), but in big data sets it is onerous to find.

# should not be "special" inside a quoted string.

Here is a small input file. Read it with read.csv().

Title1, Title2, cHdr1, cHdr2, cHdr3
"xyz","abc",1.0,2.0,3.0
"xyy","ab#c",4.0,5.0,6.0
"zyx","abc",7.0,8.0,9.0



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu Nov 10 16:17:37 2005

This archive was generated by hypermail 2.1.8 : Mon 20 Feb 2006 - 03:21:33 GMT