I'm trying to load data into R so that I can run DESeq and I am getting the following error:
> datafile = system.file( "PK/extdata/PK_DESeq")
> datafile
[1] ""
> PKCountTable = read.table( datafile, header=TRUE, row.names=1 )
Error in read.table(datafile, header = TRUE, row.names = 1) :
no lines available in input
In addition: Warning message:
In file(file, "rt") :
file("") only supports open = "w+" and open = "w+b": using the former
R seems to be having a problem finding the file even though it autofills the file path when I use tab. Note that when I retype datafile. It shows an empty path. Anyone have an idea what I am doing wrong?
> datafile = system.file( "PK/extdata/PK_DESeq")
> datafile
[1] ""
> PKCountTable = read.table( datafile, header=TRUE, row.names=1 )
Error in read.table(datafile, header = TRUE, row.names = 1) :
no lines available in input
In addition: Warning message:
In file(file, "rt") :
file("") only supports open = "w+" and open = "w+b": using the former
R seems to be having a problem finding the file even though it autofills the file path when I use tab. Note that when I retype datafile. It shows an empty path. Anyone have an idea what I am doing wrong?
Comment