Can I ensure that the R code is hidden from users of my Shiny apps on Shiny Server?


Yes, the end user should never see the code, provided you haven’t made it possible for them to see it in your shiny application itself. Shiny Server Pro also has a variety of ways of ensuring authentication and even complete R process isolation.