docker run -it --rm -e DISPLAY=$ip:0.0 --platform linux/amd64 kayon/rattle
sh /run.sh
Export DISPLAY=$ip:0 (from above) (although the -e above should work, verify)
$ R
> library(rattle)
> rattle()
The right fix would be to wean Rattle from obsolete dependencies (cario, RGtk2, ?) but that's a non-trivial effort, I'm sure.
Realistically, I think this translates into find another intro to datamining :< It is rather the long way around, and assumes more facility with computing infrastructure than is sensible for an introductory session.
...The folks at VueScan have managed to coax Rosetta to process libraries, but their hack isn't obvious.