Reading multiple files from a directory, R

前端 未结 2 1534
闹比i
闹比i 2021-02-03 16:29

I am having difficulty with one step in my code to read in a folder of text files and convert it to a dtm. The problem is that, for some reason, my computer is only able to int

2条回答
  •  清酒与你
    2021-02-03 16:53

    directory <- "C://temp"  ## for example
    filenames <- list.files(directory, pattern = "*.*", full.names = TRUE)
    

提交回复
热议问题