Hi! I am new to rstan, I want to run the “8 schools” example in rtsan (Windows 7 x64 SP 1 , R version 3.5.1, rstan 2.18.2 ) with the code as follows.
The code is exactly copied from “RStan getting started” and schools.stan file is stored in my current working directory. However, I have got an error like this:
Error in process_initialize(self, private, command, args, stdin, stdout, : Command not found
In addition: Warning message:
In readLines(file, warn = TRUE) : incomplete final line found on ‘wd\schools.stan’
Error in sink(type = “output”) : invalid connection
Do you guys have any idea of this problem?