Re: [R] my function does not work for large data set

2010-12-16 Thread Changbin Du
Thanks Jim1 I will split the data and rum again. On Thu, Dec 16, 2010 at 2:57 PM, Jim Holtman wrote: > I think that your object exceeds the limit of 2^31 elements. > > Sent from my iPad > > On Dec 16, 2010, at 17:44, Changbin Du wrote: > > > Dear R community, > > > > I have one function, it w

Re: [R] my function does not work for large data set

2010-12-16 Thread Jim Holtman
I think that your object exceeds the limit of 2^31 elements. Sent from my iPad On Dec 16, 2010, at 17:44, Changbin Du wrote: > Dear R community, > > I have one function, it works for small data set, but does not work on large > data set, can anyone help me with this? > >> #creat new variable

[R] my function does not work for large data set

2010-12-16 Thread Changbin Du
Dear R community, I have one function, it works for small data set, but does not work on large data set, can anyone help me with this? > #creat new variable by dividing each aa dimer by total_length. > imper<-function(x, file) { +round(x/file$length, 5) + }