I am trying to calculate the distance metrics, but i keep getting this error.
I am very new to 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/Calculating-Distance-Metrics-using-Euclidean-tp15560521p15560521.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to