Re: [R] Calculating Distance Metrics using Euclidean

2008-02-19 Thread Prof Brian Ripley
On Tue, 19 Feb 2008, Keizer_71 wrote: > > 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. Cross-posting: see the thread at https://stat.ethz.ch/pipermail/r-devel/2008-February/048452.html where your question has alr

[R] Calculating Distance Metrics using Euclidean

2008-02-19 Thread Keizer_71
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] 1 140 > dist(data.sub, method = "euclidean", diag = FALSE, upper = FALSE, p = 2) Error: cannot allocate vector of size 781250 Kb In addit