What might be most likely for misunderstanding is "Patrick's book" since my message was private. The book is S Poetry.
Patrick Burns [EMAIL PROTECTED] +44 (0)20 8525 0696 http://www.burns-stat.com (home of S Poetry and "A Guide for the Unwilling S User") ecoinfo wrote: >Sorry for my poor English. One sentence in my last emails should be >"Furthermore, I need a general instruction (e.g. Patrick's book and >Duncan's rules) instead of pieces". Hope I was not misunderstood. > >Thanks for Patrick and Duncan's useful replies. >Xiaohua > >On 10/18/05, ecoinfo <[EMAIL PROTECTED]> wrote: > > >>RSiteSearch("speed up R code") >>== search for a page having the words (speed, up, R, and code) >>surely R is found everywhere. >>Although there are some useful archives, many of them are not. >>Furthermore, I need a general instruction instead of pieces (e.g. >>Patrick's book and Duncan's rules) >> >>If I use "speed up R code" as a phrase, then only one not-very-useful hit. >> >>Thanks, >>Xiaohua >> >> >> >>On 10/18/05, Thomas Schönhoff <[EMAIL PROTECTED]> wrote: >> >> >>>Hello, >>> >>> >>>2005/10/18, ecoinfo <[EMAIL PROTECTED]>: >>> >>> >>>>Hi R-users: >>>> >>>>Yesterday I ran a R code for 9 hours and it did not show any sign to >>>>stop. Then I interrupted it and found it had completed 82.5%. >>>> >>>>This morning I decided to wait for another 11 hours to see what will >>>>happen. Wait a minute, I heard that transforming data.frame to matrix >>>>will make R code faster. Then I made the modification in my R code. >>>>Oooh, the new code finished within 30 minutes!! >>>> >>>>Are there any other tips to speed up R program? Or someone could >>>>indicate me some documents or websites on R code optimization? >>>> >>>>#OS: Win XP, CPU: Pentium IV, 3.20G, Memory: 1G >>>>#for() loop: 1000*1616*3*41, 3 data.frames (dim = c(1616,5), c(1616), >>>>c(1616) respectively) >>>> >>>> >>>> >>>RSiteSearch("speed up R code") gives 346 hits, so this problem has >>>been discussed on this list some time before. Maybe something worth to >>>pay attention to? >>> >>> >>>regards >>>Thomas >>> >>>______________________________________________ >>>[email protected] mailing list >>>https://stat.ethz.ch/mailman/listinfo/r-help >>>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html >>> >>> >>> > >______________________________________________ >[email protected] mailing list >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html > > > > > ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
