Re: [R] No error message but don't get the 8 graphs

2021-05-09 Thread Bert Gunter
?getwd Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Sun, May 9, 2021 at 2:59 PM varin sacha via R-help wrote: > Rui, > > The created pdf.file is

Re: [R] No error message but don't get the 8 graphs

2021-05-09 Thread varin sacha via R-help
Rui, The created pdf.file is off-screen device. Indeed after dev.off() I should view the pdf file on my computer. But I don't find it. Where do I find the pdf.file ? Regards, Le dimanche 9 mai 2021 à 22:44:22 UTC+2, Rui Barradas a écrit : Hello, You are not closing the pdf device.

Re: [R] No error message but don't get the 8 graphs

2021-05-09 Thread varin sacha via R-help
Rui, Angelo, I found it :=) Many thanks S. Le dimanche 9 mai 2021 à 23:49:41 UTC+2, Angelo Canty a écrit : Have you looked in the pdf file (power.pdf) to which you instructed R to send the plots? On 2021-05-09 5:27 p.m., varin sacha via R-help wrote: > Dear Rui, > > I thank you

Re: [R] No error message but don't get the 8 graphs

2021-05-09 Thread Angelo Canty
Have you looked in the pdf file (power.pdf) to which you instructed R to send the plots? On 2021-05-09 5:27 p.m., varin sacha via R-help wrote: Dear Rui, I thank you for your response but when I run the code with your few modifications, I still don't get the 8 graphs but I get the following

Re: [R] No error message but don't get the 8 graphs

2021-05-09 Thread varin sacha via R-help
Dear Rui, I thank you for your response but when I run the code with your few modifications, I still don't get the 8 graphs but I get the following answer : null device   1 Here below my R code with your modifications. I don't know what I am still missing ? ##

Re: [R] No error message but don't get the 8 graphs

2021-05-09 Thread Rui Barradas
Hello, You are not closing the pdf device. The only changes I have made to your code are right at the beginning of the plotting instructions and at the end of the code. ## The rest of the code is for plotting the image pdf(file = "power.pdf") op <- par(mfrow = c(4,2), cex = 0.45) [...]

[R] No error message but don't get the 8 graphs

2021-05-09 Thread varin sacha via R-help
Dear R-experts, I am trying to get the 8 graphs like the ones in this paper : https://statweb.stanford.edu/~tibs/reshef/comment.pdf My R code does not show any error message neither warnings but I d'on't get what I would like to get (I mean the 8 graphs), so I am missing something. What's it

Re: [R] factor analysis of dynamic structure (FADS) for a huge time-series data

2021-05-09 Thread Hyun Soo Park
Dear Newmiller, Thank you for your reply. I’ve just posted the same question in the another forum for stats as you suggested. Meanwhile, I would like to keep the question submitted to learn from R users, if it is available . Park On Sun, May 9, 2021 at 6:01 AM Jeff Newmiller wrote: > This

Re: [R] grep

2021-05-09 Thread Rui Barradas
Hello, Maybe instead of a loop, vectorize with logical indices. i1 <- is.na(jindex) i2 <- is.numeric(jindex) if(any(!i1)){ if(any(!i2)){ words <- jindex[!i1 & !i2] pattern <- paste(words, collapse = "|") jindex <- grep(pattern = pattern, x.label, value = FALSE) } jj <-