This function automatically detects which of the Shiny paths should be used when running a Shiny App on MatrixDS (internal RStudio session or external production version). It also works for a local file so the script is the same.
matrixwd(dir)Character. Project's folder
Other Tools: autoline,
bindfiles, bring_api,
db_download, db_upload,
export_plot, export_results,
get_credentials,
get_currency,
h2o_predict_API,
h2o_predict_MOJO,
h2o_predict_binary,
h2o_predict_model,
h2o_selectmodel, h2o_update,
haveInternet, importxlsx,
ip_country, iter_seeds,
json2vector, listfiles,
mailSend, msplit,
myip, pass,
quiet, read.file,
statusbar, try_require,
updateLares, zerovar