search for: sriniv

Displaying 6 results from an estimated 6 matches for "sriniv".

Did you mean: srini
2015 Jan 08
2
On base::rank
Have a look at the following, taken from base::rank: ... if (!is.na(na.last) && any(nas)) { yy <- integer(length(x)) # <~~~~~~~~~ storage.mode(yy) <- storage.mode(y) # <~~~~~~~~ yy <- NA NAkeep <- (na.last == "keep") if (NAkeep || na.last) { yy[!nas] <- y if (!NAkeep) yy[nas]
2017 Mar 09
1
as.POSIXct behaviour
Dear R-devel, I have tested the code below on R v3.3.2 and v3.3.3 on Mac and Windows. x <- c("2017-01-01 05:00:02", "2017-01-02 03 :M:00") # note the ? :M? in 2nd value as.POSIXct(x) # [1] "2017-01-01 GMT" "2017-01-02 GMT? The time info is lost on the first index as well. And it happens *silently*. On the other hand, if I do: lapply(x, as.POSIXct) #?[[1]]
2016 Apr 04
2
Understanding POSIXct creation on different OSes.
Hello, Following Dirk's post here: https://github.com/Rdatatable/data.table/issues/1619 we would like to clarify if this is the right behaviour, and if so, the rationale behind it. Here's the summary (thanks to Dirk and Joshua): Sys.setenv("TZ"="America/Chicago") dates = as.Date("2016-03-02") + (0:3)*7 # four Wednesdays # [1] "2016-03-02"
2018 Aug 17
2
Get Logical processor count correctly whether NUMA is enabled or disabled
...tion about processors in all processor groups on the system." Therefore, it might be possible to get the right count of total processors even with NUMA enabled by using "GetLogicalProcessorInformationEX". It'd be nice to know what you think. Thank you very much, Arun. -- Arun Srinivasan Analyst, Millennium Management LLC 50 Berkeley Street | London, W1J 8HD ###################################################################### The information contained in this communication is confi...{{dropped:30}}
2018 Aug 21
2
Get Logical processor count correctly whether NUMA is enabled or disabled
...I am not sure though if this is entirely relevant since we would be forking new processes in R instead of allowing a single process to use all cores. Apologies if this is utterly irrelevant. Thank you, Arun. From: Tomas Kalibera <tomas.kalibera at gmail.com> Sent: 21 August 2018 11:50 To: Srinivasan, Arunkumar <Arunkumar.Srinivasan at uk.mlp.com>; r-devel at r-project.org Subject: Re: [Rd] Get Logical processor count correctly whether NUMA is enabled or disabled Dear Arun, thank you for the report. I agree with the analysis, detectCores() will only report logical processors in the...
2018 Aug 29
2
Get Logical processor count correctly whether NUMA is enabled or disabled
...e we are still not being able to use >64 processors all at the same time even if detectCores() returns the right count now. I'd appreciate your thoughts on this. Best, Arun. -----Original Message----- From: Tomas Kalibera <tomas.kalibera at gmail.com> Sent: 27 August 2018 19:43 To: Srinivasan, Arunkumar <Arunkumar.Srinivasan at uk.mlp.com>; r-devel at r-project.org Subject: Re: [Rd] Get Logical processor count correctly whether NUMA is enabled or disabled Dear Arun, thank you for checking the workaround scripts. I've modified detectCores() to use GetLogicalProcessorInfo...