How do I install packages on dataiku Rmarkdown files?(R programming language)

Abhijith
Abhijith Registered Posts: 1
edited October 16 in Using Dataiku

im working with a rmarkdown file,I'm able to directly import few libraries like ggplot2 and Dataiku

but when I try to install packages using install.packages("plotly") ,it shows error in install.packages() '.

how do I install ?

Operating system used: Dataiku online

Answers

  • Alexandru
    Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,226 Dataiker

    Hi,

    You can install the required pacakge in R code env - https://knowledge.dataiku.com/latest/code/work-environment/how-to-create-code-environment.html

    From the settings tab of the R markdown you can change the code env → to the one you've just created with the required packages

Setup Info
    Tags
      Help me…