1364 search results for "RSTUDIO"

Producing student/teacher versions from a single Sweave file

December 16, 2014
By
Producing student/teacher versions from a single Sweave file

This tutorial describes how to integrate computable R code (and outputs) in a LaTeX documents in a such a way that a single file can generate two (or more) PDF files. This trick is particularly useful for creating worksheets for R courses. A very small introduction to integrating R code in LaTeX files R code

Read more »

A short post: A Shiny Application for Visualizing Colors in R

December 16, 2014
By
A short post: A Shiny Application for Visualizing Colors in R

Choosing the right colors for graphics is vital for good data visualization. There are 657 colors defined in R using color names. The names of these colors can be obtained using the R command: Some examples of color names in R include exotic sounding ones such as ‘steelblue1′, ‘thistle’, ‘mintcream’ and so on! But how

Read more »

Learning R: Live Webinar, Interactive Self-Paced, or Site Visit?

December 15, 2014
By
Learning R: Live Webinar, Interactive Self-Paced, or Site Visit?

My recent blog post, Why R is Hard to Learn, must have hit a nerve as it was read by over 6,000 people in its first two days online.  If you’re using R to augment your work in SAS, SPSS … Continue reading →

Read more »

Review: Data Science at the Command Line

December 15, 2014
By
Review: Data Science at the Command Line

Admission: I didn’t really know how computers worked until around 2012. For the majority of my career, I’ve worked for large companies with centralized IT functions. Like many statisticians, I fell into a comfortable position of learning SAS in a Windows environment, had Ops people to fix any Unix problems I’d run into and DBAs to

Read more »

httr 0.6.0

December 14, 2014
By
httr 0.6.0

httr 0.6.0 is now available on CRAN. The httr packages makes it easy to talk to web APIs from R. Learn more in the quick start vignette. This release is mostly bug fixes and minor improvements. The most important are: handle_reset(), which allows you to reset the default handle if you get the error “easy

Read more »

Hierarchical Clustering with R (feat. D3.js and Shiny)

December 14, 2014
By
Hierarchical Clustering with R (feat. D3.js and Shiny)

Agglomerative hierarchical clustering is a simple, intuitive and well-understood method for clustering data points. I used it with good results in a project to estimate the true geographical position of objects based on measured estimates. With this tutorial I would … Continue reading →

Read more »

UEFA Champions League Round of 16 draw

December 13, 2014
By
UEFA Champions League Round of 16 draw

Each year after the group stage, there is the much awaited drawing of the eighth-final, which essentially defines a team’s fate. So far the thing is not too complicated, as there are 16 teams out of which we need to generate 8 games – no problem if it would be possible to draw the teams without

Read more »

An introduction to rtsetse, a detailed population simulation in R

December 11, 2014
By
An introduction to rtsetse, a detailed population simulation in R

In this post I introduce R code to simulate tsetse fly populations I’m developing for the Liverpool School for Tropical Medicine starting in 2014. I will outline some background and point you to the code and user interface that are under development. In subsequent posts I’ll cover particular aspects of implementation. African sleeping sickness is a serious...

Read more »

Revolution R Open 8.0.1 now available

December 11, 2014
By
Revolution R Open 8.0.1 now available

We've just made the latest update to Revolution R Open, the enhanced distribution of open-source R, available for download from MRAN. The main feature of this release is an upgrade to the R 3.1.2 engine, and support for MacOS Yosemite. (You can read about all the changes in the NEWS file.) To support reproducibility, Revolution R Open works with...

Read more »

Use hidden advanced arguments for user-friendly functions

December 10, 2014
By
Use hidden advanced arguments for user-friendly functions

As a user Imagine that you are starting to learn how to use a specific R package, lets call it foo. You will look at the vignette (if there is one), use help(package = foo), or look at the reference manual (for example, devtools' ref man). Eventually, you will open the help page for the function(s) you are interested...

Read more »