909 search results for "RStudio"

Types in lambda.r versus classes in S4

July 10, 2013
By
Types in lambda.r versus classes in S4

Here’s a quick example of the power of lambda.r and how it simplifies the programming model. On the r-devel mailing …Continue reading »

Read more »

UK dialect maps

July 10, 2013
By
UK dialect maps

A few weeks ago Joshua Katz published some awesome dialect maps of the United States with the help of a web interface coded with Shiny. Now we propose a similar setup for the UK data based on our rapporter.net "R-as-a-Service" with some further add-ons, like regional comparison and dynamic textual analysis of the differences: You may...

Read more »

Unicode Tips in Python 2 and R

July 9, 2013
By
Unicode Tips in Python 2 and R

Most of time, I don’t need to deal with different encodings at all. When possible, I use ASCII characters. And when there is a little processing in Chinese characters or other Unicode characters, I use .Net languages or JVM languages, in which every string is Unicode and of course when the characters are displayed they are displayed as characters...

Read more »

Interactive Heatmaps (and Dendrograms) – A Shiny App

July 7, 2013
By
Interactive Heatmaps (and Dendrograms) – A Shiny App

Heatmaps are a great way to visualize data matrices. Heatmap color and organization can be used to  encode information about the data and metadata to help learn about the data at hand. An example of this could be looking at the raw data  or hierarchically clustering samples and variables based on their similarity or differences.

Read more »

A Recipe for Trellis/Faceted Plots Using Base R Graphics

July 5, 2013
By
A Recipe for Trellis/Faceted Plots Using Base R Graphics

I frequently use lattice and ggplot2 to create trellis/faceted graphics. But, I gave up using these packages in a recent application, where I had initially constructed a complex graphic using the base R plotting functions. When I later decided that I wanted a faceted version, there was a dilema: re-create the complex graphic using lattice

Read more »

In case you missed it: June 2013 Roundup

July 3, 2013
By

In case you missed them, here are some articles from June of particular interest to R users: You can create a Word document from a template and an R script with the R2DOCX package. Joe Rickert reviews books and other resources for learning about time series analysis in R. Timely Portfolio covers 15 years of history of time series...

Read more »

There is definitely R in July

July 1, 2013
By
There is definitely R in July

The useR!2013 conference in Albacete, Spain, will commence next Wednesday, 10 July, and on the day before Diego and I will give a googleVis tutorial. The following Monday, 15 July, the first R in Insurance event will take place at Cass Business School ...

Read more »

Power and sample size calculator for mitochondrial DNA association studies (Shiny)

July 1, 2013
By
Power and sample size calculator for mitochondrial DNA association studies (Shiny)

The functions detailed inside the piece of code below (in a Gist) has been useful for me when I had to calculate many possible scenarios of statistical power and sample size. The formulae were taken from the article of Samuels … Sigue leyendo →

Read more »

Shiny Server on CentOS

June 29, 2013
By

I’ve been enjoying working with Joe Cheng’s Shiny Server and wanted to create a quick step-by-step guide on installing it on an AWS CentOS EC2 instance as the standard Shiny Server instructions assume the typical dependencies are installed: 1. Shiny’s instructions say to install libssl-dev (sudo yum install libssl-dev), here is the CentOS equivalent : sudo yum install openssl-devel

Read more »

R snippets for vim-SnipMate

June 26, 2013
By

Vim is my editor of choice, reasonable so, whether it be for coding C++, LaTeX or even R. I’ve used RStudio, which even has a Vim-Mode, but I still prefer to use Vim. Vim has it’s own R plugin, namely Vim-R-plugin, but this post is about snippets. SnipMate is an awesome auto-completion plugin for Vim The post R...

Read more »