[ESS] XEmacs, UNIX, ESS
Charles C. Berry
cberry at tajo.ucsd.edu
Wed Nov 19 17:58:18 CET 2008
On Wed, 19 Nov 2008, Luis F wrote:
> Dear Douglas, Richard, Mailing List:
>
> Thanks for such a quick reply. Douglas is absolutely right. I was
> precisely trying to write an email clarifying my unprecise mail. Sorry
> about that.
>
> Douglas Bates wrote:
>> On Wed, Nov 19, 2008 at 8:12 AM, Richard M. Heiberger <rmh at temple.edu>
>> wrote:
>>
>> > Use ESS. The behavior is identical on Windows and Unix.
>> >
>>
>> I believe Luis is asking a different question, Richard. He wants to
>> have separate shell and shell-script windows in which he can send
>> lines from the shell script window to be executed in the shell window.
>> That is, he wants to emulate some of the features provided by ESS for
>> R, S-PLUS (which apparently now has become S+) and SAS source files in
>> shell scripts.
You can use shell-script-mode to edit the script and add his macro:
(fset 'push-line-other-window
"\C-@\C-e\M-w\C-n\C-a\C-xo\M->\C-y\C-m\C-xo")
(global-set-key "\C-xp" 'push-line-other-window )
to your .emacs (or wherever).
With the shell-script-mode window open and the shell-mode window open, you
can use C-X p to send a line from the former to the latter.
My thanks to the orignator of this macro and apologies for forgetting
his/her name. I think it was posted on S-news. I've used it for years when
I want to move a line from one buffer to another.
HTH,
Chuck
>>
>>
>> > -----Original Message-----
>> > From: ess-help-bounces at stat.math.ethz.ch
>> > [mailto:ess-help-bounces at stat.math.ethz.ch] On Behalf Of Luis F
>> > Sent: Wednesday, November 19, 2008 09:02
>> > To: ess-help at stat.math.ethz.ch
>> > Subject: [ESS] XEmacs, UNIX, ESS
>> >
>> > Dear Mailing List,
>> >
>> > I am a biologist, very used to program in R using XEmacs and ESS. I have
>> > to do some little things in UNIX now. I would love to have something
>> > similar to what I'm used to with ESS.
>> >
>> > Mainly:
>> > 1) a shell script on my top window
>> > 2) a shell on my bottom window
>> > 3) send commands from the script (one line at the time, similar to C-c
>> > C-n; a region - C-C C-r; the whole file C-c C-l)
>> >
>> > I could already do 1) and 2) (alt-x shell) (major achievements!) and I
>> > can copy-paste, go from one window do the next (C-x o) and that is
>> > already a great improvment.
>> >
>> > But I can't do 3). Any suggestions?
>> >
>> > I realize this might be a question outside of the strict scope of this
>> > list (and I appologize if anyone feels this is spam); I decided to post
>> > it here, because after searching for a while in the web, i felt this
>> > specific request would be more understood by people in here.
>> >
>> > Thank you all for your work,
>> > Tiago
>> >
>> > ______________________________________________
>> > ESS-help at stat.math.ethz.ch mailing list
>> > https://stat.ethz.ch/mailman/listinfo/ess-help
>> >
>> > ______________________________________________
>> > ESS-help at stat.math.ethz.ch mailing list
>> > https://stat.ethz.ch/mailman/listinfo/ess-help
>> >
>> >
>>
>>
>
> ______________________________________________
> ESS-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
>
>
Charles C. Berry (858) 534-2098
Dept of Family/Preventive Medicine
E mailto:cberry at tajo.ucsd.edu UC San Diego
http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901
More information about the ESS-help
mailing list