Hello! Thanks for your suggestion.
I tried doing that in two ways. (1) Just by reading the CSV file using read.csv function , and (2) using download.file function to download the file into my default working directory (Documents).
Using the first method, I got the following:
Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(file, "rt") : InternetOpenUrl failed: ''
While using second method, I got:
Error in download.file("https://cran.r-project.org/CRAN_mirrors.csv", :
cannot open destfile '~/Documents', reason 'Permission denied'
Is there some sort of a restriction that has been set in my laptop? Looks like it. Thanks.