[R] *** caught segfault *** when using impute.knn (impute package)

Bettina Kulle Andreassen b.k.andreassen at medisin.uio.no
Wed Mar 2 15:31:57 CET 2011


hi,

i am getting an error when calling the impute.knn
function (see the screenshot below).
what is the problem here and how can it be solved?


screenshot:

##################
  *** caught segfault ***
address 0x513c7b84, cause 'memory not mapped'

Traceback:
  1: .Fortran("knnimp", x, ximp = x, p, n, imiss = imiss, irmiss, 
as.integer(k), double(p), double(n), integer(p), integer(n),     PACKAGE 
= "impute")
  2: knnimp.internal(x, k, imiss, irmiss, p, n, maxp = maxp)
  3: knnimp(x, k, maxmiss = rowmax, maxp = maxp)
  4: impute.knn(dummy0, k)

Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace

##################

thanks for your help in advance!

tina

-- 

Bettina Kulle Andreassen

University of Oslo

Department of Biostatistics

and

Institute for Epi-Gen (Faculty Division Ahus)

tel:
+47 22851193
+47 67963923



More information about the R-help mailing list