[Rd] Distance Metrics using Euclidean

Keizer_71 christophe.lo at gmail.com
Mon Feb 18 22:21:29 CET 2008


I am trying to calculate the distance metrics, but i keep getting this error.
I am very new with R. Am i doing something wrong.


> dim(data.sub)
[1] 10000   140

> dist(data.sub, method = "euclidean", diag = FALSE, upper = FALSE, p = 2)
Error: cannot allocate vector of size 781250 Kb
In addition: Warning messages:
1: Reached total allocation of 1014Mb: see help(memory.size) 
2: Reached total allocation of 1014Mb: see help(memory.size) 
-- 
View this message in context: http://www.nabble.com/Distance-Metrics-using-Euclidean-tp15549109p15549109.html
Sent from the R devel mailing list archive at Nabble.com.



More information about the R-devel mailing list