Sparapani, Rodney | 31 Oct 20:20 2014
Picon

FYI: ESS SVN retired: all development now on GitHub

The ESS developers have decided to move from SVN to Git and GitHub.
This was not an easy decision, but we hope this provides a more
collaborative environment which encourages development and bug-fixes
from the masses.  SVN has served us well over the years, but as the
number of Git push requests has recently increased we hope to
encourage this trend.  We want to take this opportunity to thank the
R Foundation for hosting our SVN repo over these many years.

The current, as well as previous versions, of ESS are available
for download on GitHub https://github.com/emacs-ess/ESS

On GitHub, you can download every released version of ESS which have
been tagged.  Click on a dropdown that shows "master" and select tags.
Select one and then "Download Zip".

More detailed instructions on how to retrieve ESS in particular, or
how to work with Git in general, can be found in the following
documents:

ESS - Emacs Speaks Statistics - Manual, Section 1.4 
http://ess.r-project.org/Manual/ess.html#Latest-version

Git Docs
http://git-scm.com/documentation

GitHub Help
http://help.github.com

The ESS Core Developers

(Continue reading)

Lucas Holland | 30 Oct 11:52 2014
Picon

Changing keybindings in the interactive R shell

Hello all,

in my .emacs file I have set a global key binding that maps M-n to '(lambda () (interactive) (insert "~“)),
so that pressing M-n inserts a tilde character. When I’m in the interactive R mode in ESS, M-n is by
default bound to comint-next-input. What I’d like to do is to change this so that M-n inserts a tilde and
comint next-input is instead bound to M-ü. 

I’ve tried:

(add-hook 'inferior-ess-mode-hook
	    '(lambda()
	       (local-set-key [\M-n] '(lambda () (interactive) (insert "~")))
	       ))

to override the M-n keybinding but that doesn’t work (i. e. M-n still runs comint-next-input). I also
don’t know how to get the M-ü binding working.

Any help would be appreciated!

Thanks!

Lucas
______________________________________________
ESS-help <at> r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help
"Gérald Jean" | 28 Oct 18:03 2014
Picon

Re : Re: Re : Re : Re: Re : Re: R-versions

Hello,

I am a little ashamed to admit it, but after well over 10 years of work under Unix / Linux I had never used
symlinks before. I did as suggested by Vitalie and Martin, got rid of all the messing around with the Linux
PATH and/or Emacs exec-path variables and ESS found all versions of R pointed to by the symlinks and, of
course, the version installed by admin in the regular location.

Thanks to both of you and I have the feeling it's not the last time I'm using symlinks!!!

Gérald

Le 27/10/14, Vitalie Spinu  <spinuvit <at> gmail.com> a écrit :
> 
> 
> The problem seems to be that both of your Rs are named R. So ESS will
> pick only one of them. It looks like older path in exec-path takes
> precedence. In that case it's a bug.
> 
> As mentioned earlier in this thread, in order to get all your R's
> detected you simply need to simlink them to ~/bin:
> 
>  ln -s /actuaria/application/ess_app/RevolutionR/bin/R ~/bin/R-3-revo
>  ln -s /actuaria/application/terr/terr21/bin/R ~/bin/R-3-terr
>  ln -s /actuaria/application/ess_app/R-patched/bin/R ~/bin/R-patched
> 
> No exec-path hackery is necessary.
> 
>  Vitalie
> 
> 
(Continue reading)

Blair Christian | 27 Oct 22:25 2014

Interest in scala support?

Hi All,

I'm a 15 year emacs/statistics user (mainly R/Splus, some SAS), and our shop is getting ready to bring in
scala as a data analysis tool (we'll be doing some performance testing against pbdr early next year if
anybody is interested in hearing about that).

Long story short, I would like to know if there's any interest in supporting scala in ESS.  I saw (1) there was
some julia support (so I see at least one new language with REPL is in ESS) and (2) most of the scala IDEs (even
the notebooks in intellij (better) and eclipse) aren't anywhere near as useful to me as a good old ESS
session.  There are quite a few different types/versions of scala-modes in emacs, but they are using it
like a formal software development IDE (eg ensime) as opposed to focussing on the interpreter (REPL) for
interactive analysis.  [if I'm wrong here and there is already great emacs support for interactive scala
use, please let me know- I grepped through the scala and scala2 emacs modes for words like "submit",
"step", "line" and didn't see anything] [also, just to be
  clear, I'm not advocating any language over any other, it just happens that scala is what our architects
decided to go with for the next step of our development]

I'm happy to give some time to development if there is some interest - I have benefitted so much from the
community, otherwise I'll go back to the shadows.  Currently I'm probably a C+/B- emacs lisp programmer
(probably same for my use of ESS), and would need a little hand holding to get started.  [The main reason is
that ESS works so well for my meager needs and has sufficient documentation, that I never have a need to get
under the hood]

I did google site searches on ESS html and mailing list archive for scala and didn't see anything.

Any thoughts?  (offline comments welcome: bchristian <at> pyaanalytics.com)  I ran the idea by Tony R, and he
said it'd be best to start here and that he thought it was a good idea.

Best,
Blair
(Continue reading)

"Gérald Jean" | 27 Oct 15:46 2014
Picon

Re : Re : Re: Re : Re: R-versions

Hello Martin,

thanks again for your explanations. I am back to work this morning and trying to understand what is going on.

"/usr/bin" is in my PATH, calling "echo $PATH" either directly from the shell or from Emacs' shell yields
the same result and "/usr/bin" is included. It is also included in the Emacs' exec-path variable.

Starting R either from the native shell or from Emacs' shell starts the latest installed R version, i.e. 3.1.1

Without the line:

(setq inferior-R-program-name "/usr/bin/R") 

in my .emacs, starting R from Emacs' ESS starts the patched version installed in:

/actuaria/application/ess_app/R-patched/bin

To make this patched version of R available, and third parties versions of R available I had these lines in my .emacs

(setq exec-path (cons "/actuaria/application/ess_app/RevolutionR/bin" exec-path))
(setq exec-path (cons "/actuaria/application/terr/terr21/bin" exec-path))
(setq exec-path (cons "/actuaria/application/ess_app/R-patched/bin" exec-path))

If I comment out the line regarding the R-patched version and also comment out the line

(setq inferior-R-program-name "/usr/bin/R")

everything is fine, ESS starts the latest version of R, BUT R-patched is not available anymore. How do I set
things up so both are available? I do have write permission ine the "/actuaria/applications/..."
directories but not in "/user/bin" and other system's directories.
(Continue reading)

Chris Evans | 24 Oct 21:18 2014

Installing two different versions of Emacs and of ESS on Debian stable

I run Debian stable on my main laptop and a few other machines (web server, backup) and such is the pace of
development in ESS that I've been aware for a long time that the Debian stable version of Emacs (23.4.1)
holds me back from exploring the latest capabilities of ESS and I'd like to follow that because I'm torn
between Rstudio, which gets me a the ability to weave .Rmd to output into html, pdf and .  

However, I'd like to have the Debian stable version of Emacs and ESS available.  I think I've now got
something set up that works and I think if I add a bit to cron.daily I can even make sure that ESS is updated
daily if there have been changes in the subversion repository.  However, I'd like to check what I've done
with the experts on the list to see if it's the best way to do this.

What I've done is to download the latest version of Emacs as source from the Emacs site and make install so I
now have two versions of Emacs: the default Debian 23.4.1 (residing in /usr/bin/ ) and version 24.4.1 (in
/usr/local/bin/).  

I've added this to /home/chris/.emacs:
(cond
     ((string-match "23.4.1" (emacs-version))
        (message "customizing GNU Emacs for 23.4.1")
        (require 'ess-site)
        )
     )
(cond
     ((string-match "24.4." (emacs-version))
        (message "customizing GNU Emacs for 24.*")
        (load "/usr/share/emacs/site-lisp/ess-site")
        )
     )

Finally I've put this as a file updateESS in /etc/cron.daily:
#!/bin/bash
(Continue reading)

James W. MacDonald | 21 Oct 19:14 2014

Cursor placement

In the new Emacs version (24.4), when in an inferior R buffer, hitting the
up arrow to cycle through preceding lines of code places the cursor at the
_beginning_ of the line, instead of the default (for like, ever, as far as
I can remember) of the end of the line.

Is there a setting that I can change in my .emacs file to override this new
behavior?

Best,

Jim

--

-- 
James W. MacDonald, M.S.
Biostatistician
University of Washington
Environmental and Occupational Health Sciences
4225 Roosevelt Way NE, # 100
Seattle WA 98105-6099

	[[alternative HTML version deleted]]

______________________________________________
ESS-help <at> r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

Stephen Eglen | 21 Oct 09:09 2014
Picon
Picon

Emacs 24.4 released

Emacs 24.4 is out.

Stephen

https://groups.google.com/forum/#!topic/gnu.emacs.announce/uaeXKP2OAac

Highlights of this release include: 

  - A built-in web browser (M-x eww) 

  - Improved multi-monitor and fullscreen support 

  - "Electric" indentation is enabled by default 

  - Support for saving and restoring the state of frames and windows 

  - Emacs Lisp packages can now be digitally signed 

  - A new "advice" mechanism for Emacs Lisp 

  - File notification support 

  - Pixel-based resizing for frames and windows 

  - Support for menus in text terminals 

  - A new rectangular mark mode (C-x SPC)

______________________________________________
ESS-help <at> r-project.org mailing list
(Continue reading)

Andrew Dabrowski | 20 Oct 22:53 2014
Picon

Julia library ref

In the ESS wiki page for Julia 
(https://github.com/emacs-ess/ESS/wiki/Julia 
<https://github.com/emacs-ess/ESS/wiki/Julia>) it says:

    To look up for a topic [sic] in julia standard library reference:
    |C-c C-d C-r|.

But when I try that I get "Sorry, not implemented for dialect Julia".

Am I doing something wrong or has that feature simply not been 
implemented yet?

--

-- 
Andrew Dabrowski   || ...my suspicion is that the universe is
Indiana University || not only queerer than we suppose, but
Swain East 117     || queerer than we can suppose. -JBS Haldane

	[[alternative HTML version deleted]]

______________________________________________
ESS-help <at> r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

Christian Hoffmann | 20 Oct 15:21 2014
Picon

ESS 14.09 was Re: ESS-help Digest, Vol 139, Issue 12

I am seeing
  ESS 14.09 released
but I fail to find a simple way to use it (I am still with 13.09-1). My 
knowledge of elisp is too scanty to make sense of the directions 
supplied. Changing relevant files seems error prone to me.

Thanks for help.

--

-- 
Christian W. Hoffmann
CH - 8915 Hausen am Albis, Schweiz
Rigiblickstrasse 15 b, Tel.+41-44-7640853
mailto: christian <at> echoffmann.ch
home: www.echoffmann.ch

______________________________________________
ESS-help <at> r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

Vitalie Spinu | 19 Oct 01:02 2014
Picon

Re: ESS 14.09 File mode specification error

 >>> Georg Otto on Sat, 18 Oct 2014 14:16:37 +0100 wrote:

[...]

 > The cleanest way to test whether your function was called with
 > `call-interactively' is by adding an extra optional argument, and
 > making the `interactive' spec specify non-nil unconditionally for
 > that argument.  (`p' is a good way to do this.)

 Ok, reading this now. You are right. called-interactively-p in newer
 emacses is defined in lisp and has an additional, optional argument.

 I will get rid of it in ess-set-style which is the only place that can
 cause your error.

   Vitalie

______________________________________________
ESS-help <at> r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help


Gmane