How to install rattle in centos While running rattle in my system I am getting this error

rattle()


Error: attempt to apply non-function
In addition: Warning message:
In method(obj, ...) : Unknown internal child: selection

I am using R version 3.1.0 (2014-04-10)
I got the answer.
I have to install some of the packages in terminal . I installed it and it works.

sudo yum install gtk+-devel gtk2-devel