[分享] Strategies to Speedup R Code

楼主: celestialgod (天)   2016-02-02 09:15:51
[关键字]: speedup R
[出处]:
http://www.r-bloggers.com/strategies-to-speedup-r-code/
[重点摘要]:
The for-loop in R, can be very slow in its raw un-optimised form, especially
when dealing with larger data sets. There are a number of ways you can make
your logics run fast, but you will be really surprised how fast you can
actually go.
This posts shows a number of approaches including simple tweaks to logic
design, parallel processing and Rcpp, increasing the speed by orders of
several magnitudes, so you can comfortably process data as large as 100
Million rows and more.
从简入深介绍一些R加速的技巧,不少在板上都有被讨论过
作者: andrew43 (讨厌有好心推文后删文者)   2016-02-02 18:47:00
好文!
作者: cywhale (cywhale)   2016-02-03 08:23:00
看R-blogger读到当下就联想到C大诸多测快文~~Scaling data.table using index http://wp.me/pMm6L-tZASolve R efficiently by data.table https://t.co/jmyUg

Links booklink

Contact Us: admin [ a t ] ucptt.com