[ESS] ESS+Polymode Questions

Marc Schwartz m@rc_@chw@rtz @end|ng |rom me@com
Thu Mar 7 01:53:56 CET 2019


Hi All,

So I finally made the jump to polymode. Still getting use to the changes after having used ESS for circa 15 years or so on Windows, Linux and OSX/macOS.

Thanks to those involved in developing and maintaining polymode.

Three questions:

1. While the syntax highlighting seems to be generally preserved in terms of fonts and colors from ESS and auctex, the following text:

 <<results=*>>=

 @

that defines the boundary of an R chunk is bolded in black instead of red. I Googled for polymode colors but did not see anything obvious, so was wondering if someone can point me to the fontlock settings for the above to change it from black to red. Red stands out better for my aging eyes...


2. When starting an R session (M-x R), the new R buffer opens in a new frame to the right of the current frame, rather than in the current frame, as was the case with ESS. Is there a way to change this behavior so that it opens in the current frame? I generally work with my R/Rnw files in the top frame and the R session in the lower frame, so this is a quirk that I would like to change, if possible.


3. After opening a Rnw file and starting an R session, I get the following message in the flymake log buffer:

Warning [flymake FileName.Rnw[R]]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
Error [ess-r-flymake  *ess-r-flymake*]: Need ‘lintr‘ version > v1.0.3

I do have lintr version 1.0.3 installed from CRAN and, based upon a Google search, I have the following in my .emacs:

(remove-hook 'flymake-diagnostic-functions 'flymake-proc-legacy-flymake) 

prior to both ESS and polymode being loaded.

Is this a temporary situation pending a yet to be released version of lintr, or is there something else going on here?


Thanks!

Marc Schwartz


More information about the ESS-help mailing list