# Stan now (mostly) working on RStudio Cloud

**URL:** <https://discourse.mc-stan.org/t/stan-now-mostly-working-on-rstudio-cloud/5725>\
**Category:** General\
**Created:** [September 22, 2018, 7:19pm UTC](https://discourse.mc-stan.org/t/stan-now-mostly-working-on-rstudio-cloud/5725 "2018-09-22T19:19:41Z")\
**Posts on this page:** 1\
**Showing post:** 27

<div class="post-metadata">

**Author:** ![avehtari](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/avehtari/32/5935_2.png) [@avehtari](https://discourse.mc-stan.org/u/avehtari)\
**Post date:** [October 12, 2018, 8:02pm UTC](https://discourse.mc-stan.org/t/stan-now-mostly-working-on-rstudio-cloud/5725/27 "2018-10-12T20:02:29Z")

</div>

I’ve succesfully complied two simpler models, but the following and other models with similar complexity fail to compile

```
writeLines(readLines("binomb.stan"))

```

```
data {
  int<lower=0> N;
  int<lower=0> y;
}
parameters {
  real alpha;
}
transformed parameters {
  real theta;
  theta = inv_logit(alpha);
}
model {
  alpha ~ normal(0,1.5);
  y ~ binomial_logit(N,alpha);
}

```

```
d_bin <- list(N = 100, y = 70)
fit_bin <- stan(file = 'binomb.stan', data = d_bin)

```

---

_[View the full topic](https://discourse.mc-stan.org/t/stan-now-mostly-working-on-rstudio-cloud/5725)._
