Re: [R] checkpointing

2021-12-14 Thread Andy Jacobson via R-help
I have been using DMTCP successfully for a long-running optim() task. This is a single-core process running on a large linux cluster with slurm as the job manager. This cluster places an 8-hour limit on individual jobs, and since my cost function takes 11 minutes to compute, I need many such jo

Re: [R] checkpointing

2021-12-14 Thread Henrik Bengtsson
On Tue, Dec 14, 2021 at 1:17 AM Andy Jacobson wrote: > > Those are good points, Duncan. I am experimenting with a nice checkpointing > tool called DMTCP. It operates on the system level but is quite OS-dependent. > It can be found at http://dmtcp.sourceforge.net/index.html. > > Still, it would b

Re: [R] R For Windows - Apache Log4J Vulnerability Inquiry

2021-12-14 Thread Ivan Krylov
On Tue, 14 Dec 2021 14:37:47 + "Franklin, Mark via R-help" wrote: > Would you be able to confirm if R for Windows v3.1.1 is impacted by > this vulnerability? R itself isn't written in Java, so it cannot, but the third-party Java code that you might be calling using rJava might be. Bob Rudis

[R] R For Windows - Apache Log4J Vulnerability Inquiry

2021-12-14 Thread Franklin, Mark via R-help
Hello R-Help, Due to the latest remote code execution vulnerability (CVE-2021-44228) in Apache Log4J.. Would you be able to confirm if R for Windows v3.1.1 is impacted by this vulnerability? ApplicationName Vendor Vendor Info MH

Re: [R] Format dates issues with R

2021-12-14 Thread Luigi Marongiu
Got it, thanks! On Tue, Dec 14, 2021 at 11:59 AM Ivan Krylov wrote: > > On Tue, 14 Dec 2021 11:54:08 +0100 > Luigi Marongiu wrote: > > > "9/29/2021" > > > format = "%d/%m/%y" > > > Why the conversion did not work? > > The according to the format, the date above is 9th of month No. 29 in > the ye

Re: [R] Format dates issues with R

2021-12-14 Thread Micha Silver
On 14/12/2021 12:54, Luigi Marongiu wrote: Hello, I have these kind of dates: ``` ori[[n[3]]] they look to me as month, date, year so I formatted them as: ``` Looks like that to me also. as.Date(ori[[n[3]]], format = "%D") # or: as.Date(ori[[n[3]]], format = "%d/%m/%y") But you form

Re: [R] Format dates issues with R

2021-12-14 Thread Ivan Krylov
On Tue, 14 Dec 2021 11:54:08 +0100 Luigi Marongiu wrote: > "9/29/2021" > format = "%d/%m/%y" > Why the conversion did not work? The according to the format, the date above is 9th of month No. 29 in the year 2020, followed by junk characters "21". Swap %m and %d to make them follow the actual o

Re: [R] Format dates issues with R

2021-12-14 Thread Ivan Calandra
Dear Luigi, Quickly, I spot two problems: 1) "09/20/2021" can only be month/day/year (and not day/month/year as you specified). 2) The year is given with century, so it should be upper case Y So as.Date(ori[[n[3]]], format = "%m/%d/%Y") should work. HTH, Ivan -- Dr. Ivan Calandra Imaging lab

[R] Format dates issues with R

2021-12-14 Thread Luigi Marongiu
Hello, I have these kind of dates: ``` > ori[[n[3]]] [1] "9/20/2021" "9/20/2021" "9/20/2021" "9/20/2021" "9/20/2021" "9/20/2021" [7] "9/20/2021" "9/20/2021" "9/20/2021" "9/20/2021" "9/21/2021" "9/21/2021" [13] "9/21/2021" "9/21/2021" "9/21/2021" "9/21/2021" "9/21/2021" "9/21/2021" [19] "9/21/2021"

Re: [R] help with parellel processing and RSelenium

2021-12-14 Thread akshay kulkarni
Dear Rui, Thanks a lot. I've not yet ran the function. I hoped that I make sure of it before. Therefore I can't print r. Thanks anyways! Yours sincerely, Akshay M Kulkarni From: Rui Barradas Sent: Sunday, December 12, 2021 10:42 PM To: akshay kulk

[R] [R-pkgs] qqconf: An R Package for Q-Q Plot Testing Bounds

2021-12-14 Thread Eric Weine
Hello! I've recently released version 1.1.1 of qqconf . I'm publicizing it for the first time as our vignette tutorial is now available. We have also pub

Re: [R] checkpointing

2021-12-14 Thread Andy Jacobson
Those are good points, Duncan. I am experimenting with a nice checkpointing tool called DMTCP. It operates on the system level but is quite OS-dependent. It can be found at http://dmtcp.sourceforge.net/index.html. Still, it would be nice to be able to checkpoint calls within R to potentially l