Re: [ESS] Ever consider changing indentation on #?

2017-05-06 Thread Kasper Daniel Hansen
I agree the default is worthwhile changing, especially Paul's nice suggestion of letting # be flush left ## indentation level which would not affect my memory typing (since I never use `#`) and solve irritating indentation issues when I work with other peoples code. Best, Kasper On Sat, May 6,

Re: [ESS] Ever consider changing indentation on #?

2017-05-07 Thread Kasper Daniel Hansen
How do you get the code line up like this with #? When I have code on a line and press `#` I just get a # character - no indentation. Best, Kasper On Sat, May 6, 2017 at 10:30 AM, Vincent Goulet wrote: > > Le 4 mai 2017 à 22:49, Paul Johnson a écrit : > > > > Please raise your hand if you hav

Re: [ESS] Sweave with ESS and AUCTeX

2018-01-19 Thread Kasper Daniel Hansen
To me, I would suspect a path issue. How does tex find the cls file? Possibilities: (1) it is in the same directory as the tex file (2) you have installed it into the texmf tree and updated the tex search path to find it (3) you have put it somewhere (perhaps in the texmf tree) and uses enviroment

Re: [ESS] ESS not returning to R process after R> help.start() ?

2018-02-06 Thread Kasper Daniel Hansen
I don't know about running the HTML help system from within Emacs, but ESS directly interfaces with the help system so you can search etc. using ESS. Just try ?something on the command line. Or from a script buffer you can Do C-c C-v to get help on a function. On Tue, Feb 6, 2018 at 8:13 AM, Chris

Re: [ESS] Fwd: Re: Indenting with magrittr and %>%

2018-03-23 Thread Kasper Daniel Hansen
I know I am proposing (a little) work, but some screenshots would be nice, both of what doesn't work, and what supposedly work amazingly. On Fri, Mar 23, 2018 at 3:10 AM, Marie-Helene Burle wrote: > PS: I didn't mention it in my first reply, but aggressive-indent works > very well with pipes. I

[ESS] R 4.0

2020-04-16 Thread Kasper Daniel Hansen via ESS-help
I have just updated ESS using list-packages. R-4.0 is not found due to the value of ess-r-runners-prefixes. This can of course be customized, but I think it should be changed to include "R-4" -- Best, Kasper [[alternative HTML version deleted]] __

Re: [ESS] Anyone tried Emacs 27.1 pretest with Windows 10 ?

2020-05-11 Thread Kasper Daniel Hansen via ESS-help
On Wed, May 6, 2020 at 8:26 AM Martin Maechler via ESS-help < ess-help@r-project.org> wrote: > > I strongly suspect it is related to the (mis)feature that ESS is > monitoring things not only *R* buffers but also in *shell* buffers. > .. I think part of current modern ESS work under the assumption

Re: [ESS] Best Practice for building R packages

2020-10-08 Thread Kasper Daniel Hansen via ESS-help
Personally, I'm a dinosaur so I'm still editing Rd files myself. I must say, I'm not convinced about the merits of roxygen2. Having said that, I think it would make a lot of sense to have robust solutions in ESS supporting roxygen2 and these may even exist somewhere. On Thu, Oct 8, 2020 at 1:57 P

[ESS] -> and spaces

2020-11-26 Thread Kasper Daniel Hansen via ESS-help
Thanks for the work on ESS over the ages. I am happy to see that there is development happening still. I have the following code in my .emacs which I use to have the behaviour of changing a _ keypress into printing <-: (define-key ess-r-mode-map "_" #'ess-insert-assign) (define-key inferior-e

Re: [ESS] unexpected behavior for Emacs-27.1-1-modified-1 for two MacBooks.

2021-01-27 Thread Kasper Daniel Hansen via ESS-help
Regarding cl: On top of replacing (require 'cl) with (require 'cl-lib) I also needed to make a number of changes to the usage of various cl functions. Emacs would complain about unknown functions once I did (require 'cl-lib). Basically all of the cl functions were changed from XX to cl-XX for

Re: [ESS] What is the right way to deal with modules with emacs/ESS/R on a cluster?

2021-02-16 Thread Kasper Daniel Hansen via ESS-help
Alternatively, you can put the module command into your .bachrc (or similar configuration file). On Tue, Feb 16, 2021 at 8:06 PM Sparapani, Rodney via ESS-help < ess-help@r-project.org> wrote: > Hi Gang: > > I’m having some trouble between Emacs/ESS and R with modules > that I don’t understand.