RStudio can be used on a ChromeBook but the setup is complicated. Some directions that may work for you are here, here, and here. I am not a Chromebook user and this looks endlessly confusing to me.
It is possible, however, to use RStudio on “the cloud” through a web browser, which may be easier than installing on your ChromeBook. See these directions.