我在导入如下所示的 csv 文件时遇到问题:
"password","score"
"p@sswd123456",0
"amdk62",0
"august89",0
"19760124",0
Run Code Online (Sandbox Code Playgroud)
分数在 0 到 100 之间。密码可以包含任何可以想象的内容。我什至发现了类似的东西
""12345,./""
Run Code Online (Sandbox Code Playgroud)
我认为这是在搞乱 R 。我正在尝试的命令是:
mydata = read.csv(file="passwordlist.csv", header=TRUE, quote="", sep=",")
Run Code Online (Sandbox Code Playgroud)
and I do not get an error message. When I try to read the file the second column is missing completely though.
How can I import both columns?
| 归档时间: |
|
| 查看次数: |
1646 次 |
| 最近记录: |