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

Riccardo Romoli | 18 Oct 10:10 2014
Picon

Remote R session

Hi to everybody, I use R(3.1.1) in Debian wheezy with emacs23 and ess 13.09-1. I would run an R process on a
remote machine from an R script in my laptop. So from within emacs I load my R script, I ssh to the remote
machine and start a new R session, than I use M-x ess-remote to connect the remote R process to my local R
script. All works well until I try to load some function from my laptop (local machine) and send it to the
remote R. Whenever I try to do this I get the following error:

source('myFunction.R') Error in file(filename, "r", encoding = encoding) : cannot open the connection
In addition: Warning message: In file(filename, "r", encoding = encoding) : cannot open file
'myFunction.R': No such file or directory

If I switch to the R console and I getwd() the console says that I am in the home directory of the remote machine.

I followed the instruction from the paragraph 3.3 in ess web-site. 
Where do I wrong? Should I place all my data and scripts in the remote machine?! Is there a way to work with the
scripts from my local pc?!

All the best, Riccardo

--

-- 
	[[alternative HTML version deleted]]

______________________________________________
ESS-help <at> r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help
Georg Otto | 17 Oct 15:18 2014
Picon
Picon

ESS 14.09 File mode specification error


Dear all,

I upgraded ESS to version 14.09 and now I receive an error message when
opening a file file.R containing R code.

$ emacs test.R

The error message is:

File mode specification error: (wrong-number-of-arguments
called-interactively-p 1)

In addition, the test.R file is not recognized properly. However, R
processes run correctly in ESS

Any idea what is going on?

Best wishes,

Georg

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

Vitalie Spinu | 17 Oct 03:45 2014
Picon

Re: Setting paths to R versions in different directories


Theoretically, it should be enough to have a sim-link of your R binaries
into your bin path. This seems to work very well for
Martin. Unfortunately it never worked for me. I have multiple R
installed and simlinked but I don't see any of them.

I had in plan to check what is going on for ages and never got down to
it as it never bothered me that much.

As a quick workaround you can have:

   (defun R-x.y.z ()
     (interactive)
     (let ((inferior-R-program-name "path/to/xyz/R"))
       (R)))

 Vitalie

 >>> Brian Hobbs on Thu, 16 Oct 2014 15:51:56 -0400 wrote:

 > Hello all,
 > I am trying to customize my ESS so that I can easily refer to older version
 > of R as needed to use packages that are not compatible with the most up to
 > date R version.

 > I am currently running GNU Emacs 24.1.1 with ESS Version 14.09. I use Emacs
 > and ESS on a linux server where the main R version is kept at /local/bin/R
 > which refers to version 3.1.1 via a symbolic link.

 > When I am in Emacs and type M-x R-[tab] I do not see any R versions come up
(Continue reading)

Raghu Naik | 16 Oct 22:56 2014
Picon

configuring ess-pdf-view-pref for forward and inverse search.

Guys,

I am new to emacs/auctex/ess and ubuntu as well. 

Based on some online search, I have been able to configure my .tex documents
for forward and inverse search with Okular. 

I am having difficulty doing that when I use a .Rnw file. My relevant .emacs
code is below. I would appreciate any help.

I am using the latest versions of emacs, ess, auctex, and R. 

Regards.

Raghu

________.emacs code_______________________________________

(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(LaTeX-command "latex -synctex=1")
 '(TeX-PDF-mode t)
 '(TeX-source-correlate-method (quote synctex))
 '(TeX-source-correlate-mode t)
 '(TeX-source-correlate-start-server t)
 '(TeX-view-program-list (quote (("Okular" "okular -unique %o#src:%n%b"))))
 '(TeX-view-program-selection (quote ((output-pdf "Okular") ((output-dvi
(Continue reading)

Brian Hobbs | 16 Oct 21:51 2014
Picon

Setting paths to R versions in different directories

Hello all,

I am trying to customize my ESS so that I can easily refer to older version
of R as needed to use packages that are not compatible with the most up to
date R version.

I am currently running GNU Emacs 24.1.1 with ESS Version 14.09. I use Emacs
and ESS on a linux server where the main R version is kept at /local/bin/R
which refers to version 3.1.1 via a symbolic link.

When I am in Emacs and type M-x R-[tab] I do not see any R versions come up
in my completions list. My current completions list is:
Possible completions are:
R-fix-T-F                 R-initialize-on-start     R-mode
R-newest                  R-site-search             R-transcript-mode

I had seen that you could set R-devel in older versions of ESS, but I do
not see that as a variable now.

I have explored the variable (ess-r-versions-created) and found its value
to be nil. I then looked at (ess-rterm-version-paths) and also found that
to have a value of nil.

I then tried to edit my .emacs file to set the (ess-rterm-version-paths)
variable to the path to R version 3.0.1 located in my bin with the
following addition to my .emacs file under (custom-set-variables

'(ess-rterm-version-paths "/udd/user/bin/R-3.0.1")

However, this only updated the ess-rterm-version-paths variable and did not
(Continue reading)


Gmane