当前位置:网站首页>[R language] Extract all files under a folder to a specific folder
[R language] Extract all files under a folder to a specific folder
2022-08-09 06:01:00 【Bionic bug】
if(T){# [Purpose] Extract all files in all folders to datagetwd() # current path# view all files(allfiles=list.files(recursive = TRUE)span>)# create data folderdir.create("data")# copy movefile.copy(from = allfiles,to="data")# [Extract a specific file]# extract only csv files(allfiles2=allfiles[grep(pattern=".csv$", allfiles)])}
边栏推荐
猜你喜欢
【Word】Word 正文中同时加上下标
八、开发者工具与单元测试
二十四节气之立秋
Used to import the data type
聚酰胺-胺(PAMAM)树形聚合物-硫化铋复合纳米粒子|硫化铋修饰Gd‑DTPA‑OA配体|科研实验用
废品回收小程序、APP UNIAPP开发带有用户端和回收员端
#define
shell函数、数组
[email protected]@BSABiS纳米颗粒)|树状大分子稳定的硫化铋纳米颗粒|科研试剂"/>
四氧化三铁/硫化铋纳米复合材料([email protected]@BSABiS纳米颗粒)|树状大分子稳定的硫化铋纳米颗粒|科研试剂
Getting Started with MATLAB Image Processing
随机推荐
三剑客进阶
MySQL LIMIT + order by limit n,m 和 limit n的小坑
地理空间分析库turf.js的学习
Webgis地图框架的对比
2022-08-08 顾宇佳 学习笔记
华为鲲鹏生态培训试题
明明加了唯一索引,为什么还是产生重复数据?
VB.net程序关闭后后台还在与SQL连接
[Deep Learning] Let's talk about what is convolutional neural network and what does convolution mean?
5G对物流行业的积极影响
The request was rejected because the URL contained a potentially malicious String “//“
Domain name batch query online tool
mysql查看表的创建时间
常用shell脚本案例解析
Superparamagnetic iron [email protected]@cadmium sulfide nanocore-shell structure material|Fe3O4 magnetic nanop
王爽 汇编语言个人疑问汇总第九篇
P8462 「REOI-1」奶油蛋糕
VScode安装了ESlint以后不管用、不生效的解决办法
【mysql数据库】mysql数据库的使用
Getting started with kubernetes apparmor