similar to: On base::rank

Displaying 20 results from an estimated 4000 matches similar to: "On base::rank"

2015 Oct 08
3
rank(, ties.method="last")
Hi, I ran into a problem where I actually need rank(, ties.method="last"). It would be great to have this feature in base and it's also simple to get (see below). Thanks & cheers, Marius rank2 <- function (x, na.last = TRUE, ties.method = c("average", "first", "last", # new "last" "random", "max",
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]]
2004 Apr 07
3
Dial-In/Out Modem Zap Channel Config. Adtran 750
I've been trying to get a Win 2000 RAS server working with my asterisk PBX for quite some time, to no avail. I've googled, I've tried loads of configurations, I've rewired phone lines, and still I am not winning the battle. Here's my config. PRI->T400P->Asterisk->T400P->Adtran 750(L36 Firmware)->RAS Server. I have 4 Zap channels signalled FXO_KS to the 750
2020 May 18
2
Understanding LLD's SymbolTable's use of CachedHashStringRef
I was looking at the SymbolTable code in LLD COFF and ELF recently, and I’m confused by the use of CachedHashStringRef. From what I understand, a CachedHashStringRef combines a StringRef with a computed hash. There’s no caching going on in the CachedHashStringRef itself; that is, if you construct CachedHashStringRef("foo"), and then construct a second
2018 Jan 04
1
Distinguishing trunk version number from release
On Thu, Jan 4, 2018 at 3:04 PM, Dimitry Andric <dimitry at andric.com> wrote: > On 3 Jan 2018, at 18:24, James Y Knight via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > > > > I'd like to propose that trunk always have a version number which is in > between versions used by the previous release branch, and before the > versions used in the next release
2018 Aug 29
2
Get Logical processor count correctly whether NUMA is enabled or disabled
Dear Tomas, thank you very much. I installed r-devel r75201 and tested. The machine with 88 cores has NUMA disabled. It therefore has 2 processor groups with 64 and 24 processors each. require(parallel) detectCores() # [1] 88 This is great! Then I went on to test with a simple 'foreach()' loop. I started with 64 processors (max limit of 1 processor group). I ran with a simple function
2019 Jun 29
2
Avoiding alloca elision
Hello I'm implementing stack copying coroutines. It's an interesting challenge. When we use setjmp/longjmp to move between stacks, we must make sure that restoring the stack doesn't blow away the current stack frame before calling longjmp. To do that, we check how big the stack we are restoring is, and use alloca to push the current stack frame beyond that. It works but when I add
2018 Aug 21
2
Get Logical processor count correctly whether NUMA is enabled or disabled
Dear Tomas, thank you for looking into this. Here's the output: # number of logical processors - what detectCores() should return out <- system("wmic cpu get numberoflogicalprocessors", intern=TRUE) [1] "NumberOfLogicalProcessors \r" "22 \r" "22 \r" [4] "20 \r"
2018 Jan 04
0
Distinguishing trunk version number from release
On 3 Jan 2018, at 18:24, James Y Knight via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > I'd like to propose that trunk always have a version number which is in between versions used by the previous release branch, and before the versions used in the next release branch. > > Right now, trunk is sharing the 7.0.0 number, which will also be used by the next release 4
2015 May 15
2
unreachable peer
Hey all, I have a public peer system (yy.yy.yy.yy) that is reachable via my home uplink (xx.xx.xx.xxx). 15:59:30.244199 IP xx.xx.xx.xxx.42958 > yy.yy.yy.yy.https: tcp 0 15:59:30.281931 IP yy.yy.yy.yy.https > xx.xx.xx.xxx.42958: tcp 0 15:59:30.281945 IP xx.xx.xx.xxx.42958 > yy.yy.yy.yy.https: tcp 0 15:59:30.305020 IP xx.xx.xx.xxx.42958 > yy.yy.yy.yy.https: tcp 105 15:59:30.344004 IP
2006 Dec 24
1
RE: Question regarding Split Access description (Adam Neat)
IMHO, i believe that it would be more realistic to have one router providing load balancing/dead gateway to one/several subnet(s). otherwise, each server/user would have to do their own load balancing for each subnet! that, or you would need 3 routers, one for each subnet and a linux router doing the load balancing in the middle. with 3 routers, the load balancing configurations
2006 May 23
3
Pagination problem
hi everybody, i am new to rails.. plz clear my doubt... this is my question In my table(public_topics), i have 11 rows of data.. whenever i run the following view, it shows the entire rows in the current page.. and i have set the '':per_page'' option to ''2''.so it must show two data per page..but it shows all the rows in a single page..and this case continue
2015 Dec 23
4
Network configuration issue with second public ip on CentOS 6
Hi folks, I have a server at Soyoustart.com (which is a brand of OVH). I run CentOS 6.7 and have problems with network configuration. I want to add a second public ip (failover ip) to the server and did follow the instructions in the CentOS-section of http://hilfe.ovh.de/AdministrationIpAliasHinzufuegen After executing the required steps I'm not able to reach the host via the second ip
2014 Jan 15
2
No compatible codecs, not accepting this offer!
Hello, I'm having this issue on my pbx, it appears that asterisk is refusing the codecs that my providers is proposing. My trunk configuration is: --- username=5x5x7x9x0x3 type=friend secret=CRcxn7sqwm qualify=yes port=5060 insecure=port,invite host=sip.txtxlxoxp.it fromuser=5x5x7x9x0x3 fromdomain=sip.txtxlxoxp.it disallow=all context=from-trunk allow=alaw --- A typical invite from my
2006 May 29
1
beta8 starts but no POP3 access
Hi I just compiled stock beta8 on FC3 with ./configure make make install all looked ok and i changed my dovecot.conf to suit. start dovecot and i see it running May 29 08:18:00 Info: Dovecot v1.0.beta8 starting up POP3 to 1 account and May 29 08:18:06 Info: auth(default): client in: AUTH 1 PLAIN service=POP3 lip=xx.xx.xx.xx rip=yy.yy.yy.yy resp=<hidden> May 29 08:18:06 Info:
2007 Apr 27
1
add arrows to barchart with groups
Hello Rhelpers, I am trying to represent the following data (hereafter named donnees) in a barchart with a grouping variable : site traitement date s res 1 NT 17/10/2005 normal 76.2 1 T 17/10/2005 normal 103.2 1 NT 23/11/2005 tardif 81.6 1 T 23/11/2005 tardif 98 2 NT 15/10/2005 normal 72.71 2 T 15/10/2005 normal 94.47 2 NT 15/11/2005 tardif 79.65 2 T 15/11/2005 tardif 94.7
2008 Aug 13
3
issue building dataframes with matrices.
Hello, Is this a bug or a feature? I am using R 2.7.1 on Apple OS X. > y <- matrix(1:3,nrow=3) # y is a single-column matrix > df <-data.frame(x=1:3,y=y) > sapply(df,data.class) x y "numeric" "numeric" > df$yy <- y > sapply(df,data.class) x y yy "numeric" "numeric" "matrix"
2020 Feb 01
2
Ldapsearch against Samba AD returns records outside the search base
Hello, Is it not Samba that is listening to the LDAP ports and is serving me the answer to my query? This problem does not only happen when the LDAP database is searched using ldapsearch, it happens also using other tools that connect to the LDAP ports. I still don't fully grasp what this has to do with the uniqueness of the sAMAccountNames - they are unique throughout my directory and I
2004 Apr 20
2
polygon
Dear all In order to clearly mark values wich are larger than a treshold value, I would like to color the surface below the line given by plot (yy~xx). To color is only the surface between abline (treshold) and yy if they are larger than the specific limit. I guess I can use the function polygon, but I can not find any valuable solution. I'm grateful to you for an advice or an example.
2008 Apr 03
1
3.0.1pre3 - date/time discrepancy in the log
I'm using the very latest 'version 3.0.1pre3 protocol version 30', on both ends, and have seen a date/time discrepancy in the log on the receiver. The sending machine (machineA) is in US CDT while the receiver is in US PDT. Both sender and receiver have their time set correctly. a contiguous snippet from the log on the receiver : (note the first three timestamps are correct:)