Re: [Rd] Fixed BLAS tests for external BLAS library

2018-01-04 Thread Tomas Kalibera
In practical terms, failing tests are not preventing anyone from using an optimized BLAS/LAPACK implementation they trust. Building R with dynamically linked BLAS on Unix is supported, documented and easy for anyone who builds R from source. It is also how Debian/Ubuntu R packages are built by

Re: [Rd] R CMD check warning about compiler warning flags

2018-01-04 Thread Juan Telleria
I repeat it for all the reason I gave to Duncan on a personal E-mail, It is a lot of text, and I might be wrong, but I attach it in case it is useful: A) I feel Version Control (SVN) is great when there is a little group of people maintaining the code (RCore ~ 20); but Git could allow a bigger gro

Re: [Rd] Community Feedback: Git Repository for R-Devel

2018-01-04 Thread Juan Telleria
Thank you Mark, this is what I was looking for. On Sunday I will read again in detail previous discussion's facts, and attach the pros and cons here, so that they remain for the future, and the topic can be closed. Juan El 4 ene. 2018 11:06 a. m., "Mark van der Loo" escribió: > This question h

Re: [Rd] silent recycling in logical indexing

2018-01-04 Thread William Dunlap via R-devel
I have never used this construct. However, part of my job is seeing how well CRAN packages work in our reimplementation of the R language and I am continually surprised by the inventiveness of package writers. Bill Dunlap TIBCO Software wdunlap tibco.com On Thu, Jan 4, 2018 at 1:44 PM, Ben Bolke

Re: [Rd] silent recycling in logical indexing

2018-01-04 Thread Berry, Charles
> On Jan 4, 2018, at 1:44 PM, Ben Bolker wrote: > > Chuck: I don't see how this example represents > incomplete/incommensurate recycling. It doesn't. I took your subject line to be the theme of your posting and `incommensurate lengths' to be an instance used to emphasize how silent recycli

Re: [Rd] silent recycling in logical indexing

2018-01-04 Thread Ben Bolker
PS I'm tempted to insert a warning at this point and see how often it actually gets triggered ... On Thu, Jan 4, 2018 at 4:44 PM, Ben Bolker wrote: > Hmm. > > Chuck: I don't see how this example represents > incomplete/incommensurate recycling. Doesn't TRUE replicate from > length-1 to length-3 i

Re: [Rd] silent recycling in logical indexing

2018-01-04 Thread Ben Bolker
Hmm. Chuck: I don't see how this example represents incomplete/incommensurate recycling. Doesn't TRUE replicate from length-1 to length-3 in this case (mat[c(TRUE,FALSE),2] would be an example of incomplete recycling)? William: clever, but maybe too clever unless you really need the speed? (The c

Re: [Rd] silent recycling in logical indexing

2018-01-04 Thread Berry, Charles
> On Jan 4, 2018, at 11:56 AM, Ben Bolker wrote: > > > Sorry if this has been covered here somewhere in the past, but ... > > Does anyone know why logical vectors are *silently* recycled, even > when they are incommensurate lengths, when doing logical indexing? It is convenient to use a s

Re: [Rd] silent recycling in logical indexing

2018-01-04 Thread William Dunlap via R-devel
One use case is when you want to extract every third item, starting with the second, of an arbitrary vector with x[c(FALSE, TRUE, FALSE)] instead of x[seq_along(x) %% 3 == 2] Bill Dunlap TIBCO Software wdunlap tibco.com On Thu, Jan 4, 2018 at 11:56 AM, Ben Bolker wrote: > > Sorry if t

Re: [Rd] Fixed BLAS tests for external BLAS library

2018-01-04 Thread Simon Guest
Hi Tomas, Thanks for your reply. I find your response curious, however. Surely the identical() test is simply incorrect when catering for possibly different BLAS implementations? Or is it the case that conformant BLAS implementations all produce bit-identical results, which seems unlikely? (So

[Rd] silent recycling in logical indexing

2018-01-04 Thread Ben Bolker
Sorry if this has been covered here somewhere in the past, but ... Does anyone know why logical vectors are *silently* recycled, even when they are incommensurate lengths, when doing logical indexing? This is as documented: For ‘[’-indexing only: ‘i’, ‘j’, ‘...’ can be logical v

Re: [Rd] Coping with non-standard evaluation in R program analysis

2018-01-04 Thread jan Vitek
Hi Evan, You may find some parts of what we are doing with genthat useful. Genthat is a tool for creating unit tests by recording argument and return values of calls. This is done by instrumentation of the source code. The git repo with the code is here https://github.com/PRL-PRG/genthat We d

Re: [Rd] Community Feedback: Git Repository for R-Devel

2018-01-04 Thread Mark van der Loo
This question has been discussed before on this list: http://r.789695.n4.nabble.com/Why-R-project-source-code-is-not-on-Github-td4695779.html See especially Jeroen's answer. Best, Mark Op do 4 jan. 2018 om 01:11 schreef Juan Telleria : > UNBIASED FACTS: > • Bugzilla & R-devel Mailing Lists: Rem