Azure / Azure/MachineLearningNotebooks

Unable to open R locfit package in Azure Machine Learning

Offen
#1,590 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
ADO bug MLOps
Vorherrschende Sprache
Jupyter Notebook
Sterne
4.4k
Forks
2.6k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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:

Download locfit R package for windows Zip file from here

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

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

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)

```
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

```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Beginne mit dem Upload des Azure Machine Learning-Datasets und den im Issue gezeigten R-Terminalbefehlen mit install.packages und library. Reproduziere den Installationsversuch und untersuche, warum das hochgeladene locfit_package-Archiv abgelehnt wird; fertig ist es, wenn locfit installiert wird und library(locfit) in Azure Machine Learning erfolgreich geladen wird.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
azure, r
Bereich
cloud, machine-learning
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
20/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.