Could not install R packages to RServer in Azure HDI using Script Actions

Suryanto 16 Reputation points
2022-03-19T09:40:41.377+00:00

@MartinJaffer-MSFT

Hi Martin,

I experienced same problem like last time.

https://learn.microsoft.com/en-us/answers/questions/112935/could-not-install-r-package-to-r-server-in-azure-h.html

Could you please help me to contact the back-end team, the previous similar error came up again when I run script action to install R packages.

below is the Ambari error message

Thank you very much

stderr:
Warning: unable to access index for repository https://mran.microsoft.com/snapshot/2017-03-15/src/contrib:
Line starting 'The specified CGI ap ...' is malformed!
Warning message:
packages ‘sparklyr’, ‘smbinning’, ‘hashFunction’ are not available (for R version 3.3.3)
stdout:

Sample action script to install R packages...
Install packages...

install.packages(c('sparklyr','smbinning','hashFunction'), dependencies=TRUE)

Finished
('Start downloading script locally: ', u'https://raw.githubusercontent.com/Microsoft/r-server-loan-chargeoff/master/HDI/ActionScripts/InstallRPackages.sh')
Fromdos line ending conversion successful
Custom script executed successfully
Removing temp location of the script

Command completed successfully!

Azure R Server for HDInsight
Azure R Server for HDInsight
An Azure service that provides predictive analytics, machine learning, and statistical modeling for big data.
13 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.