how to install R package "arules"

Solved!
Jฤnis
Level 2
how to install R package "arules"

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?

1 Solution
sergeyd
Dataiker

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. 

View solution in original post

2 Replies
sergeyd
Dataiker

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. 

Jฤnis
Level 2
Author

Thank you @sergeyd !

I have installed arules successfully.

0 Kudos

Labels

?
Labels (2)