# Is there a way to run an R Dash app in a hosted JupyterLab environment like a Python Dash app that uses jupyter-dash?

**URL:** <https://community.plotly.com/t/is-there-a-way-to-run-an-r-dash-app-in-a-hosted-jupyterlab-environment-like-a-python-dash-app-that-uses-jupyter-dash/58571>\
**Category:** Dash R\
**Created:** [November 18, 2021, 6:31pm UTC](https://community.plotly.com/t/is-there-a-way-to-run-an-r-dash-app-in-a-hosted-jupyterlab-environment-like-a-python-dash-app-that-uses-jupyter-dash/58571 "2021-11-18T18:31:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ejohnsms](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@ejohnsms](https://community.plotly.com/u/ejohnsms)\
**Post date:** [November 18, 2021, 6:31pm UTC](https://community.plotly.com/t/is-there-a-way-to-run-an-r-dash-app-in-a-hosted-jupyterlab-environment-like-a-python-dash-app-that-uses-jupyter-dash/58571/1 "2021-11-18T18:31:20Z")

</div>

Is there a way to run an R Dash app in a hosted JupyterLab environment like a Python Dash app that uses jupyter-dash?

I have a Dash app that runs in R Studio but I would like to run it in our hosted JupyterLab environment where the output for the Dash app would be “inline” or “jupyterlab”.

Thanks in advance for any info!

the jupyter-dash [sample code] ([jupyter-dash/notebooks/getting\_started.ipynb at master · plotly/jupyter-dash · GitHub](https://github.com/plotly/jupyter-dash/blob/master/notebooks/getting_started.ipynb)) displays the output correctly.

`app = JupyterDash( **name** )

# Create server variable with Flask server object for use with gunicorn

server = app.server

[…]

app.run\_server(mode=“jupyterlab”)  
`

---

<div class="post-metadata">

**Author:** ![ShiXianChua](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/shixianchua/32/17582_2.png) [@ShiXianChua](https://community.plotly.com/u/ShiXianChua)\
**Post date:** [January 7, 2022, 6:07am UTC](https://community.plotly.com/t/is-there-a-way-to-run-an-r-dash-app-in-a-hosted-jupyterlab-environment-like-a-python-dash-app-that-uses-jupyter-dash/58571/2 "2022-01-07T06:07:35Z")

</div>

Hi, have you found any solution related to this?  
I’m currently working on a similar project and would like to get some help on this.  
Thank you!
