[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ess-help
Subject:    Re: [ESS] getting output from inside functions when running R from
From:       Stephen Eglen <S.J.Eglen () damtp ! cam ! ac ! uk>
Date:       2010-08-23 13:17:44
Message-ID: 6858.1282569464 () maps
[Download RAW message or body]

Maas James Dr (MED) <J.Maas@uea.ac.uk> wrote:

> I've attached a small piece of code, it will give me output in
> response to 'cat' when running in rgui.exe (windows) but not when
> executing it from within ESS.  Is there a way to get it to return the
> output from 'cat' to the R buffer for debugging?

hi Jim,
I think it depends how you execute the code within ESS.  If I put your
code into a buffer (jim.R) and do 'C-c C-b', then I see the output.  I
won't see the output if I do 'C-c C-l' however - that just loads the
file and puts the output into a temporary buffer.  (The temp buffer is
then checked to see if there were any errors.)

Stephen

______________________________________________
ESS-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic