Discover this year's submissions to the Dataiku Frontrunner Awards and give kudos to your favorite use cases and success stories!READ MORE

Install topicmodels Package from R in Dataiku

Juan7410
Level 1
Install topicmodels Package from R in Dataiku

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!

0 Kudos
3 Replies
sergeyd
Dataiker
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. 

0 Kudos
Juan7410
Level 1
Author

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

0 Kudos
sergeyd
Dataiker
Dataiker

@Juan7410 

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. 

0 Kudos