Large sorting in R

Discussion in 'App Development' started by R1234, May 1, 2015.

  1. nth

    nth

    yes
     
    #41     Aug 21, 2015
  2. The crux is that R is slow at everything except vectorized operations. So, if you're modeling any kind of backtest on an event-based/looping architecture, it's not the correct way to approach the problem in R. That said, vectorizing everything is definitely not convenient. In my opinion, if you're using R for anything other than an exploratory environment, chances are you know what you're doing and can offload any heavy computation to C++ (or pick your lang here), or you're just going to be miserable.
     
    #42     Aug 21, 2015
    spacewiz likes this.
  3. Absolutely agree. But you should be careful, some of the R core crowd are extremely hostile and aggressive to the slightest criticism of R. You should read some of the discussions that arose about a comparison between Python and R at Stackexchange's Quant finance forum.

     
    #43     Aug 21, 2015
  4. "What programming language should I use..." questions are explicitly discouraged at SE... but for better or worse ET's rules are looser.
     
    #44     Aug 21, 2015
  5. spacewiz

    spacewiz

    Yes, good point. I came to the conclusion that to properly apply R I need to figure out how to vectorize my signal generator functions. This is the next thing I will be looking into.
     
    #45     Aug 21, 2015
  6. Did you look at the package quantstrat
     
    #46     Aug 21, 2015
  7. spacewiz

    spacewiz

    Not yet, but I read a bit about it. Does it help with/use vectorization?
     
    #47     Aug 21, 2015
  8. #48     Aug 21, 2015
  9. Indeed. I was not suggesting to post language comparison questions there...not sure why you brought up this issue. I pointed out a place where there are plenty R developers and they apparently do not take criticism of R lightly. Almost in a cute way.

     
    #49     Aug 21, 2015
  10. #50     Aug 21, 2015