[ESS] Indent for R's 'switch'

2018-06-22 Thread Marius Hofert via ESS-help
Hi, ESS (version 16.10-1 but also earlier) gives the following indentation for switch statements in r: f <- function(method = c("foo", "bar")) { switch(match.arg(method), "foo" = { # (*) cat("Will use 'method' = \"foo\".\n") }, "bar" = { cat("Will use

Re: [ESS] Indent for R's 'switch'

2018-06-22 Thread Marius Hofert via ESS-help
> On Fri 22 Jun 2018 at 09:50, Marius Hofert via ESS-help > wrote: > > > Hi, > > > > ESS (version 16.10-1 but also earlier) gives the following indentation > > for switch statements in r: > > > > f <- function(method = c("foo", "bar"))

[ESS] Assignment operator "<-" not bound to "_" anymore (or any other default it seems).

2019-03-26 Thread Marius Hofert via ESS-help
Hi, In 18.10.3snapshot (GNU Emacs 26.1, macOS 10.14.4) "_" is not the assignment operator "<-" anymore (it still was in 18.10.2). This step, especially the fact that there is no new default to obtain "<-" (or is there?) might scare away users... I'm also posting this so that others can find it as

[ESS] in 18.10.3: Roxygen header is put at the wrong place if point is at the beginning of the line

2019-06-08 Thread Marius Hofert via ESS-help
Hi, I realized that in the current snapshot version of ESS (18.10.3), C-c C-o C-o (for Roxygen function headers) does not work as expected anymore (on macOS 10.14.5) in the following case (and others): fun1 <- function(x) x fun2 <- function(x) x If the point is right before the "f" (so column

[ESS] error in process sentinel: Not enough arguments for format string

2019-12-11 Thread Marius Hofert via ESS-help
Hi, As I reported on https://github.com/emacs-ess/ESS/issues/883 (last post), I'm (still) affected by the randomly appearing error "error in process sentinel: Not enough arguments for format string" and related 'freezing' of Emacs (which is especially popular when teaching in front of 300

[ESS] Emacs can find R-devel and R-newest, but not R-4.0.x

2020-11-25 Thread Marius Hofert via ESS-help
Hi, I used to be able to start a specific R version with M-x R-... but it doesn't work anymore. On M-x R- I see: R-devel R-initialize-on-start R-mode R-newest R-transcript-mode ... but no R-4.0.x. I have R-4.0.0, R-4.0.2, R-4.0.3 and R-devel installed and M-x R-devel and M-x R-newest correctly