[BioC] How to access web link

Martin Morgan mtmorgan at fhcrc.org
Mon May 7 19:09:05 CEST 2007


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



More information about the Bioconductor mailing list