Question: How to access web link
0
gravatar for Weiyin Zhou
12.6 years ago by
Weiyin Zhou220
Weiyin Zhou220 wrote:
An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/bioconductor/attachments/20070507/ be3042f6/attachment.pl
• 324 views
ADD COMMENTlink modified 12.6 years ago by Seth Falcon7.4k • written 12.6 years ago by Weiyin Zhou220
Answer: How to access web link
0
gravatar for Martin Morgan
12.6 years ago by
Martin Morgan ♦♦ 24k
United States
Martin Morgan ♦♦ 24k wrote:
Weiyin, 'source' expects an R file to read in, 1.txt is probably not that! Are you hoping to visit the page from within R? Then perhaps browseURL(<url>) Martin "Weiyin Zhou" <weiyin.zhou at="" exonhit-usa.com=""> writes: > Hi All, > > > > I try to use R to access this link : > http://genome.ucsc.edu/cgi- bin/hgTracks?db=hg17&hgt.customText=http://po > rtal.splicearray.com:80/PortalGeneDetails/BrowserFiles/1.txt > > > > My code is : > > > >> > source("http://genome.ucsc.edu/cgi- bin/hgTracks?db=hg17&hgt.customText=h > ttp://portal.splicearray.com:80/PortalGeneDetails/BrowserFiles/1.txt "); > > > > Here is the error message I got: > > > > Error in parse(file, n = -1, NULL, "?") : syntax error at > > 2: > > < > > > > Any suggestions? > > > > My sessionInfo is : > > > >> sessionInfo() > > R version 2.4.0 (2006-10-03) > > i386-pc-mingw32 > > > > locale: > > LC_COLLATE=English_United States.1252;LC_CTYPE=English_United > States.1252;LC_MONETARY=English_United > States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252 > > > > attached base packages: > > [1] "methods" "stats" "graphics" "grDevices" "utils" > "datasets" > > [7] "base" > > > > other attached packages: > > statmod limma > > "1.2.4" "2.9.1" > > > > Thanks in advance, > > > > Weiyin > > > > Senior Research Associate > > ExonHit Therapeutics, Inc. > > 217 Perry Parkway, Building # 5 > > Gaithersburg, MD 20877 > > > > email: Weiyin.zhou at exonhit-usa.com > > phone: 240.404.0184 > > fax: 240.683.7060 > > > > > [[alternative HTML version deleted]] > > _______________________________________________ > Bioconductor mailing list > Bioconductor at stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor -- Martin Morgan Bioconductor / Computational Biology http://bioconductor.org
ADD COMMENTlink written 12.6 years ago by Martin Morgan ♦♦ 24k
Answer: How to access web link
0
gravatar for Seth Falcon
12.6 years ago by
Seth Falcon7.4k
Seth Falcon7.4k wrote:
"Weiyin Zhou" <weiyin.zhou at="" exonhit-usa.com=""> writes: > I try to use R to access this link : > http://genome.ucsc.edu/cgi- bin/hgTracks?db=hg17&hgt.customText=http://po > rtal.splicearray.com:80/PortalGeneDetails/BrowserFiles/1.txt > > > > My code is : > >> > source("http://genome.ucsc.edu/cgi- bin/hgTracks?db=hg17&hgt.customText=h > ttp://portal.splicearray.com:80/PortalGeneDetails/BrowserFiles/1.txt "); What does "access" mean in this case? Do you expect that page to contain valid R code? That is what the source function is intended for. The error message you received indicates that the web page does not contain valid R code. Perhaps you want url()? readLines? + seth -- Seth Falcon | Computational Biology | Fred Hutchinson Cancer Research Center http://bioconductor.org
ADD COMMENTlink written 12.6 years ago by Seth Falcon7.4k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 220 users visited in the last hour