change or set /tmp directory for shiny app

Please follow our cross posting policy, you are not supposed to just dump links to other FAQ site