Skip to content
Prev 257895 / 398506 Next

Question on Import

On 04/25/2011 05:58 PM, Georgina Salazar wrote:
Try

read.delim("ken_data_try_anova")

If that doesn't work, turn off the "Hide extensions for known file 
types" option in Windows Explorer and find out what the extension for
this file is.
The single backslash doesn't work as a path delimiter in R. Try:

data<-as.matrix(read.table("C:\\Users\\gtsalazar1979\\Documents\\TANOVA_1.0.0\\10423nad.txt"))

or

data<-as.matrix(read.table("C:/Users/gtsalazar1979/Documents/TANOVA_1.0.0/10423nad.txt"))

That is, replace the backslashes with forward slashes (and don't forget 
the quotes)
Jim