How to access web link
2
0
Entering edit mode
Weiyin Zhou ▴ 220
@weiyin-zhou-1970
Last seen 10.3 years ago
An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/bioconductor/attachments/20070507/ be3042f6/attachment.pl
• 764 views
ADD COMMENT
0
Entering edit mode
@martin-morgan-1513
Last seen 4 months ago
United States
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 COMMENT
0
Entering edit mode
Seth Falcon ★ 7.4k
@seth-falcon-992
Last seen 10.3 years ago
"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 COMMENT

Login before adding your answer.

Traffic: 776 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6