if (FALSE) ## site is flaky
parseURI("https://www.omegahat.net:8080/RCurl/index.html")
parseURI("ftp://duncan@www.omegahat.net:8080/RCurl/index.html")
parseURI("ftp://duncan@www.omegahat.net:8080/RCurl/index.html#my_anchor")
as(parseURI("http://duncan@www.omegahat.net:8080/RCurl/index.html#my_anchor"), "character")
as(parseURI("ftp://duncan@www.omegahat.net:8080/RCurl/index.html?foo=1&bar=axd"), "character")
Run the code above in your browser using DataLab