similar to: inconsistency in treatment of USE.NAMES argument

Displaying 20 results from an estimated 900 matches similar to: "inconsistency in treatment of USE.NAMES argument"

2016 Feb 11
2
inconsistency in treatment of USE.NAMES argument
Changing the vapply() behavior makes sense in principle. I analyzed the CRAN code base using the R parser and found 143 instances of calling vapply with USE.NAMES=FALSE. These would need to be inspected to understand the consequences of the change. For reference: /AzureML/R/datasets.R:226 /BBmisc/R/toRangeStr.R:33 /DBI/R/DBDriver.R:205 /Kmisc/R/str_rev.R:37 /Matrix/R/diagMatrix.R:98
2024 Jan 31
1
Need help testing a problem
HI All: We are trying to figure out a problem that is occurring with a package, and we need a non-NOAA person with a Windows computer with the latest R to test for us what is failing (but works on Macs and Linux from different sites). Part of the problem is there is an Akamai service in between that we feel may be messing up things. To do this you would need to be willing to: 1. install the
2024 Feb 01
1
Need help testing a problem
?s 23:47 de 31/01/2024, Roy Mendelssohn - NOAA Federal via R-help escreveu: > HI All: > > We are trying to figure out a problem that is occurring with a package, and we need a non-NOAA person with a Windows computer with the latest R to test for us what is failing (but works on Macs and Linux from different sites). Part of the problem is there is an Akamai service in between that we
2006 Mar 22
11
yum failing
I have two Centos servers here..only one of them is having this issue. Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Downloading header for glibc to pack into transaction set. glibc-2.3.4-2.19.i686.rpm 100% |=========================| 118 kB 00:00 ---> Package glibc.i686 0:2.3.4-2.19 set to be updated ---> Downloading header for
2009 Apr 03
3
Grandstream surveillance devices
I just got a spam from telephonydepot (which I invited to spam me, so I guess I have to call it legit marketing :) ), and they have some new device that is meant to be a surveillance camera with audio, but the interface is POE and SIP! A cool idea. Anyone playing with this toy yet? I am trying to wrap my head around how asterisk might fit with the model of this camera being
2015 Aug 03
2
'vapply' not returning list element names when returned element is a length-1 list
Hi all Sorry for the confusing title. I noticed the following inconsistency: If i have a function that returns a named list with 2 (or more) elements, then using 'vapply' retains the names of the elements: > vapply(1:3, function(x) list("foo" = "bar", "hello" = "world"), > vector("list", 2)) [,1] [,2] [,3] foo
2020 Jul 10
2
lapply and vapply Primitive Documentation
The documentation of ?lapply includes: > lapply and vapply are primitive functions. However, both evaluate to FALSE in `is.primitive()`: is.primitive(vapply) #FALSE is.primitive(lapply) #FALSE It appears that they are not primitives and that the documentation might be outdated. Thank you for your time and work. Cole Miller P.S. During research, my favorite `help()` is
2014 Jan 31
3
OT hardware question
With the continuing annoyance from motion, my manager's asked me to go looking again for a video surveillance appliance: basically, a motion-detecting DVR and cameras. The big thing, of course, is a) price (this is a US federal gov't agency, and being civilian, money is *tight*, don't give me the libertarian/GOP line about how freely we spend, thankyouverymuch), b) it has to be on the
2017 Jun 09
1
efetch result not in character format
Hi, I want to use reutils to obtain the accession numbers of a query search in character format. When I use efetch, the accession number isn't in a character format, and I'm not sure if the number is accurate, because I get the error: Error in file.exists(destfile) : object 'destfile' not found This is what I tried: UIDs<-esearch( "Methylation" ) accession_numbers
2007 May 19
2
PAM exec patch to allow PAM_AUTHTOK to be exported.
I figure some one here may find this interesting. I just begun work on allowing a smb home directory to be automounted upon login. -------------- next part -------------- A non-text attachment was scrubbed... Name: pam_exec.c.diff Type: text/x-patch Size: 213 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-security/attachments/20070519/19e6bd01/pam_exec.c.bin
2012 Apr 19
2
Trouble with [sv]apply
Friends I clearly donot understand how sapply and vapply work. What I have is a function that returns a matrix with an indeterminate number of rows (some times zero) but a constant number of columns. I cannot reliably use an apply function to assemble the matrices into a matrix. I am not sure it is possible. I can demonstrate the core of my confusion with this simple code. A.f <-
2019 Feb 19
4
code for sum function
The algorithm does make a differece. You can use Kahan's summation algorithm (https://en.wikipedia.org/wiki/Kahan_summation_algorithm) to reduce the error compared to the naive summation algorithm. E.g., in R code: naiveSum <- function(x) { s <- 0.0 for(xi in x) s <- s + xi s } kahanSum <- function (x) { s <- 0.0 c <- 0.0 # running compensation for lost
2017 Mar 16
4
OT: hardware: blackmagic video capture cards
Hi, folks, I'm still trying to find a video capture card that won't crash Dell servers, and ran across a Blackmagic BDLKDUO2 DeckLink Duo 2. It claims to support Linux. I'm also seeing, in the few non-Blabkmagic or sales pages I can find, that they like "binary blobs". I also haven't been able to find anything about o/s or library requirements. Has anyone run
2010 Aug 19
4
Aggregate Help
Please let me know if this is or is not the right place to ask these types of questions. Warning: I am new to R by two days. I have a simple dataset. I have loaded the dataset successfully using the following code: Filepath=(C:\temp\\pilot\dataset1.txt") Pilot=read.table(filepath, header=TRUE) Dataset1.txt is delimited and looks like this: Date illness count 2006/01/01 derm 17 2006/01/01
2020 Nov 17
3
formatting issue with gcc 9.3.0 on Ubuntu on WSL2
I just got a new Windows laptop (i7, 10th generation CPU), installed 'Windows Subsystem for Linux 2' and then installed Ubuntu 20.04 and used 'apt-get install' to install packages that the R build seems to require. In particular, I am using gcc version 9.3.0. The build went without a hitch but the tests showed that deparse(1e-16) produced "1.00000000000000e-16" instead
2020 Jan 23
1
[External] Re: rpois(9, 1e10)
On 1/20/20 12:33 PM, Martin Maechler wrote: > > It's really something that should be discussed (possibly not > here, .. but then I've started it here ...). > > The NEWS for R 3.0.0 contain (in NEW FEATURES) : > > * Functions rbinom(), rgeom(), rhyper(), rpois(), rnbinom(), > rsignrank() and rwilcox() now return integer (not double) > vectors.
2011 Oct 05
1
Vector-subsetting with ZERO - Is behavior changeable?
Dear All, I have trouble generizising some code. > index <- 0 > sapply(list(c(1,2,3),c(1,2),c(1)),function(x){x[max(length(x)-index,0)]}) Will yield a wished for vector like so: [1] 3 2 1 But in this case (trying to select te second to last element in each vector of the list) > index <- 1 > sapply(list(c(1,2,3),c(1,2),c(1)),function(x){x[max(length(x)-index,0)]}) I end up
2014 Dec 17
2
vapply definition question
vapply <- function(X, FUN, FUN.VALUE, ..., USE.NAMES = TRUE) { FUN <- match.fun(FUN) if(!is.vector(X) || is.object(X)) X <- as.list(X) .Internal(vapply(X, FUN, FUN.VALUE, USE.NAMES)) } This is an implementor question. Basically, what happened to the '...' args in the call to the .Internal? cf lapply:, where the ... is passed. lapply <- function (X, FUN, ...)
2011 May 17
4
OT: Video Surveillance SW on CentOS
I suggested to our Homeowners Association that we begin a Private Forum (phpBB) and web site. That suggestion has been well received and we will proceed with that. Now, I have become involved in a much more complex and important project, which is Video Surveillance, for the entrance to our subdivision. I Googled and found two (2) things for Linux that seem to be OK: (a) ZoneMinder
2005 Nov 17
1
Morans I for Spatial Surveillance
Hello, I am interested in using Morans I for different time intervals to detect disease clusters. Ultimately I would like to use CUSUM - or similar monitoring statistic to monitor the results of Morans I - similar to the work by Rogerson (2005) Spatial Surveillance and Cummulative Sum Methods in Spatial and Syndromic Surveillance for Public Health. Thus far - thanks to the list I have