Hello again, good news : the problem is solved.
It was related to the security settings and it was solved by running the following 3 commands in the power shell (as adminstrator):
![]()
Thank you very much for your help. I am so glad that it finally works now (also RSTAN not only cmdstan). Thank you also for your patience.