Learn how to Access URL and Read Data with RcURL package in R langauge.
If you wish to read data from external file. And if that file happens to be on external location, then you can use rCURL package. This allows you to read the content from external location.
Below video shows how you can use rCURL package to read data from external URL.