Re: [R] R 3.6.1 and apcluster package

2019-07-18 Thread Jan Galkowski
I have confirmed that a complete workaround to these problems is available if, as Bill Dunlap suggested, "version=2" is used in all *save* incantations. Thanks Bill! - Jan On Thu, Jul 18, 2019, at 10:39, William Dunlap wrote: > Note that you can reproduce this in R-3.5.1 if you specify

Re: [R] R 3.6.1 and apcluster package

2019-07-18 Thread William Dunlap via R-help
If you use version=3, ascii=TRUE and look at the file made up to the point of the error, you can see a quasi-infinite repeat of a block of 165 numbers (after a deferred string called "base"?). Looks like inappropriate recursion. Bill Dunlap TIBCO Software wdunlap tibco.com On Thu, Jul 18, 2019

Re: [R] R 3.6.1 and apcluster package

2019-07-18 Thread William Dunlap via R-help
Note that you can reproduce this in R-3.5.1 if you specify serialization version 3 (which became the default in 3.6.0). > save(apresX, file="351-2.RData", version=2) > save(apresX, file="351-2.RData", version=3) Error: C stack usage 7969184 is too close to the limit > version$version.string [1]

[R] R 3.6.1 and apcluster package

2019-07-18 Thread Jan Galkowski
> # Test for saving. Jan Galkowski, 17th July 2019. > # produceProtectionFault.R > > library(apcluster) > cl1 <- cbind(rnorm(100, 0.2, 0.05), rnorm(100, 0.8, 0.06)) > cl2 <- cbind(rnorm(50, 0.7, 0.08), rnorm(50, 0.3, 0.05)) > x <- rbind(cl1, cl2) > > ## compute similarity matrix and run affinity