similar to: par(ask=TRUE) and devAskNewPage(ask=TRUE) not working

Displaying 20 results from an estimated 4000 matches similar to: "par(ask=TRUE) and devAskNewPage(ask=TRUE) not working"

2011 Mar 12
1
par(ask=TRUE) in R CMD check?
Hello: What happens in the auto-checks on R-Forge and CRAN with code using par(ask=TRUE)? Is this routine, or can it create problems? The fda package uses ask=TRUE to provide the user with a way to examine a group of plots. In the past, I've marked those tests in \examples with \dontrun. However, I wonder if that is necessary. I tried it on Windows using R
2010 Jan 11
2
example() leaves console prompting to press Enter for new graphs
Env: Win XP, R 2.9.2] It's a minor annoyance, but I find that after I run example(), the console state of prompting to press Enter for each new graph remains as it is under example. It's more annoying that it seems difficult to turn this behavior off! In a fresh session: > getOption("example.ask") [1] "default" Run an example: > example(plot) plot>
2010 Oct 21
1
gam plots and seWithMean
hello I'm learning mgcv and would like to obtain numerical output corresponding to plot.gam. I can do so when seWithMean=FALSE (the default) but only approximately when seWithMean=TRUE. Can anyone show how to obtain the exact values? Alternatively, can you clarify the explanation in the manual "Note that, if seWithMean=TRUE, the confidence bands include the uncertainty about the
2009 Dec 21
1
proposal for new axis.Date/axis.POSIXct
Hi R-devel. I've noticed a couple of quirks in the current time/date axis functions (axis.Date, axis.POSIXct, and the equivalents in lattice). Looking at the code, it seems like a fairly ad-hoc approach, often using pretty() on components of the time. This is not always ideal - for example a one-hour interval gets cut into 10-minute chunks rather than the more natural 15-minute chunks (since
2009 Jan 02
1
How to capture multiple graph pages to .png ?
Hello all and thanks in advance for any help, There are really two issues that I am having, both related to saving graphs: 1) It seems that the "dev...()" functions are unstable when using higher level graphs (specifically I was using levelplot) 2) I have a large grid of levelplot graphs that I can print out into a subset quite easily when I print to screen, but if I print to a
2009 Oct 08
1
"ask=F" option with plot.gam
Hello. I'd like to plot only one component smooth function of a gam model (for example the second) (library mgcv). So, I did : plot(my.gam, select=2, ask=F) But plot.gam doesn't seem to understand the "ask" option, so I can't deactivate the interactive plotting. I tried and failed by forcing it through : par(ask=F) And the "page" option of plot.gam (automatic
2006 May 18
1
Trellis equivalent of par(ask=TRUE)?
(was: AW: [Rd] R CMD check: checking examples: how to (not) pause execution) Paul, Brian, > > I think the more usual way to solve this is to have the user set > > par(ask=TRUE) is they want to be prompted. thank you. Looking back, 'par' would have been a likely candidate for looking. One reason I did NOT look there is that I need the functionality for print.trellis in
2006 Jan 11
3
how to obtain "par(ask=TRUE)" with trellis-plots
Dear alltogether, how can a delay like possible with par(ask=TRUE) be attained while using trellis-plots within a loop or something like that? the following draws each plot without waiting for a signal (mouse-klick), so par() does not work for that: library(nlme) for(i in 1:3) { fitlme <- lme(Orthodont) par(ask=TRUE) # does not work with trellis.... print(
2003 Apr 20
2
Rgui crashes after setting par(ask=TRUE) and using lattice (PR#2801)
Full_Name: Scot McNary Version: 1.7 OS: Windows 98se Submission from: (NULL) (134.192.131.246) Hi, Rgui causes a page fault when asking for lattice graphics after setting par(ask=TRUE). This doesn't happen in 1.6.2, but does in 1.7.0. library(lattice) par(ask=TRUE) example(dotplot) Windows "Details" about crash: RGUI caused an invalid page fault in module R.DLL at
2007 Sep 29
2
resetting par() to all defaults: par(reset=TRUE) ?
In a long session, producing multiple graphs, I sometimes repeatedly change par() settings, particularly with multi-row/col displays. If I'm using a script, I'll do op <- par(newsettings) ... plots ... par(op) but sometimes I do things on the fly and can't easily back out to the default settings. I'm looking for someway to do the equivalent of par(reset=TRUE) I suppose I
2008 Jun 18
1
example() and "ask"
Dear list, Is it intentional that example() opens a new device and leaves it in a mode where it asks (prompts) the user to Press return to see the next plot for *all* subsequent plots on that device. For example; with an already opened device, example() works as I would expect: > par("ask") [1] FALSE > example(lm) .... OUTPUT CLIPPED .... lm> plot(lm.D9, las = 1) #
2009 Nov 25
3
Random data
Hi, how can I produce random data which lies around a straight line with angle 45 degree. Similar to this image: http://zoonek2.free.fr/UNIX/48_R/g134.png Cheers -- View this message in context: http://old.nabble.com/Random-data-tp26513822p26513822.html Sent from the R help mailing list archive at Nabble.com.
2008 Nov 09
2
Delete rows from matrix having at least one zero value
Hi, I have a further question about matrix manipulation. Imagine the following two matrices: > test [,1] [,2] [,3] [,4] [1,] 1 0 6 4 [2,] 2 5 7 5 [3,] 3 6 8 6 [4,] 4 0 0 0 > matrix(is.element(test,0), ncol=4) [,1] [,2] [,3] [,4] [1,] FALSE TRUE FALSE FALSE [2,] FALSE FALSE FALSE FALSE [3,] FALSE FALSE FALSE FALSE [4,] FALSE
2008 Oct 08
5
Using grep
Hi, I have a vector A with (200, 201, 202, 203, 204, ... 210) and a vector B with (201, 204, 209). Now I would like to get the position in vector A matches with the entries in vector B So what I want to have is the following result: [1] 2 5 10 I tried the following: grep(B, A) grep(c(B), A) A <- as.character(A) B <- as.character(B) grep(B, A) grep(c(B), A) and several other
2011 Feb 08
2
Stopping between multiple graphs
Hello. I would like to know if there is a command for stopping between multiple grpahs. I have a for in which I create a graph in each iteration. I would like R to wait for a click or an enter to pass to the next graph. Does anybody know how can this be done. Thank you Felipe Parra [[alternative HTML version deleted]]
2011 Nov 24
2
how to add "waiting for page change" to my script
I'd like to "step" through 24 histograms by using the return or click button option, as shown in the demo(graphics) demonstration. I've searched for "interactive graphics", and "waiting for page change" in R documentation but with no result. I'm sure that this is a relatively straightforward procedure. Can anyone point me to the correct solution?   Jabez
2008 Oct 10
1
Overlay Plots
Hi, I have three vectors and I would like to plot them in one window. So R should overlay them in the quartz. I achieved this by plotting the first vector: plot(v1) and add the other two with points(v2) and points(v3). Is there another way to achieve the same result? Cheers -- View this message in context: http://www.nabble.com/Overlay-Plots-tp19918234p19918234.html Sent from the R help mailing
2009 Mar 13
1
cor.test(x,y)
Hi, I am not sure which kind of test is applied to the data if you use cor.test(x, y) ? Is it an unpaired t-Test? Regards -- View this message in context: http://www.nabble.com/cor.test%28x%2Cy%29-tp22492993p22492993.html Sent from the R help mailing list archive at Nabble.com.
2008 Nov 11
1
Plot matrix
Hi, I would like to plot the rows of a matrix. Is there a better way as doing it in the following way?: plot(matrix[1,], type="l") for (i in 2:dim(matrix)[1]) { lines(matrix[i,], type="l") } Cheers -- View this message in context: http://www.nabble.com/Plot-matrix-tp20438584p20438584.html Sent from the R help mailing list archive at Nabble.com.
2012 Feb 23
2
extract subset of data.frame
Hello, consider the following data.frame df and vector v df <- data.frame(group = c("A","B","C","D"), value = c(1,2,3,4)) v <- c(2,3) How can I return a sub data.frame which has only the rows left where value matches v df: group value B 2 C 3 Cheers -- View this message in context: