Operating System: Windows 10
Interface Version: RStudio 1.0.136
I am re-installing Rstan after updating one machine and cleaning another - My problem is that I am having difficulties passing arrays from R to RStan.
R-Code ##################################################################
stanDta <- merge(dta1,dta2[1:55,],by = “Year”)
inter_dat <- list(T <- 55,
Farmdta <- stanDta[,c(“RetpFarm”,“debtpfarm”,“intepfarm”,“Aaa.Bond.Rate”,“Deer”,“StPoors”)])
#########################################################################
Stan Code ################################################################
data {
int<lower=0> T; //Number of years
real Farmdta[T,6]; //Farm Data
}
#########################################################################
This code still works on my two machines that I did not update (One Windows 10 and the Linux Mint). Other simple passes (such as 8schools) work fine.