How to use inputs of numbers from R

I am doing a project. I need to use the user’s inputs from Rshiny and incorporate the variables to STAN modeling and then show the user the results after fitting the model. Any nice ways to do it?