Re: [Rd] Fresh build from source of R-3.2.5 failing "make check" under 64-bit Ubuntu [SOLVED]

2016-04-21 Thread Mark Dalphin
Testing for an NFS effect on the failure of 'make check': Try first on /usr/local/ 9:42cd /usr/local/src/ 9:42sudo mkdir R 9:43 sudo chown mdalphin:mdalphin R 9:43 cd R 9:43 gunzip -c /opt/apps/x86_64/R/Archive/R-3.2.5.tar.gz | tar xf -

Re: [Rd] locked environments

2016-04-21 Thread luke-tierney
Ideally they should all work. What is happening is that the current implementation of complex assignment wants to use a temporary variable named *tmp*, which it can't when the evaluation environment is locked. Assignments in compiled code use a different mechanism that I hope will eventually be po

Re: [Rd] "cophenetic" function for objects of class "dendrogram"

2016-04-21 Thread William Dunlap via R-devel
Note that cophenetic.default (which works on the output of hclust(dist(X))) uses the row names of X as labels. as.dendrogram.hclust does not retain those row names so cophenetic.dendrogram cannot use them (so it orders them based on the topology of the dendrogram). Bill Dunlap TIBCO Software wdun

Re: [Rd] "cophenetic" function for objects of class "dendrogram"

2016-04-21 Thread William Dunlap via R-devel
I think the results differ only in the order of the labels. The following function puts the labels in a standard order and then the results are the same: canonicalize.dist <- function (distObject) { o <- order(labels(distObject)) as.matrix(distObject)[o, o, drop = FALSE] } ide

Re: [Rd] Fresh build from source of R-3.2.5 failing "make check" under 64-bit Ubuntu

2016-04-21 Thread peter dalgaard
Hmm. I don't think this has been seen by other Ubuntu users, or other Linuxen for that matter. You have a gratuitous use of "&", but I don't really see how that would give these symptoms, unless you accidentally run a command twice, creating a race condition between two background processes.

[Rd] "cophenetic" function for objects of class "dendrogram"

2016-04-21 Thread Alberto Fernández Sabater
Hello, I have been using the "cophenetic" function for objects of class "dendrogram" and I have realised that it gives different results when it is used with objects of class "hclust". For instance, running the first example in the help file of the "cophenetic" function, d1 <- dist(USArrests

Re: [Rd] Benchmarks for R

2016-04-21 Thread peter dalgaard
make check-all ? On 21 Apr 2016, at 10:23 , Francisco Banha wrote: > Hello, > > I'm currently working on a project where I have to make chages to the source > code of R itself. By doing this it's possible that I mess something up and > make R stop working correctly. > Can anyone tell me if

[Rd] Benchmarks for R

2016-04-21 Thread Francisco Banha
Hello, I'm currently working on a project where I have to make chages to the source code of R itself. By doing this it's possible that I mess something up and make R stop working correctly. Can anyone tell me if there are some benchmarks that test the whole R language or at least the most impor