Getting started

I am using RStudio Version 1.2.5042 and R 4.0.0.

I have installed RStan.

I started by trying to run the schools.stan example in :

When I do this, RStudio hangs. When I break-in and “Stop” R, I get the following message:
Error in sink(type = “output”) : invalid connection.

I do not know what this means or have a good understanding of what is meant by “sink”.

Does anyone have any advice on how to proceed?



Hi and welcome! There could be a number of causes. Some advice here

that may be helpful.

Also here about R4.0