How to pass data defined in Rstudio by user(means depend on the input by user) to stan

I need to use user’s inputs (different input every time) to do stan modeling. How to work with rdump? Many thanks.