Monthly Archives: January 2014

News from PluginR & life after the accident

January 3, 2014
By
News from PluginR & life after the accident

Hi: It's been a while since my last post, and many things happened in between: I had an accident last June that took me off from coding for a few months UseR!2013 was held in July Albacete, and I had to cancel my tutorial since I was still in hos...

Read more »

News from PluginR & life after the accident

January 3, 2014
By
News from PluginR & life after the accident

Hi: It's been a while since my last post, and many things happened in between: I had an accident last June that took me off from coding for a few months UseR!2013 was held in July Albacete, and I had to cancel my tutorial since I was still in hos...

Read more »

Fast-track publishing using knitr: the setup using .RProfile with custom CSS + some HTML goodies (part II)

January 3, 2014
By
Fast-track publishing using knitr: the setup using .RProfile with custom CSS + some HTML goodies (part II)

Fast-track publishing using knitr is a short is a short series on how I use knitr to get my articles faster published. This is part II where I will show how you can tweak RStudio into producing seamless MS Word-integration by using the .RProfile together with CSS, a few basics about HTML that might be...

Read more »

Add ‘Calculation In Process’ Indicator for Shiny Application

January 3, 2014
By

A Calculation in process busy indicator for shiny application is useful especially for the application that take long time to calculate result. I used to developed an application do model fitting which need more than 10 seconds! Users may lose their patience if the application doesn’t response after several seconds! One solution is add a process bar,...

Read more »

rrdf 2.0: Updates, some fixes, and a preprint

January 3, 2014
By
rrdf 2.0: Updates, some fixes, and a preprint

It all started 3.5 years ago with a question on BioStar: how can one import RDF into R and because lack of an answer, I hacked up rrdf. Previously, I showed two examples and a vignette. Apparently, it was a niche, and I received good feedback. And...

Read more »

Part 2: Make your R figures legible in Powerpoint/Keynote presentations

January 2, 2014
By

In the previous post, I outlined some tips for increasing the size of figure labels for figures that are meant to be displayed on a projector. The previous post used the base R plot() function, but the procedure when plotting with ggplot2 is different and usually quite a bit simpler than the stock R plotting

Read more »

New BH release 1.51.1-4

January 2, 2014
By

A new release of the BH package is now on CRAN and its mirrors. BH provides (a sizeable subset of) the Boost library for C++, particularly the (large) parts delivered as pure template headers not requiring linking. See the BH page for more details...

Read more »

Looping Through Files

Looping Through Files

Today, I finally got inspired to deal with tons of datasets from the Tribunal Superior Eleitoral on the Brazilian elections. The cause of the delay for putting my finger on them was simply to avoid troubles with messy large text files. The set of data I collect consists of above 40GB of pure text files,

Read more »

Comparing the #code2013 results with the current TIOBE rankings

January 2, 2014
By
Comparing the #code2013 results with the current TIOBE rankings

The TIOBE language rankings have always been controversial but in the absence of more meaningful metrics tends to be viewed as holy writ. Over the last few days of 2013 a hashtag was started by Twitter user @deadprogram called #code2013. The ...

Read more »

Quickly Create Dummy Variables in a Data Frame

January 2, 2014
By
Quickly Create Dummy Variables in a Data Frame

On Quora, a question was asked about how to fix the error of the randomForest package in R not being able to handle more than 32 levels in a categorical variable. Seeing as how I’ve seen this question asked on Kaggle forums, StackOverflow and elsewhere, here’s the answer: code your own dummy variables instead of Quickly Create...

Read more »