0
votes

I have trained a model locally using the R package locfit. I am now trying to run this in Azure Machine Learning.

Most guides/previous questions appear to be in relation to Azure Machine Learning (classic). Although I believe the process outlined in similar posts will be similar (e.g. here, here, I am still unable to get it to work.

I have outlined the steps I have followed below:

  1. Download locfit R package for windows Zip file from here

  2. Put this downloaded Zip file into a new Zip file entitled "locfit_package"

  3. I upload this "locfit_package" zip folder to AML as a dataset (Create Dataset > From Local Files > name: locfit_package dataset type: file > Upload the zip ("locfit_package") > Confirm upload is correct

  4. In the R terminal I then execute the following code:

    install.packages("src/locfit_package.zip", lib = ".", repos = NULL, verbose = TRUE)

    library(locfit_package, lib.loc=".", verbose=TRUE)

    library(locfit)

  5. The following error message is then returned:

    system (cmd0): /usr/lib/R/bin/R CMD INSTALL

    Warning: invalid package ‘src/locfit_package.zip’ Error: ERROR: no packages specified Warning message:

    In install.packages("src/locfit_package.zip", lib = ".", repos = NULL, : installation of package ‘src/locfit_package.zip’ had non-zero exit status Error in library(locfit_package, lib.loc = ".", verbose = TRUE) : there is no package called ‘locfit_package’ Execution halted

If you are looking at installing downloaded file have a look at the following answer. - Konrad
may be type='source' argument could be tried. - Samet Sökel
@Konrad I have tried a number of those suggested solutions without success unfortunately - WPB
@SametSökel Implementing that argument didn't do the trick unfortunately - WPB