August 2011

A Bayesian Guessing Game

August 3, 2011 | ALT

You, the player, must think of some set, eg "odd numbers" or "perfect squares," and that'll be your little secret. Now think of some numbers that live in the intersection of your set and the integers {1, 2, ... , 100} -- for example, if you've chosen ...
[Read more...]

Faster files in R

August 3, 2011 | mlt

R is fairly slow in reading files. read.table() is slow, scan() a bit faster, and readLines() fastest.But all these are nowhere as fast as other tools that scan through files. Let us look at an example. I have in front of me a 283M file.(Small update: the ... [Read more...]

Tomboy Notes: Personal R Help File

August 3, 2011 | 0utlieR

When learning R it is helpful to have your own personal help file. One you create for yourself, with the notes, links, and language you understand (sometimes the help files are not very helpful). Let me introduce you to Tomboy Notes.Tomboy Notes is a l... [Read more...]

WordPress WordCloud with R

August 3, 2011 | Martin Scharm

These days one can frequently read about wordclouds created with R, initiated by the release of the wordcloud package by Ian Fellows on July 23rd. So here I am to put in my two cents. I thought about creating a wordcloud of a complete blog history, so I build a ... [Read more...]

RcppArmadillo 0.2.28

August 2, 2011 | Thinking inside the box

Armadillo 2.2.1 came out today (and it looks like 2.2.0 was skipped, tst, tst). It has now been wrapped into release 0.2.28 of RcppArmadillo which is already on CRAN. The NEWS entry is below; a number of these changes were already in the preceding 0... [Read more...]

Syntax highlighting of roxygen documentation in TextMate

August 2, 2011 | cameron

With roxygen now on github, the release of roxygen2 and Hadley’s might now behind the project I expect roxygen to gain even more momentum. R development in TextMate is great with the R bundle. Unfortunately the R bundle does not support highlighting of roxygen documentation by default. That was ... [Read more...]

Using Emacs to work with R

August 2, 2011 | chlalanne

A simple yet efficient way to work with R consists in writing R code with your favorite text editor and sending it to the R console. This allows to build efficient R code in an incremental fashion. A good editor might even provide syntax highlighting, parenthesis matching, and a way ... [Read more...]

With byte compiler, R 2.14 will be even faster

August 2, 2011 | David Smith

In a presentation at the JSM 2011 conference in Miami yesterday, R core member Luke Tierney revealed that the next major update to R, R 2.14, will feature improved speed when processing interpreted R code, thanks to standard use of the new byte compiler feature. The byte compiler was introduced with R 2.13, ... [Read more...]

Summarizing Returns with R

August 2, 2011 | The Average Investor

Often I like to see the performance of a trading strategy summarized annually, quarterly or by month. In R, we start off with the summary function: Given a series xx, usually a chunk of the original, this function returns the accumulative returns for the period. The leverage is useful to ... [Read more...]

JSM 2011 [3]

August 2, 2011 | xi'an

Monday August 01 was the first full day of JSM 2011 and full is the appropriate word to describe the day! It started for me at 7am with a round table run by Marc Suchard on parallel computing (or at 3am if I am considering the time I woke up!). I was ... [Read more...]

Dividend Quartiles with Kenneth French Data

August 1, 2011 | klr

Based on my perception of the last 3 years, I would have expected high dividend stocks to have substantially underperformed low and zero dividend stocks.  Fortunately, just like with size and momentum in Beating Kenneth French Small – High, we c...
[Read more...]

Google Trends, R, and the NFL

August 1, 2011 | Ryan

A week or so ago I saw a tweet related how the NFL lockout was affecting the search traffic for “fantasy football” on Google (using Google Trends).  Basically, the search traffic (properly normalized on Google Trends) was down prior to … Continue reading → [Read more...]

On not going viral

August 1, 2011 | dan

This week the reader is directed to Messy Matters to read up on research conducted by Sharad Goel, Duncan Watts and Dan Goldstein in which they hunted for traces of "viral" diffusion on Twitter, Facebook, Yahoo!, and beyond. The results run counter to mainstream intuition. [Read more...]
1 11 12 13

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)