Install topicmodels Package from R in Dataiku

Options
Juan7410
Juan7410 Registered Posts: 2 ✭✭✭
edited July 16 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!

Answers

  • Sergey
    Sergey Dataiker, Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts Posts: 365 Dataiker
    Options

    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.

  • Juan7410
    Juan7410 Registered Posts: 2 ✭✭✭
    Options

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

    @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.

Setup Info
    Tags
      Help me…