Re: [ESS] run R code upon starting each ESS session

2023-10-03 Thread Manuel Teodoro via ESS-help
Thanks a lot Tyler, The hook is exactly what I was looking for. I checked the documentation but I guess I should search better next time. In case somebody else is interested, I am sending the code directly from within emacs, init file so, no need for extra R scripts. It is a wonderful way to

Re: [ESS] run R code upon starting each ESS session

2023-10-03 Thread Tyler Smith via ESS-help
On Tue, Oct 3, 2023, at 12:52 PM, Manuel Teodoro via ESS-help wrote: > Is there a way to run R code upon starting each ESS session? > Hi Manuel, ESS provides a hook you can use for this purpose. This is described in the manual: https://ess.r-project.org/Manual/ess.html#Customizing-startup To

Re: [ESS] run R code upon starting each ESS session

2023-10-03 Thread Dirk Eddelbuettel via ESS-help
On 3 October 2023 at 18:52, Manuel Teodoro via ESS-help wrote: | Is there a way to run R code upon starting each ESS session? | | Something like Rprofile but I'd like to make it more dependent to emacs. | | What I want is to have a few options settings in my R sessions by default. | Since I

[ESS] run R code upon starting each ESS session

2023-10-03 Thread Manuel Teodoro via ESS-help
Is there a way to run R code upon starting each ESS session? Something like Rprofile but I'd like to make it more dependent to emacs. What I want is to have a few options settings in my R sessions by default. Since I use it in different computers but my Emacs configuration is shared among all of