Hash(#) Character Handling - Aster R

Teradata Aster® R User GuideUpdate 3

Product
Aster R
Release Number
7.00.02.01
Published
December 2017
Language
English (United States)
Last Update
2018-04-13
dita:mapPath
fop1497542774450.ditamap
dita:ditavalPath
Generic_no_ie_no_tempfilter.ditaval
dita:id
fbp1477004286096
lifecycle
previous
Product Category
Software

The read.table() function uses the number symbol ("#") as a comment character and hence data after "#" is truncated. One way to avoid truncation when using read.table(), which applies to all types, is to turn off the interpretation of comment characters as shown in the this example:

frame<-try(read.table(IN,header=FALSE,sep="\t", quote="",nrows=1,comment.char=""),silent=TRUE)