Dear all, I'm importing some data (with read.table, file ".txt") but I have some problem: R truncates my numeric data at 2 digits during the importation... It's the first time that I see that. Thanks for an answer. David
Pinaud David <puffin at cebc.cnrs.fr> writes:> I'm importing some data (with read.table, file ".txt") but I have some > problem: R truncates my numeric data at 2 digits during the > importation... It's the first time that I see that.Are you sure that R is truncating the data itself or just truncating the printed representation of the data? The value that is printed is truncated according to the setting of the "digits" option. Use the dput function to check on the actual value that is stored. For example> pi[1] 3.141593> dput(pi)3.14159265358979