Displaying 4 results from an estimated 4 matches for "whather".
Did you mean:
weather
2000 Jun 15
2
Checking the existence of a file
Is there a platform-independent way of checking in R whether a
given file exists in the user's filespace?
(so in a unix system, can you check within R whather, say,
/homef/jonm/thisfile
exists)
Thanks
Jonathan Myles
--
Dr. Jonathan Myles e-mail:jonathan.myles at mrc-bsu.cam.ac.uk
MRC Biostatistics Unit Tel. 01223 330372
Institute of Public Health FAX 01223 330388
University Forvie Site
Robinson Way
CAMBRIDGE
CB2 2SR...
2006 Jul 11
1
Linux/MacOSX and "X11 protocol error: BadWindow..." warnings
...using the window controls]
X11()
tktoplevel()
[then close the Tk window using the wondow controls]
Closing the second Tk window is the act that seems to
provoke the warnings (see the two session transcripts
below). The number of warnings is different on my two
systems, but I don't know whather that's to do with OS, or
X11, or the two different versions of R, or what.
Without the call to X11(), I do not get the warnings. And
the call to X11() seemingly needs to come *after* the first
tktoplevel() call in order for the warnings to be
generated.
Unfortunately I do not have access...
2007 Sep 12
2
Evaluating args in a function
Can anyone explain what I'm doing wrong here:
> fred <- data.frame()
> class(fred)
[1] "data.frame"
> test.fn <- function(x,class=class(x)) {class}
> test.fn(fred)
Error in test.fn(fred) : promise already under evaluation: recursive
default argument reference or earlier problems?
R 2.5.1 on both Windows and SUSE Linux.
--
Sanford Weisberg, sandy at
2005 May 07
4
Setting variable for a context for all extensions?
Hi,
Is it possible to set a variable for a context for all extensions? I
haven't been able to find it. I want something like this in
extensions.conf:
[from-iaxfwd]
exten => .,1,RING=r3
exten => 123456,1,Goto(from-pstn,s,1)
[from-internal]
exten => .,1,RING=r2
include => ext-local
[ext-local]
exten => 1,1,Dial(Zap/1,${LONGTIMEOUT})
exten =>