R list files with multiple conditions

前端 未结 6 1278
梦谈多话
梦谈多话 2020-12-28 14:03

I want to list all files in a directory that met certain conditions (date and currency). So with only one condition the argument pattern in list.files

6条回答
  •  星月不相逢
    2020-12-28 14:47

    Here it is:

    file.ls2 = intersect(list.files(pattern = "20130801"), list.files(pattern = "USD"))
    

提交回复
热议问题