[R] Analysis with spatstat and Kcross() requires to much memory

From: Rainer M Krug <r.m.krug_at_gmail.com>
Date: Thu, 14 Feb 2008 15:52:07 +0200


I am running analysis with Kcross from the package spatstat and I am getting a message that R can not allocate enough memory for a vector of 900MB. R seems to be running towards the 2GB limit per process.

The dataset is not to big (ca 3000 points) but the mask for the points is extremely irregular (a buffer around roads which have been sampled) and I can do trhe analysis if I use a rectangular mask covering the whole area (which is obviously not correct).

My question is: is there a way of splitting the dataset or changing the mask son that I can do the analysis, as I don't want to move to a 64bit computer (if not necessary).



My computrer:

SuSE 10, 32 bit, 1GB ram, 1GB swap.

> version

platform       i686-pc-linux-gnu
arch           i686
os             linux-gnu
system         i686, linux-gnu
major          2
minor          6.2
year           2008
month          02
day            08
svn rev        44383
language       R

version.string R version 2.6.2 (2008-02-08)
Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation Biology (UCT)

Plant Conservation Unit Department of Botany
University of Cape Town
Rondebosch 7701
South Africa

	[[alternative HTML version deleted]]

R-help_at_r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Thu 14 Feb 2008 - 14:29:27 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 15 Feb 2008 - 15:30:15 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive