Reputation: 1
Hello I'm not succeding in importing word documents quanteda. I'm using this command
my_texts <- readtext::readtext("~/Users/grouetl/Documents/ProjetsLISE/Boimondau/Transcriptionstribunal/.doc*")
and get this error message:
Error in list_files(file, ignore_missing, TRUE, verbosity) : File '' does not exist.
Upvotes: 0
Views: 65
Reputation: 1
I tried both was and also changed my files to txt but I always get the same result. I go back to tm package to import my files ..
Upvotes: 0
Reputation: 14902
Most likely your wildcard expression is wrong.
Try this in the Terminal:
ls ~/Users/grouetl/Documents/ProjetsLISE/Boimondau/Transcriptionstribunal/.doc*
If nothing results, then your pattern is wrong.
I would suggest you try:
readtext("~/Users/grouetl/Documents/ProjetsLISE/Boimondau/Transcriptionstribunal/*.doc*")
Upvotes: 0