Explore Courses Blog Tutorials Interview Questions
0 votes
in Azure by (45.3k points)

I have written a script in RStudio (running R 3.5.2) that scrapes data from a particular website. The script reaches out to a website, uses download.file to pull the underlying code, and uses tags to extract the desired data.

The script runs without error in RStudio, but when I try to run the code in the "Execute R Script" node in Azure ML it throws a 0063 error saying that it "cannot reach URL ". The code runs perfectly up until it tries to reach out to the URL. (see code below)

I have tried switching the R version in Azure ML--neither of the 3 options works.

for(a in 1:length(job_url)) {

     download.file(url, destfile = filename, quiet=TRUE)



I expect the script to run the same in RStudio and Azure ML. Any ideas how to get this script to run in Azure ML the same way it runs in RStudio?

1 Answer

0 votes
by (16.8k points)

Browse Categories