C

Math Constants in C++

August 14, 2012 | QuantTrader

Some of my colleagues didn't know that you can use mathematical constants that are part of "cmath". Here is the small snippet that shows how to use PI from cmath library. Be aware that you need to write "#define _USE_MATH_DEFINES" before you include cm... [Read more...]

Using R.Net in an Excel Add in

May 31, 2012 | George

I thought I’d try out R.net and in doing so I have put together a very simple Excel 2007 add in that connects Excel to R. I’m using .Net 4.0 in Visual Studio 2010 pro with the latest commit of R.Net, … Continue reading → [Read more...]

Levenshtein distance in C++ and code profiling in R

March 25, 2012 | Dzidorius Martinaitis

At work, the client requested, if existing search engine could accept singular and plural forms equally, e. g. “partner” and “partners” would lead to the same result. The first option – stemming. In that case, search engine would use root of a word, e. g. “partn”. However, stemming has many weaknesses: ... [Read more...]

simulated annealing for Sudokus [2]

March 16, 2012 | xi'an

On Tuesday, Eric Chi and Kenneth Lange arXived a paper on a comparison of numerical techniques for solving sudokus. (The very Kenneth Lange who wrote this fantastic book on numerical analysis.) One of these techniques is the simulated annealing approach I had played with a long while ago.  They seem ... [Read more...]

speed of R, C, &tc.

February 2, 2012 | xi'an

My Paris colleague (and fellow-runner) Aurélien Garivier has produced an interesting comparison of 4 (or 6 if you consider scilab and octave as different from matlab) computer languages in terms of speed for producing the MLE in a hidden Markov model, using EM and the Baum-Welch algorithms. His conclusions are that ... [Read more...]

Vectorized R vs Rcpp

February 1, 2012 | Dzidorius Martinaitis

In my previous post, I tried to show, that Rcpp is 1000 faster than pure R and that generated the fuss in the comments. Being lazy, I didn’t vectorize R code and at the end I was comparing apples vs oranges. To fix that problem, I built a new script, ... [Read more...]

the Art of R Programming [guest post]

January 30, 2012 | xi'an

(This post is the preliminary version of a book review by Alessandra Iacobucci, to appear in CHANCE. Enjoy [both the review and the book]!) As Rob J. Hyndman enthusiastically declares in his blog, “this is a gem of a book”. I would go even further and argue that The Art ... [Read more...]

Dennis Ritchie 1941-2011

October 28, 2011 | xi'an

I just got the “news” that Dennis Ritchie died, although this happened on October 12… The announcement was surprisingly missing from my information channels and certainly got little media coverage, compared with Steve Jobs‘ demise. (I did miss the obituaries in the New York Times and in the Guardian. The Economist ... [Read more...]

vRoom vRoom : Speeding up R with C

June 8, 2011 | Milk Trader

Many times you don't want to trouble friends for help with menial tasks like moving furniture. But sometimes you need to step out and ask. Your friends are always happy to help, and after the heavy lifting is done you see how easy it can be. R likes to...
[Read more...]

Unused function parameters

May 8, 2011 | Derek-Jones

I have started redoing the source code measurements that appear in my C book, this time using a lot more source, upgraded versions of existing tools, plus some new tools such as Coccinelle and R. The intent is to make the code and data available in a form that is ... [Read more...]

Software tools for data analysis – an overview

February 19, 2011 | Szilard

by Szilard Pafka Discussions on various software tools (C, C++, Perl, Python, Unix shell, R, Matlab, SAS, SPSS, Excel, databases, Hadoop etc.) used in data analysis. Szilard Pafka (founder and co-organizer of the Los Angeles R users group) presents an … Continue reading →
[Read more...]

Consuming RdotNET

February 17, 2011 | JeroldHaas

In my explorations with R, Mathematica, FreeMat, MatLab, and RapidMiner (now with R support! Yay!), I’m seeing integration of R to be quite useful in building a trading app, as technical analysis is one of R’s fortés. For the sake of brevity, I’...
[Read more...]

Julien on R shortcomings

September 8, 2010 | xi'an

Julien Cornebise posted a rather detailed set of comments (from Jasper!) that I thought was interesting and thought-provoking enough (!) to promote to a guest post. Here it is , then, to keep the debate rolling (with my only censoring being the removal of smileys!). (Please keep in mind that I do ... [Read more...]

Seamless R and C++ integration

July 28, 2010 | Szilard

Video of the talk “Seamless R and C++ integration” by Dirk Eddelbuettel at the Los Angeles area R Users Group in March 2010 (to see the video in a larger size, click inside the video but outside the play button):
[Read more...]

plagiarism exposed!

June 14, 2010 | xi'an

Last morn, I had the surprise of receiving the following email: This is to inform you that the following abstract has been submitted to the 3rd International Conference of the ERCIM WG on COMPUTING & STATISTICS (ERCIM’10) Ab#: 114 Title: Goodness of Fit Via Mixtures of Beta distributions Keywords: nonparametric estimation, posterior ... [Read more...]

Computational Statistics

May 9, 2010 | xi'an

Do not resort to Monte Carlo methods unnecessarily. When I received this 2009 Springer-Verlag book, Computational Statistics, by James Gentle a while ago, I briefly took a look at the table of contents and decided to have a better look later… Now that I have gone through the whole book, I ...
[Read more...]

AMCMC

November 30, 2009 | Shige

It seems to be something I am looking for: an interface between R and C for Bayesian analysis.http://www.probability.ca/amcmc/
[Read more...]
1 2

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)