Richard M. Heiberger | 1 Aug 15:54 2007
Picon

Re: windows ddeclient delay

I see the same delay behavior from emacs 21.3.50.1 and 22.1

I am using the official  emacs-22.1-bin-i386.zip  with no added
packages.

Please have the S-Plus GUI visible.
Please start both versions

with
   emacs -q --no-site-file

then
   M-x load-file RET /your.path/to/ess-site.el

then
   M-x S+6-msdos-existing RET
and start timing.

I need to know how many seconds until the #S+6 line appears in the GUI
and how many more until the options(STERM='ddess') line appears in the GUI.

I am at a conference, so I won't be able to investigate thoroughly for
a few days.

Rich

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

(Continue reading)

Vincent Goulet | 1 Aug 16:50 2007
Picon

Re: starting dir

Le 07-07-30 à 17:11, Stephen Bond a écrit :

> How can I make ESS start from a certain directory and not the default?
> Thank you all.
>
> Stephen C. Bond
> Queen's University

 From C-h v ess-ask-for-ess-directory RET :

ess-ask-for-ess-directory is a variable defined in `ess-cust.el'.
Its value is t

Documentation:
*If non-nil, the process directory will be requested each time S is run.

(I think 't' is the default value.)

HTH    Vincent

---
   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

(Continue reading)

Stephen Bond | 1 Aug 17:20 2007
Picon
Picon

Re: starting dir

Vincent,

if I change that variable to nil then it just dumps me into the default
dir. what I wanted is to specify a default work dir which is not the emacs
dir.
thank you

Stephen C. Bond
Queen's University

On Wed, 1 Aug 2007, Vincent Goulet wrote:

> Le 07-07-30  17:11, Stephen Bond a crit :
>
> > How can I make ESS start from a certain directory and not the default?
> > Thank you all.
> >
> > Stephen C. Bond
> > Queen's University
>
>  From C-h v ess-ask-for-ess-directory RET :
>
> ess-ask-for-ess-directory is a variable defined in `ess-cust.el'.
> Its value is t
>
> Documentation:
> *If non-nil, the process directory will be requested each time S is run.
>
> (I think 't' is the default value.)
>
(Continue reading)

Vincent Goulet | 1 Aug 21:20 2007
Picon

Re: starting dir

Le 07-08-01 à 11:20, Stephen Bond a écrit :

> Vincent,
>
> if I change that variable to nil then it just dumps me into the  
> default
> dir. what I wanted is to specify a default work dir which is not  
> the emacs
> dir.

Well, if the variable is 't', you should be prompted for a working  
directory (presuming you work with some flavor of S). The default  
that will prposed to you is what Emacs consider to be its current  
working directory, much like when you find a file.

For example, if you have a file ~/work/toto.R opened and you do 'M-x  
R RET', Emacs/ESS should prompt you for a working directory for the R  
session, proposing as default ~/work/.

Is this what you want?

Cheers,

Vincent

> thank you
>
> Stephen C. Bond
> Queen's University
>
(Continue reading)

Stephen Eglen | 2 Aug 14:42 2007
Picon
Picon

Re: starting dir

Vincent Goulet writes:
 > Le 07-08-01 à 11:20, Stephen Bond a écrit :
 > 
 > > Vincent,
 > >
 > > if I change that variable to nil then it just dumps me into the  
 > > default
 > > dir. what I wanted is to specify a default work dir which is not  
 > > the emacs
 > > dir.
 > 
 > Well, if the variable is 't', you should be prompted for a working  
 > directory (presuming you work with some flavor of S). The default  
 > that will prposed to you is what Emacs consider to be its current  
 > working directory, much like when you find a file.
 > 
 > For example, if you have a file ~/work/toto.R opened and you do 'M-x  
 > R RET', Emacs/ESS should prompt you for a working directory for the R  
 > session, proposing as default ~/work/.

See also ess-directory:

(setq ess-directory "/tmp")
(setq ess-ask-for-ess-directory t)

M-x R
Stephen

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

Martin Maechler | 2 Aug 08:40 2007
Picon

Re: starting dir

       [MM: this was accidentally (typo by me) not forwarded to the list]

>>>>> "VG" == Vincent Goulet <vincent.goulet <at> act.ulaval.ca>
>>>>>     on Wed, 1 Aug 2007 15:20:28 -0400 writes:

    VG> Le 07-08-01 à 11:20, Stephen Bond a écrit :
    >> Vincent,
    >> 
    >> if I change that variable to nil then it just dumps me
    >> into the default dir. what I wanted is to specify a
    >> default work dir which is not the emacs dir.

    VG> Well, if the variable is 't', you should be prompted for
    VG> a working directory (presuming you work with some flavor
    VG> of S). The default that will prposed to you is what
    VG> Emacs consider to be its current working directory, much
    VG> like when you find a file.

    VG> For example, if you have a file ~/work/toto.R opened and
    VG> you do 'M-x R RET', Emacs/ESS should prompt you for a
    VG> working directory for the R session, proposing as
    VG> default ~/work/.

    VG> Is this what you want?

Hmm, I'm pretty sure he is looking  for ess-directory

Stephen, type  
	 C-h v ess-directory [Enter]

(Continue reading)

Stephen Bond | 7 Aug 16:08 2007
Picon
Picon

commenting region

Is there a way to comment out a whole region in ESS similar to the emacs
capability in C and Fortran modes?

Thank you all

Stephen C. Bond

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

Stephen Eglen | 7 Aug 16:18 2007
Picon
Picon

commenting region

Stephen Bond writes:
 > Is there a way to comment out a whole region in ESS similar to the emacs
 > capability in C and Fortran modes?

You should find that the same commenting commands apply in ESS to
those in C, e.g. M-; and M-x comment-region

Stephen

File: ess.info, Node: Indenting, Next: Other edit buffer commands,
Prev: Evaluating code, Up: Editing

7.5 Indenting and formatting S code
===================================

ESS now provides a sophisticated mechanism for indenting S source code
(thanks to Ken'ichi Shibayama).  Compound statements (delimited by `{'
and `}') are indented relative to their enclosing block.  In addition,
the braces have been electrified to automatically indent to the correct
position when inserted, and optionally insert a newline at the
appropriate place as well.  Lines which continue an incomplete
expression are indented relative to the first line of the expression.
Function definitions, `if' statements, calls to `expression()' and loop
constructs are all recognized and indented appropriately.  User
variables are provided to control the amount if indentation in each
case, and there are also a number of predefined indentation styles to
choose from.

   Comments are also handled specially by ESS, using an idea borrowed
from the Emacs-Lisp indentation style.  By default, comments beginning
(Continue reading)

Charles C. Berry | 7 Aug 17:35 2007

Re: commenting region


M-; runs the command comment-dwim
   which is an interactive compiled Lisp function in `newcomment.el'.
It is bound to M-;.
(comment-dwim arg)

Call the comment command you want (Do What I Mean).
If the region is active and `transient-mark-mode' is on, call
   `comment-region' (unless it only consists of comments, in which
   case it calls `uncomment-region').
Else, if the current line is empty, insert a comment and indent it.
Else if a prefix arg is specified, call `comment-kill'.
Else, call `comment-indent'.
You can configure `comment-style' to change the way regions are commented.

Google 'ESS comment region' for more discussion.

On Tue, 7 Aug 2007, Stephen Bond wrote:

> Is there a way to comment out a whole region in ESS similar to the emacs
> capability in C and Fortran modes?
>
> Thank you all
>
> Stephen C. Bond
>
> ______________________________________________
> ESS-help <at> stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
>
(Continue reading)

Kasper Daniel Hansen | 7 Aug 23:32 2007
Picon

Re: commenting region

The short answer is "yes and it works in exactly the same way with  
the same keybinding" (M-;)

Did you try at all?

Kasper

On Aug 7, 2007, at 8:35 AM, Charles C. Berry wrote:

>
>
>
> M-; runs the command comment-dwim
>    which is an interactive compiled Lisp function in `newcomment.el'.
> It is bound to M-;.
> (comment-dwim arg)
>
> Call the comment command you want (Do What I Mean).
> If the region is active and `transient-mark-mode' is on, call
>    `comment-region' (unless it only consists of comments, in which
>    case it calls `uncomment-region').
> Else, if the current line is empty, insert a comment and indent it.
> Else if a prefix arg is specified, call `comment-kill'.
> Else, call `comment-indent'.
> You can configure `comment-style' to change the way regions are  
> commented.
>
>
> Google 'ESS comment region' for more discussion.
>
(Continue reading)


Gmane