Re: [R] write.dbf error: invalid subscript type 'list'

2012-08-13 Thread Avishek Dutta
Well I got my answer. Thanks again Rui. On Mon, Aug 13, 2012 at 9:24 PM, Avishek Dutta wrote: > Thanks A LOT, I will keep this in mind! > > > On Mon, Aug 13, 2012 at 9:15 PM, Rui Barradas wrote: > >> If you intend to use R code in a package, or to source() it, or to be >

[R] write.dbf error: invalid subscript type 'list'

2012-08-13 Thread Avishek Dutta
Dear all, I am basically a GIS user and am new to R. I am trying to write a data frame to a dbf file. *n.simulations <- 999 binomial <- kulldorff(geo, cases, population, NULL, pop.upper.bound, n.simulations, alpha.level, plot) cluster <- binomial$most.likely.cluster$location.IDs.included df <- d