Algorithmic Trading Group Forum
https://www.algotradinggroup.com/cgi-bin/yabb2/YaBB.pl
Trading Strategies >> Software Infrastructure >> What is 'R' language ?
https://www.algotradinggroup.com/cgi-bin/yabb2/YaBB.pl?num=1214864154

Message started by Maltamir on 06/30/08 at 23:15:53

Title: What is 'R' language ?
Post by Maltamir on 06/30/08 at 23:15:53

'R' language project may be a revolution for quantitative and algo-trading cause it offers basic and easy methematical function. You don't need anymore to build data analysis, the language offers it !

Have a look to 'R' project web page :

http://www.r-project.org/

Title: Re: What is 'R' language ?
Post by Co0olCat on 06/30/08 at 23:32:31


Maltamir wrote on 06/30/08 at 23:15:53:
'R' language project may be a revolution for quantitative and algo-trading cause it offers basic and easy methematical function. You don't need anymore to build data analysis, the language offers it !

Have a look to 'R' project web page :

http://www.r-project.org/


I do agree that R has many positive features. I am using it myself as a weapon of choice for prototyping. At the same time one needs to realize its limitations. First, there is no classic debuging facilities. Second, it is a collection of wrapped Fortran and C/C++ routines. Observed R performace (speed) is not the same as the code complitely written in C/C++. As a result, I do not think that production platform would be written in R.

EDITED: What about Python? You can call R from Python. You can compile Python code and produce stand-alone executable (which is not the case for R).

Title: Re: What is 'R' language ?
Post by 3John on 07/28/08 at 13:33:16

> EDITED: What about Python? You can call R from Python.

Another choice for Python would be Sage...

 http://www.sagemath.org/



Title: Re: What is 'R' language ?
Post by Yury R on 07/28/08 at 16:09:48

I have just tried to use it and R rules! Which proves the point that functional languages or languages with functional features have future.

Title: Re: What is 'R' language ?
Post by Phoenix on 08/28/09 at 05:03:31

Hi all,

I also use R for prototyping. I saw Tinn-R mentionned on another thread. I didn't know something like that existed. I will certainly try it. It looks great!

I am also considering the use of Haskell (a functional language) to perform machine learning experiments (GA for example) to discover good trading strategies. See http://www.haskell.org/ for more information. Jane Street in the US is using OCAML, another FP language. They have a video to explain why they use it: http://ocaml.janestreet.com/?q=node/61

Is there anybody here using FP languages other than R?

Title: Re: What is 'R' language ?
Post by RoBiK on 08/28/09 at 10:17:40

What about F# ?

For the most part it is syntax compatible wit OCaml. A functional language with the full power of .NET Framework and CLR behind it.
It will be fully integrated in the Visual Studion 2010 and .NET Framework 4.0 release (currently in beta).

http://en.wikipedia.org/wiki/F_Sharp_%28programming_language%29

Title: Re: What is 'R' language ?
Post by Phoenix on 08/29/09 at 00:59:12

Hi!

To be honest, I am hesitating between F# and Haskell. I find Haskell to be cleaner than F# but F# has .NET behind it and a good IDE in Visual Studio. I think that if Haskell had a good IDE then people would not be so hesitant in adopting it. Haskell has good libraries too.

Do you use F# yourself?

Title: Re: What is 'R' language ?
Post by RoBiK on 08/31/09 at 10:13:42

my general language of choice is c# so f# would be a good complement for me. until now i didn't learned f# but i already have some books ready and will do it soon.
C# is also interesting, because it already integrates some features borrowed from functional programming like anonymous methods, anonymous types, initializatiors for collections and arrays, iterators, lambda expressions, extension methods etc.

Title: Re: What is 'R' language ?
Post by Phoenix on 09/01/09 at 01:53:02

Hi RoBiK,

I know (and like) C#. The reason why I consider Haskell is that I already used Miranda which is quite similar and I loved it. Now a functional language is a functional language and I would probably like F# too but...

Also, Haskell is compiled natively so it is faster than .NET which runs on a virtual machine (although this might not be that big an advantage depending on what I am going to do).

The reason I asked about functional languages is that there is supposed to be "a lot" of people doing financial stuff with them (such as Jane Street). I was curious if some people here actually do that with languages such as OCaml, F# or Haskell. I am curious to see how things went/are.

Title: Re: What is 'R' language ?
Post by willc on 11/11/09 at 13:36:02

For some reason, majority of the books I have read refers to C++. They explain that the multiparadigm language allows flexibility to implement different ways of doing things quantitatively. However, since many of you have brought up the use of R, I will take a look at R. Thanks for the recommendations.

As for functional programming languages, I was actually planning to try Scala. I did some research and it seems like Scala is one of the most popular functional programming languages right now.

Title: Re: What is 'R' language ?
Post by Lawrence on 11/20/10 at 03:32:35

I like R because it is good for analyzing large data set.
Very good set of functions.
Love it. :-*

Title: Re: What is 'R' language ?
Post by statstrader on 11/20/10 at 05:01:45

Hey All,

I haven't been by for a while, but it looks as if activity is picking up. FWIW, there are many examples on R and a great new book with many R based trading examples based on data mining covered here.

http://intelligenttradingtech.blogspot.com/


Title: Re: What is 'R' language ?
Post by danielfuentes on 06/30/11 at 15:54:27

I think R is heading for the right direction... have you made any experience with R in the Cloud yet? I did some first calculations on www.cloudnumbers.com and I must say that in terms of speed its quite awesome, HPC is simply another dimension...

Title: Re: What is 'R' language ?
Post by Algo Designer on 07/01/11 at 00:38:45

I couldn't agree more! I have recently made it my primary strategy development environment.

Thank you for sharing the R in the Cloud link! This is something I have been looking for.

Algorithmic Trading Group Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.