Sadly since RStudio Cloud is running on a heedless server, nothing requiring tcltk is going to work, there are walk-arounds when you own the server (you have administrative access) but this is not the case.
Maybe if you explain what your actual goal is, someone in the community might be able to give you an alternative solution.