Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

startup: on_next_startup(expr, at = 0L) #73

Open
HenrikBengtsson opened this issue May 7, 2019 · 1 comment
Open

startup: on_next_startup(expr, at = 0L) #73

HenrikBengtsson opened this issue May 7, 2019 · 1 comment

Comments

@HenrikBengtsson
Copy link
Owner

Add mechanism to evaluate R code next time a new R session is launched. When completed, wipe.

This can be useful when restarting RStudio session. For instance, we might even be able emulate --vanilla in RStudio this way.

This most likely has to be orchestrated via the filesystem.

@HenrikBengtsson HenrikBengtsson transferred this issue from another repository May 28, 2019
@HenrikBengtsson
Copy link
Owner Author

There could be an option to control whether the next R/Rscript process should pick this up, or only one of the same "kind" as the current one. This could be conditioned on current commandArgs() and the current working directory. Speaking of the latter, we could restrict it to pick up a ./.startup,process-then-destroy.Rprofile file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant