gerald.jean | 2 Mar 15:42 2005
Picon

[ESS] Running multiple S+ versions

Hello there,

I am using ESS 5.2.3 from Emacs 21.1.1 on a Sun-Solaris machine.

I know I have seen this somewhere in the doc. but can't find it right now
in the info!!  What do I need to do to be able to run different versions of
S+ from ESS?

Thanks,

Gérald Jean
Analyste-conseil (statistiques), Actuariat
télephone            : (418) 835-4900 poste (7639)
télecopieur          : (418) 835-6657
courrier électronique: gerald.jean <at> dgag.ca

"In God we trust all others must bring data"  W. Edwards Deming

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

Martin Maechler | 2 Mar 16:42 2005
Picon

Re: [ESS] Running multiple S+ versions

>>>>> "gerald" == gerald jean <gerald.jean <at> dgag.ca>
>>>>>     on Wed, 2 Mar 2005 09:42:51 -0500 writes:

    gerald> Hello there,
    gerald> I am using ESS 5.2.3 from Emacs 21.1.1 on a Sun-Solaris machine.

    gerald> I know I have seen this somewhere in the doc. but can't find it right now
    gerald> in the info!!  What do I need to do to be able to run different versions of
    gerald> S+ from ESS?

Just call   "M-x S" (or M-x S+6 or whatever you have to start
S-plus from ESS)  a second time when you are inside your *S*
(or *S+6*) buffer.

Martin

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

Stephen Eglen | 2 Mar 16:49 2005
Picon
Picon

[ESS] Running multiple S+ versions

gerald.jean <at> dgag.ca writes:
 > Hello there,
 > 
 > I am using ESS 5.2.3 from Emacs 21.1.1 on a Sun-Solaris machine.
 > 
 > I know I have seen this somewhere in the doc. but can't find it right now
 > in the info!!  What do I need to do to be able to run different versions of
 > S+ from ESS?

hi Gerald, try:

http://ess.r-project.org/Manual/ess.html#iESS(S)--Inferior%20ESS%20processes

   M-x S+3
   M-x S4
   M-x S+5
   M-x S+6
   M-x R

Stephen

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

gerald.jean | 2 Mar 17:43 2005
Picon

Réf. : [ESS] Running multiple S+ versions


Ok, maybe I should be a little more explicit.

I am, usually, running a 64-bit version of Splus that we have named
"Splus64", I added the following lines in my ".emacs" file:

(require 'ess-site)
(add-hook 'ess-mode-hook
   (function (lambda()
             (setq-default inferior-S+6-program-name
                             "/actuaria/splus_app64/bin/Splus64")
             (setq ess-ask-for-ess-directory nil)
             (setq ess-directory nil)
             (setq ess-execute-in-process-buffer t)
             (make-local-variable 'comment-indent-function)
             (setq-default comment-indent-function 'ess-comment-indent)
             (fset 'run-s "\C-x2\M-xS\C-m")
             (global-set-key "\M-s" 'run-s)         ; ESC-s runs "run-s"
which starts S
             (setq ess-source-directory
                 "/~/actuaria/jeg002/Splus6/functions/")
)))

and "M-S" started that version of Splus, doing that for the last several
years without problems, "Splus64" is Splus-6.2, 64-bit.

I am a Beta tester for S+7, obviously I don't want to get rid of "Splus64"
and I would like to be able to run "S+7" and "Splus64" from ESS.  S+7 is
located in: "/actuaria/splus7_app/bin" and the executable is named:
"Splus7", I tried to add the following lines in the lambda function above
(Continue reading)

Stephen Eglen | 2 Mar 17:46 2005
Picon
Picon

Réf. : [ESS] Running multiple S+ versions

 > I am a Beta tester for S+7, obviously I don't want to get rid of "Splus64"
 > and I would like to be able to run "S+7" and "Splus64" from ESS.  S+7 is
 > located in: "/actuaria/splus7_app/bin" and the executable is named:
 > "Splus7", I tried to add the following lines in the lambda function above
 > but it didn't work!
 > 
 >              (setq-default inferior-S+7-program-name
 >                              "/actuaria/splus7_app/bin/Splus7")

There is no variable yet called S+7, but I think Rich has been woking
on S+7 support...
in the meantime, can you just temporarily change 
inferior-S+6-program-name when you want to test Splus7?

Thanks, Stephen

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

gerald.jean | 2 Mar 18:50 2005
Picon

Réf. : Réf. : [ESS] Running multiple S+ versions


Thanks Stephen,

simple solution that works!

Gérald Jean
Analyste-conseil (statistiques), Actuariat
télephone            : (418) 835-4900 poste (7639)
télecopieur          : (418) 835-6657
courrier électronique: gerald.jean <at> dgag.ca

"In God we trust all others must bring data"  W. Edwards Deming

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

Tim Hesterberg | 2 Mar 18:49 2005

Re: Réf. : [ESS] Running multiple S+ versions

> > I am a Beta tester for S+7, obviously I don't want to get rid of "Splus64"
> > and I would like to be able to run "S+7" and "Splus64" from ESS.  S+7 is
> > located in: "/actuaria/splus7_app/bin" and the executable is named:
> > "Splus7", I tried to add the following lines in the lambda function above
> > but it didn't work!
> > 
> >              (setq-default inferior-S+7-program-name
> >                              "/actuaria/splus7_app/bin/Splus7")
>
>There is no variable yet called S+7, but I think Rich has been woking
>on S+7 support...
>in the meantime, can you just temporarily change 
>inferior-S+6-program-name when you want to test Splus7?

In case it helps, I call S+7 this way:
  (defun Sqpe7 ()
  	  "This command starts S+7 Sqpe."
  	  (interactive)
	  (setq-default inferior-Sqpe+6-SHOME-name "c:/progra~1/Insightful/splus70")
	  (setq-default inferior-Sqpe+6-program-name "c:/progra~1/Insightful/splus70/cmd/sqpe.exe")
	  (Sqpe+6)
	  )

Tim Hesterberg

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

(Continue reading)

Richard M. Heiberger | 2 Mar 21:27 2005
Picon

Re: Réf. : [ESS] Running multiple S+ versions

Tim's function works for Windows, but I don't recommend it because it
has many unintended side effects.

Much better is to use the feature for calling alternate versions of
S-Plus that has been in ESS for about 6 months.  With the current ESS
5.2.5, open a tmp.s file, then click on the menu line ESS/Start
Process/Other/splusxxx.  An Sqpe for that version will be started in
an emacs buffer.

The automatically generated function does not change the default
values.  It just calls the requested version of S-Plus.  The next call
of M-x S or M-x Sqpe will revert to the same version that they had
previously called.

All versions of S-Plus known to the ess-SHOME-versions variable will
be in that menu.  We initialized ess-SHOME-versions to the default
installation locations for recent releases of S-Plus.  The default
path to splus70 is already in the not yet released ESS 5.2.6.  A
prerelease of ESS 5.2.6 is available from the svn archive.  To include
S-Plus 7 in the menu for earlier versions of ESS, open the
customization for the variable ess-SHOME-versions and edit it to
include the path to splus70.  If your S-Plus is installed in a
location other than the Insightful-recommended default location, you
will also need to customize the ess-SHOME-version variable.

I can add a similar feature for the Unix version of S-Plus.  I haven't
done so since I don't have access to a Unix S-Plus.

The side effects in Tim's function are

(Continue reading)

Vadim Ogranovich | 4 Mar 04:14 2005

[ESS] "asynchronous" ess-eval-*

Hi,

I sort of wish for an extension of the family of ess-eval-*. Currently
when I send a region for evaluation my Emacs, 21.2.1, doesn't return
until all lines in the region are evaluated. This is sometimes
inconvenient: I want to send a portion of my script for evaluation and
keep working on the rest.

My ess version is 5.2.3, but the "New Features" section in the online
docs doesn't seem to mention anything like this.

Let me also use this occasion to thank all who developed ESS. Life
(well, my life at work) would be much worse w/o it.

Thanks,
Vadim

P.S. Please reply directly since I am not on the list.

	[[alternative HTML version deleted]]

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

Richard M. Heiberger | 4 Mar 05:37 2005
Picon

Re: [ESS] "asynchronous" ess-eval-*

In this situation, I would normally use the mouse to pick up
the highlighted region and then drop it into the S-Plus commands window.

emacs 21.2 is about 3 years old.
21.3 (about 2 years old) seems to be still current for windows.
21.4 was just released for Unix.

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


Gmane