Is this what you want? :
test <- read.table("test.txt", header = T, fill = T)
for(i in 1:nrow(test)){
  for(j in 1:ncol(test)) {
    print(test[i,j])
  }
}
2
solved How to access data in R from read.table
 
Is this what you want? :
test <- read.table("test.txt", header = T, fill = T)
for(i in 1:nrow(test)){
  for(j in 1:ncol(test)) {
    print(test[i,j])
  }
}
2
solved How to access data in R from read.table