Entering edit mode
7.3 years ago
nattzy94
▴
60
I am using an R package called 'PubMedWordcloud' and I get the following error when I try to retrieve the abstracts of a large number of PMIDs (Pubmed IDs):
> pmids <- getPMIDsByKeyWords(keys="candida albicans", n=3000)
> abstracts=getAbstracts(pmids)
Space required after the Public Identifier
SystemLiteral " or ' expected
SYSTEM or PUBLIC, the URI is missing
Error: 1: Space required after the Public Identifier
2: SystemLiteral " or ' expected
3: SYSTEM or PUBLIC, the URI is missing
It appears that the problem is the number of PMIDs as I do not face the same issue when I try to retrieve a small number of PMIDs e.g. 10.
Anyone able to shed some light on the error message and how I can fix it?
magic number seems to be 901 (n) for this function. I tried (n=) 901 and 902 and beyond (1000, 5000,10000). It works till 901 and at 902 it throws the same error. Probably it is better to restrict by year to get below 901.