how to install R package "arules"

Jānis
Jānis Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 6 ✭✭✭

I do "Dataiku DSS for R users" task "Mining Associations Rules and Frequent Item sets with R" and it is necessary to install R package "arules". I try to install "arules" in Code Envs, but it looks like it is not possible to install this package. I got an error:

package ‘arules’ is not available (for R version 3.6.3)

As I know, Dataiku DSS (v9) supports R3. How can I install "arules" package? Do I have to choose special "arules" version?

I tried to install "arules","1.6-0", but got the same error.

Is it possible to install R package from tar.gz file?

Tagged:

Best Answer

  • Sergey
    Sergey Dataiker, Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts, Registered Posts: 365 Dataiker
    Answer ✓

    Hi @Jānis

    This is because maintainers of this R package dropped support for R<4.0 and in DSS we currently support only R<=3.6 (support for Rv4 is on the way) so you will need to use MRAN (timed snapshots) URL instead of direct CRAN one:

    https://mran.revolutionanalytics.com/snapshot/2020-07-01 

    You will need to uncheck "Inherit global settings" on the General tab and replace the URL:

    Screenshot 2022-01-10 at 19.43.47.png

    This should install arules v1.6-6.

Answers

Setup Info
    Tags
      Help me…