[R] 1.2.2 under M$ windows 2000 lots of plots out of memory?
Bob Sandefur
rls at pincock.com
Mon Mar 12 17:55:00 CET 2001
hi-
If I source the following
for(k in seq(1:20)){
x<-runif(20000,min=-500,max=2000)
y<-runif(20000,min=-500,max=2500)
z<-runif(20000,min=-10,max=10)
cat(k,"file",memory.size())
cc<-rainbow(11)
plot(x,y,asp=1i,xlim=c(-500,2000),ylim=c(-500,2500),main=k,cex=1.0)
for(i in seq(-10,10,2)){
points(x[z > i],y[z > i],col=cc[(12+i)/2],cex=1.0)
}
rm(x,y,z)
cat(k,"fil2",memory.size(),"\n")
#readline(prompt="enter for nextplot")
dev.off()
}
~
the check print gets to 256MB and R fails; I think I am freeing everthing with the rm(...) and dev.off().
Am I failing to free something or force r to do garbage collection?
I start r with
P:\r\base\rw1022\bin\rgui.exe --vsize=300M --nsize=20000k
and turn of buffered output
I may have a hosed up windows 2000 installation as hibernating with R running on my acer 350 gives the
blue screen of death (The only blue screen of death I've ever had on the updated 2000)
thanx
Rober L Sandefur
Principal Geostatistician
Pincock Allen & Holt (A Hart Crowser Company)
International Minerals Consultants
274 Union Suite 200
Lakewood CO 80228
USA
303 914-4467 v
303 987-8907 f
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list