Re: [R] mclapply enters into an infinite loop....

2023-05-16 Thread Jeff Newmiller
It does not look to me like you are providing the necessary arguments to arfima. Try making this work with lapply first... then try mclapply. On May 16, 2023 3:10:45 PM PDT, akshay kulkarni wrote: >Dear members, > I am using arfima in an mclapply construction (from >

Re: [R] Recombining Mon and Year values

2023-05-16 Thread Jeff Newmiller
I don't use lubridate, but that package works with Date and POSIXt types, which I do use. Just remember to include a day when converting (1st of month is typical), and use an output format to hide the day when you plot. On May 16, 2023 1:29:27 PM PDT, Jeff Reichman wrote: >R Help > > > >I

Re: [R] Recombining Mon and Year values

2023-05-16 Thread Jeff Reichman
Ah the zoo package! I was trying with lubridate package. -Original Message- From: Rui Barradas Sent: Tuesday, May 16, 2023 5:04 PM To: Jeff Reichman ; r-help@r-project.org Subject: Re: [R] Recombining Mon and Year values Às 21:29 de 16/05/2023, Jeff Reichman escreveu: > R Help > >

[R] mclapply enters into an infinite loop....

2023-05-16 Thread akshay kulkarni
Dear members, I am using arfima in an mclapply construction (from the parallel package): Browse[2]> LYG <- mclapply(LYGH, FUN = arfima, mc.cores = detectCores()) ^C Browse[2]> LYG <- mclapply(LYGH[1:10], FUN = arfima, mc.cores = detectCores()) ^C Browse[2]> LYG <-

Re: [R] Recombining Mon and Year values

2023-05-16 Thread Rui Barradas
Às 21:29 de 16/05/2023, Jeff Reichman escreveu: R Help I have a data.frame where I've broken out the year and an ordered month values. But I need to recombine them so I can graph mon-year in order but when I recombine I lose the month order and the results are plotted alphabetical.

Re: [R] Recombining Mon and Year values

2023-05-16 Thread Bert Gunter
There are many ways to do this in various R packages. Search on "Plot month-year data in R" or the like and choose that which works best for you. There may be a learning curve involved, naturally. (Note: you may wish to check out zoo:yearmon and zoo:autoplot first, as these seem like they might

[R] Recombining Mon and Year values

2023-05-16 Thread Jeff Reichman
R Help I have a data.frame where I've broken out the year and an ordered month values. But I need to recombine them so I can graph mon-year in order but when I recombine I lose the month order and the results are plotted alphabetical. Yearmonth mon_year 2021

Re: [R] [External Email] Newbie: Controlling legends in graphs

2023-05-16 Thread Kevin Zembower via R-help
See below. On 5/16/23 10:52, Christopher Ryan wrote: > I"m more of a lattice guy than a ggplot guy, but perhaps this is part of > the problem: > > . >      geom_point(aes(y = m_K, color = "red")) +  # >> you've > associated "K" with the color red >      

Re: [R] Newbie: Drawing fitted lines on subset of data

2023-05-16 Thread Kevin Zembower via R-help
Yep, that did it. I didn't know that you could have pipelines within pipelines. Thanks, again, for all your help. -Kevin On 5/16/23 11:44, Rui Barradas wrote: > Às 15:29 de 16/05/2023, Kevin Zembower via R-help escreveu: >> Hello, >> >> I's still working with my tsibble of weight data for the

Re: [R] Newbie: Drawing fitted lines on subset of data

2023-05-16 Thread Rui Barradas
Às 15:29 de 16/05/2023, Kevin Zembower via R-help escreveu: Hello, I's still working with my tsibble of weight data for the last 20 years. In addition to drawing an overall trend line, using lm, for the whole data set, I'd like to draw short lines that would recompute lm and draw it, say, just

Re: [R] [External Email] Newbie: Controlling legends in graphs

2023-05-16 Thread Christopher Ryan via R-help
I"m more of a lattice guy than a ggplot guy, but perhaps this is part of the problem: . > geom_point(aes(y = m_K, color = "red")) + # >> you've > associated "K" with the color red > geom_smooth(aes(y = m_K, color = "red")) + > geom_point(aes(y = m_J, color = "blue")) +

[R] Newbie: Drawing fitted lines on subset of data

2023-05-16 Thread Kevin Zembower via R-help
Hello, I's still working with my tsibble of weight data for the last 20 years. In addition to drawing an overall trend line, using lm, for the whole data set, I'd like to draw short lines that would recompute lm and draw it, say, just for the years from 2010:2015. Here's a short example that

Re: [R] Newbie: Controlling legends in graphs

2023-05-16 Thread Kevin Zembower via R-help
Rui, thanks so much for your help. Your explanation and example were clear and concise. Thanks for taking the time and effort to help me. -Kevin On 5/12/23 16:06, Rui Barradas wrote: > Às 14:24 de 12/05/2023, Kevin Zembower via R-help escreveu: >> Hello, I'm trying to create a line graph with a

Re: [R-es] Error al actualizar R 4.3.0

2023-05-16 Thread Sebastian Kruk
Hola, lo pude corregir de la siguiente forma: Edité el archivo Rprofile.site agregando las siguientes líneas: options(download.file.method = "libcurl") Sys.setenv("http_proxy"="http://mi_proxy::mi_puerto;) Sys.setenv("https_proxy"="http:// http://mi_proxy::mi_puerto;)