Eshien Chong | 19 Nov 14:59 2014

ESS and Stata problem

Dear list members,

Im new to Emacs and Im trying to use R and Stata through ESS. Ive added (require ess-site) in my .emacs
file, set the environmental path leading to Stata 11 in .bashrc (Im using Mac OS Mavericks). Im able to
start Stata both in Emacs (in *shell*) and from in the command line,  but when I try to send my Stata codes in a
do file using C-c C-c, Statas GUI launches, but the codes are not received by Stata. The buffer hangs
unless I do a C-g. I do not get any errors in the *Messages* buffer, and I get the following message in *ESS* buffer:

Finished setting up ESS-mode.
ess-request-a-process: {beginning}
 ... request-a-process:
  major mode ess-mode; current buff:; ess-language: STA, ess-dialect: stata
 ..start-process-specific: lang:dialect= STA:stata,
(STA): ess-dialect=stata , 
(inf-ess 1): lang=STA, dialect=stata, tmp-dialect=stata,
(inf-ess 1.1): procname=stata temp-dialect=stata, buf-name=*stata* 
(inf-ess 2.0) Method #3 start=/Users/eshienchong/Documents/Projets/ buf=*stata*
(ess-setq-vars-LOCAL): language=STA, dialect=stata, buf=nil, comint..echoes=nil, comint..sender=comint-simple-send
(inf-ess 2.1): ess-language=STA, ess-dialect=stata buf=*stata* 
(ess-setq-vars-LOCAL): language=STA, dialect=stata, buf=nil, comint..echoes=nil, comint..sender=inferior-ess-input-sender
(i-ess 1): buf=*stata*, lang=STA, comint..echo=t, comint..sender=inferior-ess-input-sender,
(i-ess end): buf=*stata*, lang=STA, comint..echo=t, comint..sender=inferior-ess-input-sender,
(inf-ess 3.0): prog=stata, start-args=, echoes=t
Making Process...Buf *stata*, :Proc stata, :Prog stata
Start File=nil
(inferior-ess: waiting for process to start (before hook)

Evaluating the code using debug-on-quit yields the following backtrace:

(Continue reading)

Main, Regan | 18 Nov 21:01 2014

Error occurs while loading ~/.emacs


We recently installed Emacs on a linux server and are having difficulty getting it to load our .emacs files. 
When I open emacs in debug mode, I get the following notes in the backtrace buffer:
Debugger entered--Lisp error: (void-function resize-minibuffer-mode)
  eval-buffer(#<buffer  *load*≥ nil "/home/rmain/.emacs" nil t)  ; Reading at buffer position 2274
  load-with-code-conversion("/home/rmain/.emacs" "/home/rmain/.emacs" t t)
  load("~/.emacs" t t)
  #[nil "^H\205\264^ <at>    \306=\203^Q^ <at> \307^H\310Q\2027^ <at>  \311=\2033^ <at> \312\307\313\314#\203#^ <at> \315\2027^ <at> \312\307\313\316#\203/^ <at> \317\2027^ <at> \315\2027^ <at> \307^H\320Q^Z\321^S\322\n\321\211#\210^K\321=\2$

Can someone help me troubleshoot this issue please?  We are using Emacs 23.1.

Thank you,
-Regan Main


This email message is for the sole use of the intended r...{{dropped:9}}

ESS-help <at> mailing list

Arni Magnusson | 17 Nov 13:10 2014

ADMB support in ESS

Dear ESS developers (core and contributors),

ESS provides Emacs support for a suite of statistical programming 
languages: R, SAS, Julia, etc. I'm wondering whether I can suggest adding 
support for ADMB.

AD Model Builder (ADMB) is a free statistical software environment (a 
layer on top of C++) that handles nonlinear models with a large number of 
parameters and random effects. It has been downloaded several 1000 times 
and cited several 100 times in publications:

As an ADMB core developer, I have written and maintained an `admb-mode' 
for Emacs:

It is a standard major mode and follows the Emacs major mode conventions, 
as outlined in the Lisp reference manual. It provides syntax highlighting, 
IDE compilation and file manipulation, outline code navigation, templates, 
and smaller tools.


Until now, I have distributed admb.el from the website, 
(Continue reading)

Vincent Goulet | 16 Nov 18:27 2014

Emacs 24.4 Modified for Windows

The Windows version of my distribution of GNU Emacs 24.4 is finally out:

The long delay (close to a month) is due to the time it took GNU to release official Windows binaries. ANd then
a few more hours to adapt my build scripts to the new Emacs directory structure...

The distribution still includes ESS 14.09. Otherwise, from the NEWS file:

Version 24.4-modified-1 (16 November 2014)


o GNU Emacs 24.4 released October 20, 2014.

o org 8.2.10


o The icon provided in the program group to edit the site
  configuration file has been deleted. It no longer served any good
  purpose now that ESS is able to locate all (sensibly located)
  versions of R on the system.

o The directory structure in the Emacs installation directory changed
  significantly upstream. Most files are now located in the
  ...\share\emacs directory.

o Due to difficulty building the Org manuals on Windows, the PDF
(Continue reading)

Boylan, Ross | 13 Nov 23:58 2014

ESS default R not the newest (MS Windows)

I just installed the latest R, but when I start emacs (using ess from git yesterday)  and M-x R I get version
3.0.2.  This is on Win 7.  Oddly, M-x R-newest gets me 3.1.2.

I believe this is because 3.0.2, and a bunch of earlier files, are in my personal directory
(C:\Users\rdboylan\Documents\R), while the latest R is in a system directory (C:\Program Files\R).

Is there some way I can convince ESS to use the latest R as default?  Is the current behavior intentional on the
theory that personal installations are preferred?

Ross Boylan
ESS-help <at> mailing list

Ista Zahn | 13 Nov 04:07 2014

Auto-complete args with zero characters

Hi all,

I'd like to get auto-completion of function arguments with zero
characters. The ESS change log for version 12.09 says " R AC sources
are no longer auto-starting at 0 characters but at the default
ac-auto-start characters". Is there a way to re-enable 0 character
auto-complete in ESS?


ESS-help <at> mailing list

Grant Rettke | 12 Nov 03:16 2014

Anyone get "Text is read-only" issues lately?

Good evening,

Someone how I've gotten my system into the state where I get the
simple error message after starting R:

"R-initialize-on-start: Text is read-only
self-insert-command: Text is read-only"

At which point I can no longer send commands to the repl or type them
in directly.

I'm a little hesitate to ask more than:

"Is anyone else facing this?"

Because I haven't seen any current posts as such.

My problem is that I literally have absolutely no clue what I changed,
and I need to start digging.

Any ideas on where I might move forward here?

What I have done:

1. Updated ess
2. Commented out .Rprofile and .Renviron.
3. Removed all ess personal configurations; only a require to 'ess-site is made.
4. Removed all Customize settings that were set.

(Continue reading)

Richard M. Heiberger | 7 Nov 01:09 2014

Re: Using ESS with S-plus 8.1

The etiquette of this list is to stay on the list.  I am ccing the
reply to the list.

On my 64-bit Windows 8.1 with ESS 13.09-2



M-x S on Windows doesn't work with current ESS.  That is part of what
we need to repair.

Do you have your S-Plus in a non-standard location?

If you get a message about sh, that means you don't have cygwin on your
In that case you need to use
M-x S+6-msdos-existing
It still won't work with current ESS for talking to the S-Plus (S+) GUI.
It doesn't crash.  It just locks up emacs.  Use C-g a few times to unlock it.

Until the repair is made, you will have to use an older ESS.
You can get the older ESS from the site
click on the Download tab, and then on the archive link.

As I wrote yesterday, ESS 5.14 works in your situation.

(Continue reading)

Tayler Lawrence Jones | 5 Nov 23:28 2014

Using ESS with S-plus 8.1

Hello all,

I'm working on a project that is in S+ 8.1, and I am using Windows 7 with
the latest packaged ESS from Vincent. The folder to splus.exe and sqpe.exe
is in PATH.

Is there anyway to get that version of S+ running in ESS?
R works no problem. S+, however, is nothing but trouble.

M-x S tells me to run from icon, then use M-x S-existing.
Doing so with M-x S-existing causes emacs to hang up and crash.
M-x Sqpe lets me select a starting directory, but then gives the error
'spawning child process: invalid argument' and nothing happens.

I have tried adding these lines of code to my .emacs file (based on some
outdated mailing list threads), but the result is the same:

(require 'ess-site)(setq-default inferior-S-program-name "C://Program
Files (x86)//TIBCO//splus81//cmd//SPLUS.exe")(setq-default
inferior-Sqpe-program-name "C://Program Files

Note: I have tried with single slashes as well.

I get the same result if I do S+6, Sqpe+6, etc.

Does anyone know if this is even possible? I am an emacs fiend, so it
drives me crazy that S+ won't work in ESS for me.

Thanks for any help!
(Continue reading)

Grant Rettke | 4 Nov 19:23 2014

How to make `ess-quit' *not* start up R if it is not already running?

Good afternoon,

Sometimes I get lazy and run `ess-quit' to shut down R buffers because
I usually have a few open.

Sometimes I get lazier and forget if I even have any R buffers open.
When I don't, ess starts up R for me,
and then closes it at my requests.

I am curious if I can make ess smarter and not even bother to start up
a new R process in this case?

Kind regards,

Grant Rettke
gcr <at> |
“Wisdom begins in wonder.” --Socrates
((λ (x) (x x)) (λ (x) (x x)))
“Life has become immeasurably better since I have been forced to stop
taking it seriously.” --Thompson

ESS-help <at> mailing list
Steve Nunez | 4 Nov 18:11 2014

could not find function

Hello all,

Ive got a brand new installation of Emacs 24.4 on MacOS 10.9.4, along with
ESS 14.09 downloaded today. When trying to invoke any of the help function
for R I get the error in the subject line. Looking at the ESS buffer I see:

> (ess-help '*help[R](mean)*' start  ..
>  |--> t [searching nil]
> (ess-help: kill bogus buffer *help[R](mean)* ..

It seems like this has been occurring on and off for a while now. I see
messages related to the topic appearing about a year ago, but I havent seen
any real cause identified. Anyone got any ideas?

- Steve

P.S. In the Emacs 23 and ESS 13 installation I had previously this was all
working fine. Now I wish I had saved that set-up before upgrading. Lesson


CONFIDENTIALITY NOTICE\ NOTICE: This message is intended...{{dropped:17}}

ESS-help <at> mailing list