On 12/18/07, David Winsemius <[EMAIL PROTECTED]> wrote:
> David Winsemius <[EMAIL PROTECTED]> wrote in
> news:[EMAIL PROTECTED]:
>
> > "Armin Goralczyk" <[EMAIL PROTECTED]> wrote in
> > news:[EMAIL PROTECTED]:
>
> >> 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.
>
> --
>

It's not the spaces, the problem is the tag (sorry that I didn't
specify this), or maybe the string []. I am working on a Mac OS X 10.4
with R version 2.6. Is it maybe a string conversion problem? In the
following warning strings in the html adress seem to be different:

Fehler in .Call("RS_XML_ParseTree", as.character(file), handlers,
as.logical(ignoreBlanks),  :
 error in creating parser for
http://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed&term=laryngeal
neoplasms[mh]
I/O warning : failed to load external entity
"http%3A//eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi%3Fdb=pubmed&term=laryngeal%20neoplasms%5Bmh%5D"

-- 
Armin Goralczyk, M.D.
--
Universitätsmedizin Göttingen
Abteilung Allgemein- und Viszeralchirurgie
Rudolf-Koch-Str. 40
39099 Göttingen
--
Dept. of General Surgery
University of Göttingen
Göttingen, Germany
--
http://www.chirurgie-goettingen.de
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to