[ESS] Is there a good way to set shell variables before running S+6?

A.J. Rossini blindglobe at gmail.com
Tue Nov 30 07:44:00 CET 2004


I'm batting 0-10 on emails recently, so parse this appropriately -- 

check out the (setenv) lisp function prior to running M-x S , this
might help.  i.e. via a modified version of the S function or similar.

(i.e.   in the *scratch* or similar lisp buffers,  evaluate (  C-j at
the end of the line)
    (setenv "TEMP"  "C:\this")   or similar.

C-h f setenv  will provide some help

Rich's pointer might help, as well, but I'm not sure how exactly to do that one.


On 29 Nov 2004 17:00:00 -0800, Tim Hesterberg <timh at insightful.com> wrote:
> >| Is there a good way to set shell variables before running ESS's S+6
> >| command?  I don't want to set shell variables and export them
> >| globally; I want them to apply only to the process from which S+
> >| starts.
> >
> >Can you say more about your environment?
> 
> Sorry.  I should know better.
> 
> I run in
> (1)
> Windows XP,
> GNU Emacs 21.2.1 (i386-msvc-nt5.1.2600) of 2002-03-19 on buffy
> ess-version 5.1.24
> Cygwin (not sure what version; might be somewhat older, 2001,
>        DLL version 1.3.3?)
> bash shell
> 
> (2) Solaris,
> GNU Emacs 21.1.1 (sparc-sun-solaris2.8, X toolkit, Xaw3d scroll bars) of 2001-12-02 on solaris
> ess-version 5.1.24
> csh
> 
> 
> 
> ______________________________________________
> ESS-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
> 


-- 

best,
-tony

---
A.J. Rossini
blindglobe at gmail.com




More information about the ESS-help mailing list