Hello All:

I am having the following data file named "data.dat"

Number of people
Number of pets
Age of trees

ifn   <- "data.dat"
dat <- read.table(ifn)

colnames(dat)<-c("Variables")

I want R to read all these in a string but when I ask R to read these,
it gives me error because there more than one word in each line. Any
comments to solve this problem?

Thanks,
Mohsen

	[[alternative HTML version deleted]]


