Questions tagged [rattle]

Rattle is a graphical user interface for data mining in R

Rattle (the R Analytic Tool To Learn Easily) provides a Gnome (RGtk2) based interface to R functionality for data mining. The aim is to provide a simple and intuitive interface that allows a user to quickly load data from a CSV file (or via ODBC), transform and explore the data, build and evaluate models, and export models as PMML (predictive modelling markup language) or as scores. All of this with knowing little about R.

84 questions
2
votes
1 answer

Save rpart decision tree rules to a dataframe

I am using rattle::asRules() to display rpart decision rules to the screen, my goal is to save the rules to a tidy data frame. Here is an example: library(rpart) library(rattle) fit <- rpart(Kyphosis ~ Age + Number + Start, data =…
ronencozen
  • 1,991
  • 1
  • 15
  • 26
2
votes
1 answer

Install RGtk2 on macOS Sierra 10.12.6 and R Version 3.4.1

My ultimate goal is to install the rattle package in R, and to do that, I need to install the dependency RGtk2. This question is similar to Installing RGtk2 on macOS Sierra (Version 10.12.4) and R version 3.4.0 But I have gtk installed. This…
aveevu
  • 767
  • 6
  • 15
2
votes
0 answers

Difficulty installing GTK 2.8 Mac OS X 10.12.6 for installing Rattle package in R.

I only want to install the Rattle package and its dependencies in R, though I got that GTK 2.8 is required. Since I'm not a programmer I went the most simple route and ran homebrew but it installed GTK 2.24. Now I get this error instead [full…
João Ramos
  • 85
  • 2
  • 10
2
votes
3 answers

Error installing "rattle" package

I have been unable to install "rattle" on my Mac. Tried installing the packages separately, tried installing with dependencies set to true, but all to no avail. I have installed Xquartz, compilers, etc. I'd appreciate it if anyone could point me in…
Walter U.
  • 331
  • 1
  • 7
  • 18
2
votes
2 answers

R: Error when running rattle() - "Invalid root element: 'requires'"

I installed rattle package and associated GTK+ library for windows (I work in Windows 7, R version 3.4.0). No issues installing them. The library(rattle) command runs ok (no error messages), however when I run rattle() I got this error: Error in…
IVIM
  • 2,167
  • 1
  • 15
  • 41
2
votes
2 answers

Rattle R not loading data

I'm trying to load a library dataset into Rattle but I keep getting the following error: "Error in ifelse(pmmlCanExport(variables[i]), "", Rtxt(". No code export")) : could not find function "pmmlCanExport" Sometimes it doesn't throw the…
Dirk Calloway
  • 2,569
  • 4
  • 23
  • 34
1
vote
0 answers

How can I resolve the error with RGtk2 and run Rattle via Docker on Mac?

I have been trying to get Rattle installed on my Mac, but got lots of different issues during days of attempt. I have then discovered the possibility to do it via Docker (https://hub.docker.com/r/kayon/rattle) - which magically worked on an Apple…
samoyowu
  • 11
  • 1
1
vote
0 answers

Initial Rattle issues (Os) "Error: -with-x11" & "Error: gtk+ 2.24.32 did not build"

I have been trying to install Rattle on my Os into my R using this instructions: https://zhiyzuo.github.io/installation-rattle/ I get to Line 7 and input ~$ brew install --with-x11 cairo and then get Updating Homebrew... Usage: brew install…
1
vote
1 answer

Rattle in macOS Cartalina 10.15.6 unable to evaluate error matrix results from boost model

Rattle in macOS Cartalina 10.15.6 gives error message: "The supplied actual and predicted must have the same levels." when evaluating model performance using boost method under evaluate tab. Error message from r console: Error in…
hagewhy
  • 79
  • 1
  • 1
  • 6
1
vote
3 answers

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

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…
Sahadat Hossain
  • 3,583
  • 2
  • 12
  • 19
1
vote
1 answer

Rattle does not run as normal user but runs as root in a HPC cluster

Rattle opens/runs when run as root user and throws up gtk2 error when run as normal user with sudo permission. Can anyone help as I am a novice in rattle. The secnario is a HPC setup. On the master node having GUI, I am able to atleast run rattle on…
Aniesh
  • 31
  • 1
  • 3
1
vote
0 answers

Decision tree created with Rattle has very high root node error

I am creating a decision tree with n=3410. The target value contains 6 unique values. Each of these n=3410 have one of these 6 values. The distribution of the values in the data set used to create the model are: 1 - 242 2 - 917 3 - 645 4 - 488 5 -…
L KC
  • 11
  • 1
1
vote
1 answer

RStudio1.2.1335 quits when calling rattle() ver 2.5.0 due to RGtk2 2.20.36 using Mojave

A fatal error occurs when I installed RGtk2 2.20.36 on RStudio version 1.2.1335. I followed the steps recommended on Installing Rattle on macOS using HomeBrew. ProductName: Mac OS X ProductVersion: 10.14.5 BuildVersion: 18F132 Traceback: 1:…
ACSF
  • 21
  • 2
1
vote
0 answers

Rattle: ‘RGtk2Extras’ not available

I am trying to get Rattle set up on my computer for a master's course I'm taking. I am running Windows 10 and have R version 3.6, RStudio version 1.2.1335, and Rattle version 5.2 installed. Using the following code I tried to install Rattle with all…
1
vote
1 answer

Error message installing Rattle for R on macOS 10.14.1

My R console is 3.5.1. I want to install the rattle package on my Mac Mojave 10.14.1. I realize that you have to install RGtk2 first but still got error messaging even when loaded "from source" > install.packages("RGtk2") --- Please select a CRAN…
Bob Hoyt
  • 61
  • 4
  • 9