7.00.02.01 - Hash(#) Character Handling - Aster R

Teradata Aster® R User GuideUpdate 3

prodname
Aster R
vrm_release
7.00.02.01
created_date
December 2017
category
Programming Reference
User Guide
featnum
B700-1033-700K

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)