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?

Hello, i also had such issue, do you fix it? I can run the stan code on Shiny without user input but once pass the parameters from UI it failed.