Warning in install.packages : package ‘rattle’ is not available (for R version 3.4.4)

2.2k Views Asked by At

I was trying to install.packages("rattle") but it shows this :

Installing package into ‘/home/shahin/R/x86_64-pc-linux-gnu-library/3.4’
(as ‘lib’ is unspecified)
Warning in install.packages :
  package ‘rattle’ is not available (for R version 3.4.4)

I am in ubuntu 18.04. I also tried to install RGtk2 that also shows error. How can i install rattle?

3

There are 3 best solutions below

0
On BEST ANSWER

rattle requires R version 3.5.0 or higher.

Update R to the latest version, then you'll be able to install it.

0
On

You need to update your R version following these instructions : Ubuntu Packages for R. Pay attention to the Secure APT section.

5
On

Please run below commands in order to update your version:

install.packages("installr")

library(installr)

updateR()

This will start the updating process of your R installation by: “finding the latest R version, downloading it, running the installer, deleting the installation file, copy and updating old packages to the new R installation.”