Krishna Kalyan
Krishna Kalyan

Reputation: 1702

Azure ML Studio cannot load a installed package in R

enter image description here

I am trying to install a package in azure ML studio using the command below.

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

DMwR.zip was upload as a dataset in azure. The error I get is below.

Error 0063: The following error occurred during evaluation of R script:
---------- Start of error message from R ----------
zip file 'src/DMwR.zip' not found

How can I resolve this?

Upvotes: 2

Views: 716

Answers (1)

Haritha Thilakarathne
Haritha Thilakarathne

Reputation: 876

  1. Create a folder on your local drive with any name.
  2. Put the package you want (DMwR.zip) into that folder.
  3. Zip the entire folder
  4. Upload it using New->Dataset->From local file
  5. Now you can refer the package inside your R code using 'src/DMwR.zip' path.

Upvotes: 6

Related Questions