I am cleaning several excel files in R. They unfortunately are of unequal dimensions, rows and columns. Currently I am storing each excel sheet as a data frame in a list. I
For example, you have a .csv file called hw1_data.csv and you want to retrieve the 47th row. Here is how to do that:
x<-read.csv("hw1_data.csv") x[47,]
If it is a text file you can use read.table.
read.table