stdin", n=1))
> message("b")
>
> and see ?stdin and ?file for why it works.
>
> On Fri, 5 Feb 2010, Jonne Zutt wrote:
>
>> Dear all,
>>
>> I've found this nice code fragment on the web
>> (from Jan T. Kim if I'm correct):
Dear all,
I've found this nice code fragment on the web
(from Jan T. Kim if I'm correct):
hitReturn <- function(msg)
{
invisible(readline(sprintf("%s -- hit return", msg)));
}
But it does not seem to work in non-interactive mode
( I mean, when I start a script like this: R --vanilla < sc
Maybe I do...
I think the OP means the first scrollbar isn't tight to the first
listbox. This is due to the length of the "Basic Manipulation" label.
For example, try to pack this label as follows:
tkgrid(lbl.MainT,columnspan=2,sticky="nw")
That helps?
Jonne.
On Mon, 2007-10-08 at 08:37 +0200
Hi R-list members,
Could somebody explain to me the meaning of the '.' in the formula
SumTL~. below? I could not find it in the help pages. I'm guessing it is
substituted by v1+v2+v3+.. for all independent variables vi.
Furthermore, I would like to add interaction effects to the model,
is this a
Hi Samuel,
An easy solution is the following. Let the R script wait until a certain
variable (ok_to_quit) got changed.
Hope it helps,
Jonne.
## in a file called test.R
quit <- function() {
.Tcl("set ok_to_quit 1")
tkdestroy(tt)
}
require(tcltk)
tt <<- tktoplevel()
OK.but <- tkbutton(tt,text
5 matches
Mail list logo