Check out example codes for "r download a url". It will help you in understanding the concepts better.

Code Example 1

download.file(url)

Learn ReactJs, React Native from akashmittal.com