Displaying 1 result from an estimated 1 matches for "erzeugetestlist".
Did you mean:
erzeugetestliste
2003 Oct 09
1
Recursive indexing can cause R-1.8.0 (and R-1.7.1) to segment fault (PR#4486)
...linux, compiler: gcc 3.3.1 or 2.95.3)
to produce a segment fault.
Suppose we have the following code:
(be aware: it crashes R!)
###################################################################
# R code from Volkmar Klatt, email: volkmar.klatt AT stud.uni-bayreuth.de
# just make a nested list:
erzeugeTestListe <- function( laenge )
{
Liste <- list()
for (i in 1: laenge )
{
hilf <- round(runif(1)*20) +1
X <- runif( hilf )
Y <- runif( hilf )^2
summeX <- sum(X)
summeY <- sum(Y)
Liste <- c(Liste, list(list( summe=list(X=summeX, Y=summeY),
punkte=list(X=X, Y=Y))...