[Rd] segfault in browseURL()
jgentry at jimmy.harvard.edu
Wed Mar 31 22:59:48 CEST 2004
> With what settings of argument `browser'?
In this case, none.
getOption("browser") returns NULL. When browseURL() is working form e
under that configuration it pulls up IE5
> If you absolutely must have such long URLs, try specifying a browser
> (although you will probably find limits that way too).
When I tried specifying 'browser="explorer"', I still get errors, although
not segfaults. The error seems to be dependent on exactly what the URL
string is, and is always fairly odd (as if Windows is pushing the extra
bits off into other commands).
> As the FAQ asks, we do need a reproducible example to check the fixes.
Well, the toy example I was using to first verify that it was coming from
browseURL in general was just to do this:
z <- rep("z", 300)
z <- paste(z, collapse="")
While that URL obviously won't work, note that if you make it of a smaller
length that instead of a segfault you should just get the error that the
URL doesn't seem to exist.
The other example I was using (a 'real' example) requires the use of the
annotate and hgu95av2 packages from Bioconductor (and was supplied by
gn <- geneNames(eset)
gn <- getPMID(gn,"hgu95av2")
gn <- unlist(gn, use.names=FALSE)
This builds up a URL query and then calls 'browseURL(query)'.
More information about the R-devel