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

allow to specify hooks in R session initialisation #111

Open
behrica opened this issue Sep 15, 2024 · 1 comment
Open

allow to specify hooks in R session initialisation #111

behrica opened this issue Sep 15, 2024 · 1 comment

Comments

@behrica
Copy link
Member

behrica commented Sep 15, 2024

lib-python clj has a nice "Hook" feature where a user can specif its own function which is called during a session startup.
This is mainly meant for "package management".
see here:
https://github.com/clj-python/libpython-clj/blob/aaabb68bcaff5368c56b86e5edb7639646b41fbe/src/libpython_clj2/python.clj#L71

and

https://github.com/clj-python/libpython-clj/blob/aaabb68bcaff5368c56b86e5edb7639646b41fbe/src/libpython_clj2/python.clj#L116

Having this would allow to have full automatic package mamagment, like I is possible in lib-python using "poetry":
https://clojurians.zulipchat.com/#narrow/stream/215609-libpython-clj-dev/topic/poetry.20install.20--sync

@behrica
Copy link
Member Author

behrica commented Sep 15, 2024

The "renv" package should allow this in some form:
https://rstudio.github.io/renv/articles/renv.html

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