Re: ess-set-working-directory
"Stephen J. Eglen via ESS-help" <[email protected]> Sun, 31 Mar 2024 12:17:14 +0100
| Newsgroups | gmane.emacs.ess.general |
|---|---|
| Message-ID | <[email protected]> |
hi Kevin, Rodney, I think the variable and setting you are looking for is: (setq ess-startup-directory 'default-directory) Best wishes, Stephen On Sun, Mar 31 2024, Kevin Coombes via ESS-help wrote: > I don't know where this "feature" lives in the code. But it > might help find > it to know that it does the same thing in any git project or > subversion > project, even if it isn't an R package. > > Hopefully, someone can track it down, since I view it as a bug > I want to > remove, and not a feature. > > Best, > Kevin > > On Sat, Mar 30, 2024, 11:51 AM Sparapani, Rodney via ESS-help < > [email protected]> wrote: > >> Hi ESS-help: >> >> When I am working on an R script that is not part of an R >> package, >> then ess-set-working-directory does what would be expected, >> i.e., >> on a launch of R it does setwd() to the buffer’s >> default-directory. >> However, when I am in, say, the demo directory of an R package, >> then it doesn’t. It places me at the root of the R package. >> I can’t seem to figure out where this is taking place. >> It must have something to do with ess-r-package.el. >> But I am stumped about how to make it stop. >> Any advice is much appreciated. Thanks >> >> -- >> Rodney Sparapani, Associate Professor of Biostatistics, >> He/Him/His >> Vice President, Wisconsin Chapter of the American Statistical >> Association >> Institute for Health and Equity, Division of Biostatistics >> Medical College of Wisconsin, Milwaukee Campus >> >> If this is outside of working hours, then please respond when >> convenient. >> >> [[alternative HTML version deleted]] >> >> ______________________________________________ >> [email protected] mailing list >> https://stat.ethz.ch/mailman/listinfo/ess-help >> > > [[alternative HTML version deleted]] > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/ess-help ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/ess-help