[R-sig-finance] R vs. S-PLUS vs. SAS

Robert Sams Robert at sanctumfi.com
Thu Dec 2 21:29:20 CET 2004


hi hoon,

a case study, perhaps relevant to your query: i use r on a debian machine within an emacs buffer, often working with financial time series between 20-40mb, usually pulled from a postgresql cluster via the package Rdbi. never had a problem due to the size of the data. 

ditto pijus' suggestion that you search the help archives... there's allot there concerning r and large datasets. also look at the manual "R Data Import/Export". since you're dealing with financial time series, also look at packages its and zoo.

never use sas, so can't offer any comments on the relative merits of the two packages.

cheers,
robert


Robert Sams

SANCTUM FI LLP
Charles House
18B Charles Street
Mayfair
London W1J 5DU
Tel: +44 (0) 207 667 6360
Dir: +44 (0) 207 667 6363
fax: +44 (0) 207 667 6460
email: robert at sanctumfi.com

Authorised and Regulated by the FSA. 

Sending encrypted mail:

See http://pgp.mit.edu (search string 'sanctumfi') for updates.

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

mQGiBD/xA1kRBAC2RUt8WyHDjXDoO1eu2Mli83cuEV37FicaBs/Wj5ry1QIz1drj
ubP25QQvu0lYOOnP7iS48bcOVP77uQYqLbsvzQ4fChFLCg9O3D4ourolZEK69ooJ
74r87PPV/LEnURL4T8E7QCDrRmylJ1iCffgJ9JWkAN4qUG+6fFuOyiqxDwCgiMkM
oLaYHjl3unc7Anx59xAlm+MD/R1EdXM9uewCj2kS3SdN+akklg6QVy+gTl3+HGzc
MC6ZcLsk1uIklkvCfoYDN7oeC3uVGik7QYkE3n02vfAMGjW7AqsQEoblzi3QscoX
Kzitd04NcWeDYIXRThCCydIJ64DdpF293ewJf2fRykmBdAbV0oaqL+zgdrRqFxYJ
m2d9A/9m3DoHwXBXPyqueX8naY5hmmeG+mihkdI4H4MBmaPJZW9DnZxor6P2Nm/X
muDSf7aZ1t9J0t75oEY/SyjoCYhWlMJS+wnOUq3u5XRNRyo9oI1qQaF5zw8ZmIzW
x7nfQMlXpXpETGwbNxZuUoucbN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P PUBLIC KEY BLOCK-----


> -----Original Message-----
> From: Hoon Kim [mailto:hoonkim380 at yahoo.com]
> Sent: Thursday, December 02, 2004 7:02 PM
> To: r-sig-finance at stat.math.ethz.ch
> Subject: Re: [R-sig-finance] R vs. S-PLUS vs. SAS
> 
> 
> Dear David
> 
> I appreciate sharing your experience using R in
> finance.  I am also doing quant equity research and my
> main tool is SAS.  I do not have much experience with
> R at this stage and I am curious what is your opinion
> on R vs. SAS.  My perception is SAS is much better in
> handling large data sets, which is usually the case in
> quant equity modeling.  Historical backtesting data
> can be easily over several hundread megabites.  In my
> opinion, other than the capability of handling large
> data set in SAS, I think R is a more flexible
> programming language.
> 
> Could you kindly share your thoughts with me on this
> issue?  Do you have any problem in handling large data
> sets in R?  How do you deal with large data set in R? 
> Do you have recommendation on handling those large
> data in R?
> 
> Thanks again for sharing your thoughts.
> 
> Best,
> 
> Hoon Kim
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Tue, 30 Nov 2004 11:06:01 -0500
> From: David Kane <dave at kanecap.com>
> Subject: Re: [R-sig-finance] R vs. S-PLUS
> To: "My Newletters Etc." <MySubs at 3wplace.com>
> Cc: r-sig-finance at stat.math.ethz.ch
> Message-ID:
> <16812.39529.463769.246947 at gargle.gargle.HOWL>
> Content-Type: text/plain; charset=us-ascii
> 
> My Newletters Etc. writes:
>  > I'm wondering if you might be willing to share some
> specifics about
>  > your use of R.  
> 
> Of course. I am a real R evangalist.
> 
>  > For example, what types of analysis have you done
>  > with R?  
> 
> I work in quantitive global equity modeling. How much
> is a share of
> IBM worth? For me, the power in R is not so much that
> the statistical
> tools are fancier than what one find in SAS or Stata
> or whatever ---
> although this is often the case --- but that the
> programming language
> is richer and the production tools (especially
> packages and test
> cases) are so easy to use.
> 
>  > Have you used pre-defined "packages" or have you
> "rolled
>  > your own?"  
> 
> I use all sorts of R packages but, for the actual
> financial analysis
> parts, have had to role my own. It is on my to-do list
> to more fully
> explore things like Rmetrics. I am unaware of any
> packages devoted to
> the sort of stuff that I need to do regularly. As an
> example, I am
> today calculating growth rates of various sorts. Which
> company has the
> fastest growing sales? The answer to this question
> depends on all
> sorts of sticky points that reasonable people can
> disagree about.
> 
>  > Do you have any pointers about how to most
> effectively
>  > approach learning R?  Hopefully these questions are
> sufficient
>  > to give you a feel for the direction of my inquiry.
> 
> The standard R documentation is a fine place to begin.
> I would start
> by reading An Introduction to R cover to cover (while
> doing the
> exercises) and then, depending on your level of
> computer experience,
> going on to Writing R Extensions.
> 
> I encourage you to use R, especially in academics. To
> the extent that
> you believe, as I do, that research should be public
> and replication
> easy (see:
> http://gking.harvard.edu/replrepl/replrepl.html), R
> provides the perfect tool.
> 
> 
> -- 
> David Kane
> Kane Capital Management
> 
> _______________________________________________
> R-sig-finance at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
>



More information about the R-sig-finance mailing list