R 中 xlsReadWrite 的 .xls 文件存储位置
我对 R 比较陌生,在如何访问我的数据方面遇到了一些问题。我在 MYDocuments 中创建了 test.xls 文件。如何从 R 访问它
library(xlsReadWrite)
DF1 <- read.xls("test.xls") # read 1st sheet
I am relatively new to R and am having some trouble with how to access my data. I have my test.xls file created in my MYDocuments. How to I access it from R
library(xlsReadWrite)
DF1 <- read.xls("test.xls") # read 1st sheet
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
设置工作目录:
Set the working directory with:
此链接可能有助于为每个项目创建工作文件夹,然后将所有相关信息放入该文件夹中。这是一个很好的教程,用于制作包含您需要的所有内容的项目文件。这是一种方法。
http://www.dangoldstein.com/flash/Rtutorial2/Rtutorial2.html
setwd() 是另一种方法。我在工作中结合使用了两者。
This link may be useful as a method of making working folders per project and then placing all relevant info in that folder. It's a nice tutorial for making project files that contain everything you need. This is one approach.
http://www.dangoldstein.com/flash/Rtutorial2/Rtutorial2.html
The setwd() is another approach. I use a combination of the two in my work.