Re: [R] Bigmemory: Error Running Example

2010-08-11 Thread harsh yadav
and Regards, Harsh Yadav On Wed, Aug 11, 2010 at 5:00 PM, Jay Emerson jayemer...@gmail.com wrote: It seems very likely you are working on a 32-bit version of R, but it's a little surprising still that you would have a problem with any single year. Please tell us the operating system and version of R

[R] Append to csv without header

2010-08-11 Thread harsh yadav
,col.names=NA) } counter - counter + 1 } I tried setting col.names = F (In append=T), but no good. Can anyone throw light on the correct usage. Thanks in advance. Regards, Harsh Yadav [[alternative HTML version deleted]] __ R-help@r

Re: [R] Append to csv without header

2010-08-11 Thread harsh yadav
Hi, Thanks a lot. It worked with:- write.table(data, file = outputModelFilePath, append=T, sep=,, col.names=F) Regards, Harsh Yadav On Wed, Aug 11, 2010 at 11:53 PM, David Winsemius dwinsem...@comcast.netwrote: On Aug 11, 2010, at 10:29 PM, harsh yadav wrote: Hi, I am writing

[R] Bigmemory: Error Running Example

2010-08-10 Thread harsh yadav
before could throw some light on it. Were you able to run the examples successfully? Thanks in advance. Harsh Yadav [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

[R] Reading timestamp column from MySQL

2010-07-28 Thread harsh yadav
converted to same value: 1.236887e+12 Any ideas of how this could be dealt with, so that I can get the entire timestamp field. Thanks in advance. Regards, Harsh Yadav [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https

[R] Left Outer Join 2 DF's on Multiple Conditions

2010-07-25 Thread harsh yadav
- tab2.mouseX = 0 And tab1.data2 - tab2.mouseY = 0 Any ideas how this could be done. Thanks in advance. Regards, Harsh Yadav [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

[R] Updating a Data Frame

2010-07-22 Thread harsh yadav
,tobiiTime], dataF[i,ruiTime]) } } } However, this particular update functionality is performing very slow updates. Is there a better and more efficient way to update multiple fields in a data-frame efficiently. Thanks in advance. Harsh Yadav [[alternative HTML version deleted

[R] Error using sqldf

2010-07-20 Thread harsh yadav
driver: (error in statement: near (: syntax error) Can you guys suggest me where I am going wrong in passing in variable to sqldf() query. Thanks in advance. Harsh Yadav [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

[R] Comparison of two very large strings

2010-07-12 Thread harsh yadav
the length of the smaller). When I run the above function for about 1 million records, the execution becomes really slow, which otherwise is fast if I remove the string comparison step. Any ideas how it can be implemented in a fast and efficient way. Thanks and Regards, Harsh Yadav

Re: [R] Data Frame Manipulation using function

2010-07-09 Thread harsh yadav
Hi, Thanks a lot. The Vectorize method worked and its much faster than looping through the data frame. Regards, Harsh Yadav On Thu, Jul 8, 2010 at 11:06 PM, David Winsemius dwinsem...@comcast.netwrote: On Jul 8, 2010, at 10:33 PM, Erik Iverson wrote: I have a data frame: id url

[R] Data Frame Manipulation using function

2010-07-08 Thread harsh yadav
ideas how this can be done? Thanks in advance. Regards, Harsh Yadav [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org

Re: [R] Data Frame Manipulation using function

2010-07-08 Thread harsh yadav
values that != 1, and the column `url` contains row values that satisfy the function definition. Any ideas how this can be done? Thanks in advance. Regards, Harsh Yadav On Thu, Jul 8, 2010 at 9:43 PM, Erik Iverson er...@ccbr.umn.edu wrote: It will be a lot easier to help you if you follow

[R] Index of Character

2010-06-30 Thread harsh yadav
string functions, but not the index function. Thanks in advance. Regards, Harsh Yadav [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http

[R] Error: cannot allocate vector of size 31.8 Mb

2010-06-18 Thread harsh yadav
in advance, Harsh Yadav [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented