Install topicmodels Package from R in Dataiku
![Juan7410](https://us.v-cdn.net/6038231/uploads/Dataiku/nAvatar12.png)
Hi,
Im trying to install "topicmodels" package from R in Dataiku but it doesnt install.
Installing package into ‘-directory-’ (as ‘lib’ is unspecified) Warning message in install.packages("topicmodels", dependencies = TRUE): “installation of package ‘topicmodels’ had non-zero exit status”
I try installing older versions of the package but still have the "non.zero exit status".
I think that this could be the problem https://github.com/googlecolab/colabtools/issues/1184#issuecomment-620002765
anyone knows how to install this package?
thanks!
Answers
-
Sergey Dataiker, Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts Posts: 365 Dataiker
Hi @Juan7410
Are you installing this package from the notebook? If so -> this is not recommended as this is a way into code env mess as you cannot keep a track of what packages were installed. Also, no logs in the code env and you need to search backend.log to find that installation.
Please try to create a managed code env (if not already) and install this package there. When there will be an issue updating the code env, please send the update log from this code env so we can have a look at it.
-
Thanks @sergeyd
,Yes, I was doing the installation from the notebook since I don't have admin rights to create the environment. I've seen that this is a common issue which might have been mentioned here: https://github.com/googlecolab/colabtools/issues/1184#issuecomment-620002765
-
Sergey Dataiker, Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts Posts: 365 Dataiker
It could be that, it could be also the wrong compiler, it could be no exec mount for the /tmp.
So without proper logs, it's difficult to say what the issue is exactly.