Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

R script on PowerBI Online does not work !

Hi!
  I've created a Sentiment Analysis for to study the product's amazon reviews for each product that show the last 10 reviews, text analysis and the average score.

It works on desktop but if i publish on PowerBI Online shows me errors:

 

 

 

-- Attaching packages --------------------------------------- tidyverse 1.2.1 --

v ggplot2 3.2.0 v purrr 0.3.3

v tibble 2.1.1 v dplyr 0.8.3

v tidyr 1.0.0 v stringr 1.3.0

v readr 1.1.1 v forcats 0.3.0

-- Conflicts ------------------------------------------ tidyverse_conflicts() --

x dplyr::filter() masks stats::filter()

x dplyr::lag() masks stats::lag()

Loading required package: xml2



Attaching package: 'rvest'



The following object is masked from 'package:purrr':



pluck



The following object is masked from 'package:readr':



guess_encoding





Attaching package: 'curl'



The following object is masked from 'package:readr':



parse_date



Error in open.connection(x, "rb") : Could not resolve host: www.amazon.it

 

 

 

 

 

 

 

Errore di runtime dello script


Loading required package: xml2

-- Attaching packages --------------------------------------- tidyverse 1.2.1 --

v ggplot2 3.2.0 v purrr 0.3.3

v tibble 2.1.1 v dplyr 0.8.3

v tidyr 1.0.0 v stringr 1.3.0

v readr 1.1.1 v forcats 0.3.0

-- Conflicts ------------------------------------------ tidyverse_conflicts() --

x dplyr::filter() masks stats::filter()

x readr::guess_encoding() masks rvest::guess_encoding()

x dplyr::lag() masks stats::lag()

x purrr::pluck() masks rvest::pluck()



Attaching package: 'curl'



The following object is masked from 'package:readr':



parse_date



Error in open.connection(x, "rb") : Could not resolve host: www.amazon.it

 

 

 



I suppose in the PowerBI servers miss many package of R.
What shall i do?
Hoping to find a solution,
Marco