[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

[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] 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] Assignment operator "<-" not bound to "_" anymore (or any other default it seems).

2019-03-26 Thread Marius Hofert via ESS-help
r "<-" seems weird to me and not everyone likes to make adjustments to .emacs just to get basic functionality (... and thus probably switches to RStudio...). Cheers, Marius -- Marius Hofert, Dr. rer. nat. Assistant Professor Department of Statistics and Actuarial Science Faculty

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] 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

[ESS] Strange behaviour of ess-eval-buffer-from-beg-to-here?

2017-08-09 Thread Marius Hofert
Hi, Here is some R code, that, when put in an R script (.R), shows some strange behaviour (see sessionInfo() etc. below) under ess-version: 16.10-1. (foo <- matrix(rnorm(100), ncol = 5)) L <- matrix(c(2, 0, 0, 6, 1, 0, -8, 5, 3), ncol = 3, byrow = TRUE) Sigma <- L %*%