The "terminal" terminology seemed confusing at first but it appears
to refer to launching R from a Windows cmd session and in that case,
yes, it outputs to that Windows cmd session window (as opposed to the
Rgui window) which seems sufficient.
I did find it acts strangely when used in conjunction
On Wed, 14 May 2008, Gabor Grothendieck wrote:
Thanks. I've updated to the latest R on the mirror I used and
puts stdout 12
from tcl does indeed produce output from Rterm on Windows but gives an
error message from Rgui on Windows (both on Windows Vista SP1).
Not if you launch Rgui from a term
-Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On
> Behalf Of Prof Brian Ripley
> Sent: May-14-08 11:10 AM
> To: Gabor Grothendieck
> Cc: R help forum
> Subject: Re: [R] console from tcltk
>
> I assume by 'console' you mean the Rgui w
Thanks. I've updated to the latest R on the mirror I used and
puts stdout 12
from tcl does indeed produce output from Rterm on Windows but gives an
error message from Rgui on Windows (both on Windows Vista SP1).
- this works
C:\tmp2>Rterm
R version 2.7.0 Patched (2008-05-11 r45
I assume by 'console' you mean the Rgui window. That is not where stdout
is connected -- it is not a file. As the CHANGES file for 2.7.0 says
o When Rgui is launched from a terminal, C output from ill-formed
packages that write to stdout or stderr rather than use
Rprintf
Gabor Grothendieck wrote:
> Is it possible to use the console from within tcltk?
>
>
Not on Windows RGui, not without deeper magic, anyway (your examples
work quite happily in a terminal on Linux). If you can figure out how to
wire a Tcl channel to the R console, then I suppose it could be made
Is it possible to use the console from within tcltk?
> library(tcltk)
> tcl("puts", "stdout", "Hello, World")
Error in structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"),
class = "tclObj") :
[tcl] can not find channel named "stdout".
> .Tcl('puts stdout "Hello, World"')
Error in structur
7 matches
Mail list logo