Re: [R] compiling functions....

2018-06-21 Thread Sarah Goslee
There are many things you can do to improve speed in R. Byte compiling is just one of them. This chapter in Hadley Wickham's excellent Advanced R book covers both profiling and byte compiling. http://adv-r.had.co.nz/Profiling.html I've gotten some stunning improvements in speed through profiling

[R] compiling functions....

2018-06-21 Thread akshay kulkarni
dear members, I a Day Trader based in INDIA. I use R for my research. I have a function ygusa(snlq,snlcqn) which takes 208 stocks and returns 4 best stocks for the next day(snlq is the list of 208 stocks and snlcqn is their names). However, the execution time is aroun