[R] Which language is faster for numerical computation?

Rainer M Krug r.m.krug at gmail.com
Thu Sep 9 13:26:46 CEST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/09/10 12:26, Christofer Bogaso wrote:
> Dear all, R offers integration mechanism with different programming
> languages like C, C++, Fortran, .NET etc. Therefore I am curious on,
> for heavy numerical computation which language is the fastest? Is
> there any study? I specially want to know because, if there is some
> study saying that C is the fastest language for numerical computation
> then I would change some of my R code into C.

As far as I am aware, the two choices are C and Fortran - where it
depends on the calculations, which one is faster.

Cheers,

Rainer

> 
> Thanks for your time.
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:        +33 - (0)9 53 10 27 44
Cell:       +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:      Rainer at krugs.de

Skype:      RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyIxHYACgkQoYgNqgF2egofwQCePvkN3xewbSNEeKUiuxlL7Utx
CxMAniGRwoAWfJ8VNTPHLXIbtpiZCrMd
=fmFx
-----END PGP SIGNATURE-----



More information about the R-help mailing list