R installation of packaging

Highlighted
AnastasiiaSolom
Level 1
R installation of packaging
Hello,

I am currently trying to use the code from R to putit in DataIku, but its not working as in my code I am using specifick package :qdap

As the code i put:

install.packages("qdap",repos = "http://cran.us.r-project.org")
library(qdap)
u <- mgsub(words,trans,m)

And I have the error :Job failed : Error in R process: simpleError : there is no package called ‘qdap’

How can I solvethis problem?

Thank you in advance!
0 Kudos
2 Replies
Alex_Combessie Dataiker
Dataiker
Re: R installation of packaging

Hi Anastasia,



I have tested it on my installation, it should work once https://doc.dataiku.com/dss/latest/installation/r.html is complete (see Jerémie's suggestion).



Note that with our latest 4.1 release, we provide an interface for managing libraries in R (and Python) environments. See https://doc.dataiku.com/dss/latest/code-envs/index.html.



Cheers,



Alex

0 Kudos
AnastasiiaSolom
Level 1
Re: R installation of packaging
Hi, thank you for your answer! I do not have so far the latest version, but yes its working, the problem was with correct instalation, but so far my code is working!
Thank you again for your attention and have a nice day!
0 Kudos
Labels (2)