[R] Analyzing Publications from Pubmed via XML

David Winsemius dwinsemius at comcast.net
Tue Dec 18 05:37:51 CET 2007


David Winsemius <dwinsemius at comcast.net> wrote in
news:Xns9A09CA51DB1E4dNOTwinscomcast at 80.91.229.13: 

> "Armin Goralczyk" <agoralczyk at gmail.com> wrote in
> news:a695fbee0712171238g4995040x579e58f52f83376e at mail.gmail.com: 

>> I tried the above function with simple search terms and it worked
>> fine for me (also more output thanks to Martin's post) but when I use
>> search terms attributed to certain fields, i.e. with [au] or [ta], I
>> get the following error message:
>>> pm.srch()
>> 1: "laryngeal neoplasms[mh]"
>> 2:

> I am wondering if you used spaces, rather than "+"'s? If so then you
> may want your function to do more gsub-processing of the input string.

I tried my theory that one would need "+"'s instead of spaces, but 
disproved it. Spaces in the input string seems to produce acceptable 
results on my WinXP/R.2.6.1/RGui system even with more complex search 
strings. 

-- 
David Winsemius



More information about the R-help mailing list