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.
我正在尝试.RData在我的 Windows 7 (x64) 机器上导入和查看文件中的数据。我正在使用这个命令:
.RData
my_df <- load("~path_to_file/my_file.RData")
数据加载似乎很好。但:
head(my_df)
返回:
[1] "dfAllxY"
有人可以帮我解决这个问题吗?
退房head(dfAllxY)。该load命令不返回对象,它返回从 RData 文件加载的所有对象的名称,因为 RData 文件可能包含多个对象。阅读?load帮助页面了解更多信息。
head(dfAllxY)
load
?load