文件管理主要函数:

setwd( ):设定R软件当前工作目录。
getwd( ):查看R软件当前工作目录。
list.files( ): 查看当前目录下文件。
file.show( ): 显示文件。
file.access( ): 查看文件是否可读可写。
file.create( ): 创建一个文件。例如:file.create(“D:/lesong.xls”).
dir.create( ): 创建一个目录。例如:dir.create(D:/lesong).
file.remove( ):删除一个文件。
File.choose( ):选择一个文件。

相关文章:

  • 2021-11-08
  • 2021-06-22
  • 2021-11-06
  • 2021-10-24
  • 2021-11-06
  • 2022-12-23
  • 2021-08-17
猜你喜欢
  • 2022-12-23
  • 2021-10-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-17
  • 2022-12-23
相关资源
相似解决方案