I tried the following code for reading multiple journal article pdfs in a directory, converting them into texts, and storing them in list in r.
myFiles <- list