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 serial
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
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] "
> # 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
4 matches
Mail list logo