Rodney Sparapani | 1 Feb 16:09 2006
Picon

Re: [ESS] SAS mode and commenting


>Just beginning with ess and emacs in general, so forgive me... 
>
>Using ess 5.2.11, gnu emacs 22.0.50.1, and win2000: 
>I have been experiemtning with the comment and autofill capabilities in ess
>[sas] and found that when i try to continue a comment i get a peculiar string 
>of reg expressions instead of a comment, for instance:
>
>M-; generates:  \*\|/\*  ;\|\*/
>
>And if i am typing a comment that should be wrapped, instead of postfixing the 
>appropriate end-comment character, it generates: ;\|\*/
>
>David
>  
>

Hi David:

I thought we fixed this.  What do you see on lines 561-564 of 
ess/lisp/essl-sas.el?
It should be:
    (comment-start                . "** ")
    (comment-start-skip           . "[*][*] ")
    (comment-end                  . " **;")
    (comment-end-skip             . " [*][*];")

It works for me using xemacs on solaris, but that shouldn't make any 
difference.
Thanks,
(Continue reading)

Rodney Sparapani | 1 Feb 16:31 2006
Picon

Re: [ESS] SAS mode and commenting

David Huffer wrote:

>I must have an old file.  I have essl-sas.el, and the last changes in the
>header show:
>;;; Last change: 2/1/95
>;;; Last change: 01/15/02
>
>I don't have a "comment-end-skip" in mine.  Starting on line 525, I see:
>
>(defvar SAS-editing-alist
>  '((sentence-end                 . ";[\t\n */]*")
>    (paragraph-start              . "^[ \t]*$")
>    (paragraph-separate           . "^[ \t]*$")
>    (paragraph-ignore-fill-prefix . t)
>    ;;(fill-paragraph-function      . 'lisp-fill-paragraph)
>    (adaptive-fill-mode           . nil)
>    (indent-line-function         . 'sas-indent-line)
>    ;;(indent-region-function       . 'sas-indent-region)
>    (require-final-newline        . t)
>    (comment-start                . "\\*\\|/\\*")
>    (comment-start-skip           . "\\*+")
>    (comment-end                  . ";\\|\\*/")
>    (comment-column               . 40)
>    ;;(comment-indent-function      . 'lisp-comment-indent)
>    (parse-sexp-ignore-comments   . t)
>    (ess-set-style                . ess-default-style)
>    (ess-local-process-name       . nil)
>    ;;(ess-keep-dump-files          . 'ask)
>    (tab-stop-list                . ess-sas-tab-stop-list)
>    (ess-mode-syntax-table        . SAS-syntax-table)
(Continue reading)

Rodney Sparapani | 1 Feb 18:09 2006
Picon

Re: [ESS] SAS mode and commenting

David Huffer wrote:

>OK, thanks.  Also I see there is a set of newer *.el files in
>https://svn.r-project.org/ESS/trunk/lisp/.  Is it safe to download the
>ess?-sas*.el files and replace them in my ess\lisp folder? I don't have a
>subversion client and you cant seem to ftp there. 
>
>Thanks!
>
>David
>  
>
Hi David:

Downloading essl-sas.el is another way to do it.  However, between releases,
ESS may not work at all.  You really only need to change those 4 lines 
to get

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

Jack Tanner | 1 Feb 19:38 2006
Picon

[ESS] buffer names

This seems like it would a FAQ, but I couldn't find an asnwer in either the 
manual or on the mailing list: I'm running two instances of R under ESS, and 
the buffers are helpfully named *R* and *R:2*. In addition, the two 
instances are different R versions (2.1.1 and 2.2.1, in my case). Is there 
any way I can get ESS to automatically name the buffer something like *R 
2.2.1* and *R 2.1.1* instead? After all, ESS knows that the R processes come 
from different binaries...

Thanks in advance.

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

A.J. Rossini | 1 Feb 21:25 2006
Picon

Re: [ESS] buffer names

Hmm -- not without writing some code (i.e. similar to how we deal with
either multiple or non-multiple version data).  Then we'd have   R
2.2.1:1, R 2.2.1:2, etc...

It's not a FAQ, you might be the first person I know who has requested
this on this mailing list.

On 2/1/06, Jack Tanner <ihok <at> hotmail.com> wrote:
> This seems like it would a FAQ, but I couldn't find an asnwer in either the
> manual or on the mailing list: I'm running two instances of R under ESS, and
> the buffers are helpfully named *R* and *R:2*. In addition, the two
> instances are different R versions (2.1.1 and 2.2.1, in my case). Is there
> any way I can get ESS to automatically name the buffer something like *R
> 2.2.1* and *R 2.1.1* instead? After all, ESS knows that the R processes come
> from different binaries...
>
> Thanks in advance.
>
> ______________________________________________
> ESS-help <at> stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
>

--
best,
-tony

blindglobe <at> gmail.com
Muttenz, Switzerland.
"Commit early,commit often, and commit in a repository from which we can easily
(Continue reading)

Jack Tanner | 1 Feb 21:58 2006
Picon

Re: [ESS] buffer names

Even if I'm the first to bring it up on the list, I'm probably not the first 
to have the idea. :)

It seems like it shouldn't be a costly feature; there shouldn't be any 
serious performance hit from running a version query just once per buffer, 
and it should help more users than it confuses... Would it break anything if 
buffer names changed? Would ESS have to create a buffer, run R, get the 
version, and then rename the buffer?

>From: "A.J. Rossini" <blindglobe <at> gmail.com>
>To: Jack Tanner <ihok <at> hotmail.com>
>CC: ess-help <at> stat.math.ethz.ch
>Subject: Re: [ESS] buffer names
>Date: Wed, 1 Feb 2006 21:25:52 +0100
>
>Hmm -- not without writing some code (i.e. similar to how we deal with
>either multiple or non-multiple version data).  Then we'd have   R
>2.2.1:1, R 2.2.1:2, etc...
>
>It's not a FAQ, you might be the first person I know who has requested
>this on this mailing list.
>
>
>On 2/1/06, Jack Tanner <ihok <at> hotmail.com> wrote:
> > This seems like it would a FAQ, but I couldn't find an asnwer in either 
>the
> > manual or on the mailing list: I'm running two instances of R under ESS, 
>and
> > the buffers are helpfully named *R* and *R:2*. In addition, the two
> > instances are different R versions (2.1.1 and 2.2.1, in my case). Is 
(Continue reading)

Barbara Warsavage | 2 Feb 05:12 2006
Picon

[ESS] ESS On Mac OS X 10.3(Panther)

I read and read and cannot figure out how to get emacs to recognize 
R-code on my MAC.  I'm entirely new to this.  Please help me.

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

A.J. Rossini | 2 Feb 05:37 2006
Picon

Re: [ESS] buffer names

No, it's much easier than that, especially if you use the R-version 
functions to initialize the interactive session.  It's just that I
don't have a copy of ESS or subversion on this computer to make the
quick changes needed.

It's extremely cheap, and we could post-hoc name the buffer as well,
but that gets a bit more complex -- again, relative to fixing most
messes in ESS, this is simple and will have almost no side-effects
(there's a list of ESS inferior (interactive) buffers that would need
to be adjusted if you did it post-hoc, but not if you did it when the
buffer is created).

On 2/1/06, Jack Tanner <ihok <at> hotmail.com> wrote:
> Even if I'm the first to bring it up on the list, I'm probably not the first
> to have the idea. :)
>
> It seems like it shouldn't be a costly feature; there shouldn't be any
> serious performance hit from running a version query just once per buffer,
> and it should help more users than it confuses... Would it break anything if
> buffer names changed? Would ESS have to create a buffer, run R, get the
> version, and then rename the buffer?
>
>
> >From: "A.J. Rossini" <blindglobe <at> gmail.com>
> >To: Jack Tanner <ihok <at> hotmail.com>
> >CC: ess-help <at> stat.math.ethz.ch
> >Subject: Re: [ESS] buffer names
> >Date: Wed, 1 Feb 2006 21:25:52 +0100
> >
> >Hmm -- not without writing some code (i.e. similar to how we deal with
(Continue reading)

A.J. Rossini | 2 Feb 05:44 2006
Picon

Re: [ESS] ESS On Mac OS X 10.3(Panther)

What did you read?

What version of Emacs and from who?

What version of ESS?

Did you consider one of the "preconfigured" mega-packages (i.e. I
thought that UCLA Statistics provided a batteries-included package
with R, Emacs, ESS, etc).

On 2/2/06, Barbara Warsavage <barbaraw <at> pacbell.net> wrote:
> I read and read and cannot figure out how to get emacs to recognize
> R-code on my MAC.  I'm entirely new to this.  Please help me.
>
> ______________________________________________
> ESS-help <at> stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
>

--
best,
-tony

blindglobe <at> gmail.com
Muttenz, Switzerland.
"Commit early,commit often, and commit in a repository from which we can easily
roll-back your mistakes" (AJR, 4Jan05).

______________________________________________
ESS-help <at> stat.math.ethz.ch mailing list
(Continue reading)

Vincent Goulet | 2 Feb 16:45 2006
Picon

Re: [ESS] ESS On Mac OS X 10.3(Panther)

Le 1 Février 2006 23:12, Barbara Warsavage a écrit :
> I read and read and cannot figure out how to get emacs to recognize
> R-code on my MAC.  I'm entirely new to this.  Please help me.

Have a look at Aquamacs <http://aquamacs.org> . It comes bundled with ESS. A 
student of mine used it successfully out of the box.

--

-- 
  Vincent Goulet, Associate Professor
  École d'actuariat
  Université Laval, Québec 
  Vincent.Goulet <at> act.ulaval.ca   http://vgoulet.act.ulaval.ca

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


Gmane