Skip to content
Prev 5936 / 63462 Next

String Length Limit (PR#1040)

Full_Name: Antonio Possolo
Version: 1.3.0
OS: Linux
Submission from: (NULL) (192.35.44.3)


If one attempts to read a character string from a file using scan,
and the string comprises more than 8190 characters, then the string
is truncated to this length, and no warning is issued.

I've observed this both in the Linux and Win implementations of R 1.3.0.
S-PLUS (v. 6.0 rel. 1 for Sun SPARC0 does not suffer from this behavior. 

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._