Displaying 1 result from an estimated 1 matches for "wpscases".
Did you mean:
pscales
2020 Nov 03
0
help loading files into R for koRpus analysis
On 02/11/2020 4:46 p.m., Gordon Ballingrud wrote:
> Thanks; that's a good point. Here is what I have been working with:
>
> library(quanteda)
> library(readtext)
>
> texts <- readtext(paste0("/Users/Gordon/Desktop/WPSCASES/", "/word/*.docx"))
On Windows, you can't have an empty entry in a pathname, so you should
leave off one of the slashes:
texts <- readtext(paste0("/Users/Gordon/Desktop/WPSCASES/",
"word/*.docx"))
You could skip the paste0 entirely, and use
text...