[R] The problem of using library(bigmemory)

2012-03-25 Thread yeheng...@gmail.com
To my understanding, library(bigmemory) should allow us to create a matrix larger than 2GB (say 17,000 by 17,000) by temporarily storing the data on harddisk. But I try the following codes to create such a matrix. library(bigmemory) A <- big . matrix (17000 , 17000 , type ="double", init = 0)

[R] R package to efficiently create polyline shape file

2012-03-18 Thread yeheng...@gmail.com
I need to convert dbf/csv data to an ESRI shape file consisting of 200,000 polylines in R. I used the package "shapefiles" that can create small shape files. I found it takes too much time for create 200,000 polylines. I checked the source codes and found R loop is used. I guess it may be the r