library(RCurl)
webpage <- getURL("http://rosettacode.org")


webpage <- getURL("http://www.rosettacode.org", .opts=list(followlocation=TRUE))


webpage <- getURL("http://rosettacode.org", 
   .opts=list(proxy="123.123.123.123", proxyusername="domain\\username", proxypassword="mypassword", proxyport=8080))