Tcltk package error in Rstudio

Hi,

I've read so many posts on different blogs and forums talking about the same problem I'm having, but unfortunately haven't found any conveniant solution.

I've installed the tcltk and the tcltk2 packages on Rstudio and managed to get a response from the program using the command "tk_select.list(c('1','2'))"a very basic function that displays a vector, in local it works, but couldn't do the same on Rstudio-Server installed in OS RHIEL 6.6

and I've got this message :

"Error in structure(.External(.C_dotTclObjv, objv), class = "tclObj") : [tcl] invalid command name "toplevel"."

The Rstudio online can't display well any data using shiny and tcltk, I've tried so many suggestions (installed shiny on every user account, checked all the paths were absolut and correct)

Any help would be very appreciated, and if any supplementary information is needed i'll be available.