When I try to read a data set into R with the following, I get the resulting error.
metabolites=read.table("Pacuta_Met_Pathway_Interest.csv",h=T,check.names=F, sep=',')
Warning message: In read.table("Pacuta_Met_Pathway_Interest.csv", h = T, check.names = F, : incomplete final line found by readTableHeader on 'Pacuta_Met_Pathway_Interest.csv'
In trying to fix it, I used the following, but received another error that I cannot understand. I am only reading in 1 file. Can someone please explain the problem? Below is a picture of how my data matrix looks. Pacuta_Met_Pathway_Interest.csv
metabolites=read.table(readLines("Pacuta_Met_Pathway_Interest.csv", warn = FALSE),h=T, sep=',')
Error in file(file, "rt") : invalid 'description' argument