# Specifying include\_paths in rstan

**URL:** https://discourse.mc-stan.org/t/specifying-include-paths-in-rstan/32182
**Category:** RStan
**Tags:** specification
**Created:** [July 20, 2023, 11:52pm UTC](https://discourse.mc-stan.org/t/specifying-include-paths-in-rstan/32182 "2023-07-20T23:52:02Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Bob\_Carpenter](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/bob_carpenter/32/9230_2.png) [@Bob\_Carpenter](https://discourse.mc-stan.org/u/Bob_Carpenter)
#### Post date: [July 27, 2023, 10:00pm UTC](https://discourse.mc-stan.org/t/specifying-include-paths-in-rstan/32182/2 "2023-07-27T22:00:33Z")

</div>

There does not appear to be an argument to do this, so I think you just need absolute paths.

> **[Fit a model with Stan — stan](https://mc-stan.org/rstan/reference/stan.html)**
>
> Fit a model defined in the Stan modeling language and  
> return the fitted result as an instance of stanfit.

See the previous thread from 5 years ago. [How to specify include path when compiling stan models?](https://discourse.mc-stan.org/t/how-to-specify-include-path-when-compiling-stan-models/3764)

@bgoodri should know if there’s a better option now.

---

_[View the full topic](https://discourse.mc-stan.org/t/specifying-include-paths-in-rstan/32182)._
