Entering edit mode
2.1 years ago
sandy
•
0
Hello everyone,
I meet a question to upload my scrna seq file to R. My data file is dge.txt.gz file.
I used code sample<- read.table("my/data/dir" , header = T,row.names = 1)
to input my data, but R said:
Error in file(file, "rt") : cannot open the connection
In addition: Warning messages:
1: In file(file, "rt") :
'raw = FALSE' but 'my/data/dir' is not a regular file
2: In file(file, "rt") :
cannot open file 'my/data/dir': it is a directory.
Please give me some suggestion on how to solve this problem.
Thank you very much.
I think the easiest way for you would be, in RStudio, to upload you file doing: File > Import Dataset > From text (base)...
Thanks for your replay. However, I analyses my data on a server, thus I cannot do file>import dataset.