search for: mask256

Displaying 1 result from an estimated 1 matches for "mask256".

Did you mean: mask25
2004 May 21
1
Memory usage of R on Windows XP
I am running R 1.8.1 on windows xp. I have been using the 'apply' R function to run a short function against a matrix of 19000 x 340 rows ... yes it is a big matrix. every item in the matrix is a float that can have a maximum value of 2^16 ~ 65k. The function: mask256 <- function(value) { if (value < 256) { result = 0 } else { result = 1 } result } what happens is that the memory required for the session to run starts ballooning. The matrix with a few other objects starts at about 160M, but then quickly goes up t...