library(pubmed.mineR)
myabs <- readabs("pubmed_result.txt") # OR xmlreadabs("pubmed_result.xml")
words <- word_atomizations(myabs)
Then, I got following error.
Error in strsplit(tempb, ",", fixed = T) : non-character argument In addition: Warning message: In strsplit(x, ". ", fixed = T) : input string 1 is invalid in this locale
Does anyone know the solutions?
R version 3.5.1
can you show what the pubmed_result.txt contains? like what field it contains or header ?
I got the .txt file with "Send to" function as "File" of "abstract (text)" format. Please refer to your files.