-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Follow-up work related to posit-dev/positron#2070 and renv support.
RStudio supports a session init hook that runs after R is fully initialized:
Good resource on R startup: https://rstats.wtf/r-startup
People typically use this sort of hook to schedule startup-ish code that makes use of, for example, readline(), menu() or rstudioapi. Our immediate use case here in Positron is related to renv, where it would be nice to schedule the "hey you need to do renv::restore(); shall we do it? interaction for execution after R has been fully stood up.
GitHub search for uses of rstudio.sessionInit:
Metadata
Metadata
Assignees
Labels
No labels