November 2011

Wicked Webapps with R, err, Wt

November 30, 2011 | 0 Comments

A few months ago, I had blogged about using R inside of Qt. This used our RInside package for embedding the statistical programming environment and language R inside of a C++ application, and further relies on our Rcpp package for R and C++ integrati... [Read more...]

A look at market returns by month

November 30, 2011 | 0 Comments

I’ve been reading The Big Picture, and again, there was a discussion about seasonality in stock markets (see Fourth Quarter is Da Bomb). I’ve already discussed the two seasonal investment scenarios (Nov. to Apr VS May to Oct) in this post, and was wondering if one could break ... [Read more...]

mean of an absolute Student’s t

November 30, 2011 | 0 Comments

Having (rather foolishly) involved myself into providing an answer for Cross Validated: “Can the standard deviation of non-negative data exceed the mean?“, I ended up having to derive the mean of the absolute value of a Student’s variate X.  (Well, not really, but then I did.) I think the ... [Read more...]

Earthquakes

November 30, 2011 | 0 Comments

__ data(quakes)__ head(quakes) lat long depth mag stations 1 -20.42 181.62 562 4.8 41 2 -20.62 181.03 650 4.2 15 3 -26.00 184.10 42 5.4 43 4 -17.97 181.66 626 4.1 19 5 -20.42 181.96 649 4.0 11 6 -19.6... [Read more...]

Tips for getting started on Kaggle (datamining)

November 30, 2011 | 0 Comments

Ever since I heard about Kaggle.com at this year's Bay Area Data Mining Camp, I've wanted to participate. But I was feeling somewhat intimidated. Jeremy Howard's "Intro to Kaggle" talk at yesterday's MeetUp (DataMining for a Cause) was exactly what I... [Read more...]

Free ggplot2 webinar from Hadley Wickham

November 30, 2011 | 0 Comments

The Orange County R Users Group is hosting a free webinar presented by Hadley Wickham, author of the ggplot2 graphics package for R. The webinar, "Advanced Visualizations in R with Hadley Wickham" is live from 6PM-7PM Pacific Time tomorrow, December 1. You can register at the LinkedIn event page below, ... [Read more...]

rOpenSci is a runner-up in the Mendeley Binary Battle!

November 30, 2011 | 0 Comments

We just got word that rOpenSci was a runner-up in the first Binary Battle!  Thank you for all the support so far! We entered two of our packages for integrating with PLoS Journals (rplos) and Mendeley (RMendeley) in the Mendeley-PLoS Binary Battle.  Get them at GitHub (rplos; RMendeley). These two ... [Read more...]

GUI for sending email in R (using sendEmail)

November 30, 2011 | 0 Comments

After writing the last post on using sendEmail to send email from R I decided to create a simple GUI to enable this functionality. A snapshot image of the GUI is shown above. To use this GUI, you will need to install the following packages in R: gWidgets gWidgetsRGtk2 Windows ... [Read more...]

Alpha decay in portfolios

November 30, 2011 | 0 Comments

How does the effect of our expected returns change over time?  This is not academic  curiosity, we want to know in the context of our portfolio if we can.  And we can — we visualize the effect of expected returns in situ. First step The idea is to look at the ... [Read more...]

Job Satisfaction in England – GGPlot #2

November 29, 2011 | 0 Comments

I’ve recently been scouring the internet for a public opinion data set pertaining to job satisfaction. I was particularly interested in examining how gender, age, and socio-economic status influence how satisfied an individual is with their current employment situation. For example, existing research suggests that women and private-sector employees ... [Read more...]

The art of R programming

November 29, 2011 | 0 Comments

This is a gem of a book. It will become the book I give PhD students when they are learning how to write good R code. That is, if I ever see it again. I had hoped to write a review of it, but I haven’t seen it since ... [Read more...]

Learning R as a language

November 29, 2011 | 0 Comments

Books written to teach a general purpose programming language are usually organized according to the features of the language and examples often show how a particular language feature is interpreted by a compiler. Books about domain specific languages are usually organized in a way that makes sense in the corresponding ... [Read more...]

Ulam Spirals in R and ggplot

November 29, 2011 | 0 Comments

Having seen a twitter post speed by about Ulam Spirals I started to read up.  As the story goes in 1963 Stanislaw Ulam was bored at conference and started scribbling numbers in a spiral. What he discovered was a strange diaginal pattern of Prime Nu... [Read more...]

Clearning up the sqldf confusion

November 29, 2011 | 0 Comments

Apparently I have issues with my reading comprehension and with Textmate (initially) when it comes to using the sqldf package. G. pointed out in the previous comments, I could have just used options(gsubfn.engine = "R") instead of going through the trouble of installing the tcltk binaries. If you’ve ... [Read more...]

RcppArmadillo 0.2.31

November 29, 2011 | 0 Comments

Conrad Sanderson just released the second pre-release 2.3.92 of what will be Armadillo 2.4.*. This is now in RcppArmadillo release 0.2.31 which is already on CRAN as of this morning. The NEWS entries summarising the changes for both a... [Read more...]

R still the preferred tool of predictive modelers competing at Kaggle

November 29, 2011 | 0 Comments

As reported on the Kaggle blog No Free Hunch, R remains the preferred tool for data scientists seeking to win the prizes in the predictive modeling competitions: More than 30% of Kaggle competitors report using R for their analysis, up from 22% a year ago. R's flexibility and the breadth of packages ... [Read more...]

Permanently Setting the CRAN repository

November 29, 2011 | 0 Comments

Setting the CRAN repository so that it does not ask every time you try to install a package  is something that I think few people bother to do, but it is so simple and can save a fair bit of frustration when working.  This is accomplished through a setting in ... [Read more...]

Review of "The Art of R Programming" by Norman Matloff

November 29, 2011 | 0 Comments

By Joseph Rickert Anyone seeking to learn R faces two major challenges: (1) learning how to swim in the sea of information: R packages, books, websites, blog posts, message boards etc. that threatens to drown a newbie and (2) and coming to grips with the structure, syntax and features of the language ... [Read more...]
1 2 3 14

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)