Install topicmodels Package from R in Dataiku

Registered Posts: 2 ✭✭✭
edited July 2024 in General Discussion

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!

Welcome!

It looks like you're new here. Sign in or register to get started.

Answers

  • Dataiker, Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts, Registered 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.

  • Registered Posts: 2 ✭✭✭

    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

  • Dataiker, Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts, Registered Posts: 365 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.

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.