Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
情况:我想像这样加载一个 .cci 文件R:
R
data <- read.table("data.cci", header = T, dec = ".")
我也试过 read.csv/read.csv2 - 但我总是得到这个错误:
No such file or directory Error in file(file, "rt") : cannot open the connection
感谢您考虑这个问题。
PS WD 没问题
I guess the problem is your file and working directory is in different folder. You can get wd with
getwd()
and than write the correct location like. (pay attention to " / " not " \ " )
data <- read.table("C:/files/data.cci", header = T, dec = ".")