eribul / thamortpred

Prediction of 90 day mortality after elective THA
https://erikbulow.shinyapps.io/thamortpred/
0 stars 0 forks source link

.Rprofile #2

Closed eribul closed 4 years ago

eribul commented 5 years ago

Make .Rprofile to load ProjectTemplate and lod.project, as well as a relevant start-up message to be displayed in binder. Perhaps add condition such that ot is in fact only displayed on binder.

if (grepl("thamortpred", Sys.info()["nodename"])) {
# Create cahce folder (empty). See #1   
library(ProjectTemplate)
  load.project()
  message("...")
}