I want to use variables defined in R environment as an argument in the bash chunk. Is there any way to do that?
For instance, in the examples below I want to use R to define the path to the script and pass it as an argument to bash:
```{r}
path_to_script <- glue("{here::here()}/bash_scripts/script.sh")
\```
```{bash}
bash **path_to_script**
\```
