冷酷香烟

文章
7
资源
0
加入时间
4年0月7天

R与文件夹操作

[author:QQ Zhou]总结:***对文件夹的操作***dir.create()list.dirs()dirname()dir.exist() #判断该文件夹是否存在unlink() #删除***对文件进行操作list.files()file.create()file.edit() #如果该文件存在,会直接打开编辑界面,如果该文件夹不存在会先创建,再打开编辑,如:file.edit("script1.R", "script2.R") file.a