November 23rd, 2010, 4:19 pm
QuoteSanta <-read.table("IsThereASantaClaus.txt")you just typed in the name of your file.what about your working directory ?you may set your working directory :example : setwd("C:/Users/WilmottForumUser/desktop")you then can open you file :data<-read.table("IsThereASantaClaus.txt")but that very depends on the actual content of your file.in any case, you should specify the way your file is organized and what your data look like using the sep, dec, heade, na.strings keywords.that way you would be sure to open your file properly.édouard