Questions tagged [ess]

ESS (Emacs Speaks Statistics) is an emacs add-on for editing scripts and interacting with statistical programs such as R, Stata or SAS.

Filter by
Sorted by
Tagged with
1
vote
0answers
89 views

ESS C-RET does not add a new line at the end of buffer

According to the doc, since ESS 12.09 ESS: ess-eval-*-and-step functions go to next empty line at eob, instead of staying at the last line. However, when I hit C-RET at the end, it still says on the ...
1
vote
0answers
185 views

Get company completion without evaluation in ess

Is it possible to do completion without evaluating the buffer in ess-mode/R-mode which uses company-R-objects and company-R-args as backends ? Backends like company-jedi can do completion without ...
1
vote
0answers
70 views

What is the best way to modify an existing function from a package?

There is a function in ESS called ess-sas-goto-log (https://github.com/emacs-ess/ESS/blob/master/lisp/ess-sas-a.el#L705) that will open a log file and search forward using re-search-forward. I would ...
1
vote
0answers
32 views

ESS hooks breaking buffers not associated with files

This is a weird one, for me: I use both ESS (for R programming) and gist.el for (surprise!) interacting with github gists. Except, now I have a problem: every time I try to view a gist locally, ESS's ...
1
vote
0answers
157 views

Control-Enter doesn't work in ESS?

I checked my ess/lisp/ess-mode.el file and it has the line of code I'm expecting for this to work (below). Anyone know why this would happen? (define-key map [(control return)] 'ess-eval-region-or-...
1
vote
0answers
189 views

ESS ignores R_LIBS_USER environment variable

I have the following in my .bashrc export R_LIBS_USER="/home/wdkrnls/R/lib/3.2" When I start R from the shell I see (even in Emacs M-x shell): .libPaths() [1] "/home/wdkrnls/R/lib/3.2" "/usr/lib/R/...
1
vote
0answers
162 views

ESS major modes keybindings do not work

I am connecting from a Windows machine to a Linux server via Putty (http://blog.harang.org/?tag=putty). There I start Emacs and open a script written in the statistical language R. When I open the ...
0
votes
1answer
1k views

ESS R error: searching for program

I have installed emacs on windows 10 working ok so far. Installed R and ESS. Set system and user path to Rterm.exe as read in some forums. Restarted and opened a R file in emacs. Syntax coloring is ...
0
votes
1answer
100 views

Emacs 26.3 cannot call R

After updated to macOS Catalina (10.15) I've been trying to use R in Emacs 26.3. However, Emacs is not fetching R by using M-x R (Emacs says [No match]). I already checked the paths for both R and ...
0
votes
1answer
168 views

Evaluate single line of python code from Emacs org-babel

Consider a block of python code in an org-mode document: #+begin_src python num1 = input("Enter a number: ") num2 = input("Enter another number: ") result = float(num1) + float(num2) print(result) #...
0
votes
2answers
135 views

underscore (“_”) randomly stops working for ESS

I am using iESS console and editor (ESS) for R programming, and often times (and randomly) the _ stops resulting in <-. To temporarily hack it, I found that I could use ess-toggle-underscore or ...
0
votes
1answer
524 views

ESS installation does not initialize flymake

I install ESS following these directions, adding these to ~/.emacs: (require 'package) (add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/")) (add-to-...
0
votes
1answer
536 views

ESS not installable (Ubuntu 18.04)

The day before yesterday, I have experienced my Ubuntu package ess (Version: 17.11-3bionic0) no more configuring properly during apt-get update. I then tried apt-get install -d ess and: dpkg -i /var/...
0
votes
1answer
99 views

Printing tibbles in iESS with many columns extremely slow

When I print large tibbles from R it takes a very long time and the iESS buffer runs extremely slowly thereafter (huge lag moving the cursor throughout the buffer or typing). The code below takes 5 ...
0
votes
1answer
47 views

ESS dendrograms: appearance of last branch

In R it is possible to customise the appearance of a dendrogram and set a custom start character for the last branches. According to the documentation: In some environments, using ' will provide ...
0
votes
1answer
120 views

How Do you export only R code from Rnw file

I am working with knitr, polymode, ess and I would like to export just the R code from my .Rnw into a .R file. A basic file might look something like this: \documentclass[a4paper]{article} My Rnw ...
0
votes
1answer
18 views

How to get ess-describe-object-at-point to delete-window when I am done?

I am reading this function and still don't see why it doesn't delete both the buffer and window. Currently it open a new window, and when I hit C-g another buffer (even duplicated to the one I am ...
0
votes
0answers
7 views

ESS/Org-babel - remove long prompt

Consider the following org-babel code block: #+BEGIN_SRC R :session *R* getwd() #+END_SRC If I first enter org-edit-special and then ess-eval-line my *R* buffer displays as expected: > getwd() ...
0
votes
2answers
21 views

Set ESS working directory from header-args with org-babel sessions

I am experiencing a very strange behavior with org-babel code blocks. When I operate without the :session tag, I am free to use :dir to set my working directory. As you can see, the following code ...
0
votes
0answers
21 views

Evaluate org-babel header arguments consistently

Consider the following org-babel code block: #+BEGIN_SRC R :session *R* :dir ~/_test getwd() #+END_SRC When I C-c C-c on my source block, I get the following result, as expected: #+RESULTS: : /...
0
votes
0answers
32 views

run bibtex in a Knitr workflow in Emacs?

I have used version 18.10.2 of ess (see question https://stackoverflow.com/questions/60445059/where-is-ess-version-19-04) and followed the directions at how to setup Knitr workflow in Emacs? to get to ...
0
votes
0answers
12 views

Autocompletion in R files set `truncate-lines` to `t` (spacemacs)

I use the ess layer in spacemacs to work with R files. After an autocompletion, the variable truncate-lines is set to nil. Furthermore, during the time the complexion box is on the screen, the lines ...
0
votes
0answers
32 views

Stop Emacs From Moving Text / Point to Bottom of Screen

I don't fully understand what is happening but I would like it to stop - I am using org-mode and ESS, and when I am in an R src block, things like hitting tab to auto-indent a line of code cause point ...
0
votes
0answers
24 views

No filename completion with Eglot and R

Using ESS with emacs I have automatic filename completion. So, when I am withing "./" and hit TAB, it shows me a list of files and directories within that directory. However, after installing eglot ...
0
votes
0answers
72 views

Compile multiple Rnw files

If we divide our Rnw file into multiple files, is it possible to create the whole document using knitr and LaTeX in Emacs by pressing M-n e on a child file? I guess the process above should be ...
0
votes
0answers
50 views

Projectile renaming buffer name causing issues with ESS (ctrl enter) functionality

I have recently installed projectile package into my Emacs. It's great package, however, now my C-RET binding to ESS (R) is not working any more. Part of my current init.el related to ESS looks like ...
0
votes
0answers
47 views

How to “manipulate” using R in Emacs

In Rstudio one can use library manipulate to interactively change the plot over some parameters(mu). When you use this in emacs ESS it gives error: function(mu){ plot(mu) } manipulate(myfunc(mu),mu = ...
0
votes
1answer
378 views

autoload-do-load: Wrong type argument: consp, nil

I've encountered a problem after upgrading Emacs Speaks Statistics (ESS) from MELPA today to ess-20180926.54. When I try to start an R session under Emacs with M-x R I'm informed... autoload-do-load:...
0
votes
1answer
621 views

ESS install fails on Ubuntu 18.04

I had previously installed and used Emacs 25.2.2 and ESS 17.11 on Ubuntu 18.04 (Bionic Beaver). While attempting to update to the latest version of ESS, the ESS install script appears to have failed (...
0
votes
1answer
107 views

Why can't I bind tab to multiple spaces? [duplicate]

I'm trying to bind tab to either a tab or multiple spaces in Latex/ESS-noweb mode but I can't get it to work. I tried (local-set-key (kbd "<tab>") 'self-insert-command) which didn't work, and ...
0
votes
0answers
123 views

Tramp to HPC server node

I am new to Emacs and one thing I really like about it is the "tramp". I use R with ESS and usually "tramp" to my work computer from home. We also have an HPC server and I am wondering whether it is ...
0
votes
1answer
34 views

Making ESS recognize #'

I just upgraded to modified Emacs http://vgoulet.act.ulaval.ca/en/emacs/mac/ When I used to work in R files, #' was recognized by ess-mode such that hitting [Enter] at the end of a line that began ...

1 2
3