[R] browseURL question

jtleek@u.washington.edu jtleek at u.washington.edu
Fri Feb 27 23:39:17 CET 2004


I have a quick question about the browseURL function. When I use the function in a UNIX environment, I have to use two sets of quotations if I have the & symbol in the URL. For Windows I only need to use the first set. For example, on Windows:
browseURL("http://search.yahoo.com/search?p=Bioconductor&ei=UTF-8&fr=fp-tab-web-t&n=20&fl=0&x=wrt")

will call up the appropriate website. However, if I use the same command under UNIX, the website will be truncated after the first &, but the call will work if I use:
browseURL("'http://search.yahoo.com/search?p=Bioconductor&ei=UTF-8&fr=fp-tab-web-t&n=20&fl=0&x=wrt'")

Where I have added single quotes around the URL.Is there any quick method for solving this problem? Thank you very much for your help.


Jeff Leek
Graduate Student
University of Washington
jtleek at u.washington.edu




More information about the R-help mailing list