Displaying 7 results from an estimated 7 matches for "ornone".
Did you mean:
onone
2007 May 04
2
Qt device update
...al. For those interested, It can be downloaded
from
http://dsarkar.fhcrc.org/R/R-Qt.html
I have a couple of related questions. First, dev.interactive(), used
in example() and many demo()-s to decide if the current device is
interactive, is currently implemented as:
> dev.interactive
function (orNone = FALSE)
{
iDevs <- c("X11", "GTK", "gnome", "quartz", "windows", "JavaGD")
interactive() && (.Device %in% iDevs || (orNone && .Device ==
"null device" && getOption("device") %...
2010 Jan 11
2
example() leaves console prompting to press Enter for new graphs
...TRUE
> plot(sin, -pi, 2*pi)
Waiting to confirm page change...
>
There does seem to be code in example to reset this state on exit, and
I'm baffled why it doesn't actually
do it
...
if (ask == "default")
ask <- echo && grDevices::dev.interactive(orNone = TRUE)
if (ask) {
if (.Device != "null device") {
oldask <- grDevices::devAskNewPage(ask = TRUE)
if (!oldask)
on.exit(grDevices::devAskNewPage(oldask), add = TRUE)
}
op <- options(device.ask.default = TRUE)...
2006 Sep 13
1
example(..., ask=getOption("example.ask"))
...ultiple (20-30!) PNG files using
png()/dev.off(). I noticed that I get a "Hit <Return> to see next
plot:" for each png() call, when calling example() [interactively].
The code for example() has:
if (ask == "default")
ask <- echo && dev.interactive(orNone = TRUE)
if (ask) {
if (.Device != "null device") {
opar <- par(ask = TRUE)
on.exit(par(opar))
}
op <- options(par.ask.default = TRUE)
on.exit(options(op), add = TRUE)
}
When calling example() interactively, either with...
2009 Jan 28
3
plot slideshow
Dear R experts:
I've seen that it's possible to make a sort of "slideshow" with several
R-plots (each slide is activated by a click on the mouse). How can I put
this on a R-script???
Regards.
D.
[[alternative HTML version deleted]]
2006 Oct 03
1
R-2.4.0 is released
...ppropriate.
o data.frame() has a new argument 'stringsAsFactor'. This and
the default for read.table(as.is=) are set from the new global
option 'stringsAsFactors' via the utility function
default.stringsAsFactors().
o dev.interactive() now has an optional argument 'orNone'.
o df() now has a noncentrality argument 'ncp', based on a
contribution by Peter Ruckdeschel.
o example() gains an argument 'ask' which defaults to "TRUE when
sensible", but the default can be overridden by setting option
'example.ask'.
o exp...
2006 Oct 03
1
R-2.4.0 is released
...ppropriate.
o data.frame() has a new argument 'stringsAsFactor'. This and
the default for read.table(as.is=) are set from the new global
option 'stringsAsFactors' via the utility function
default.stringsAsFactors().
o dev.interactive() now has an optional argument 'orNone'.
o df() now has a noncentrality argument 'ncp', based on a
contribution by Peter Ruckdeschel.
o example() gains an argument 'ask' which defaults to "TRUE when
sensible", but the default can be overridden by setting option
'example.ask'.
o exp...
2009 Jan 28
2
t.test in a loop
Hi All,
I've been having a little trouble with creating a loop that will run a a
series of t.tests for inspection,
Below is the code i've tried, and some checks i've looked at.
I've used the get(paste()) idea as i was told previously that the use of the
eval should try and be avoided.
I've run a single syntax to check that my systax is correct and works
without any problems