The dplyr package for R

dplyr: A Grammar of Data Manipulation

A fast, consistent tool for working with data frame like objects, both in memory and out of memory.

When working with data you must:
Figure out what you want to do.
Precisely describe what you want in the form of a computer program.
Execute the code.

Read more

ggvis data visualization

ggvis is a data visualization package for R which lets you:
Declaratively describe data graphics with a syntax similar in spirit to ggplot2.
Create rich interactive graphics that you can play with locally in Rstudio or in your browser.
Leverage shiny’s infrastructure to publish interactive graphics usable from any browser (either within your company or to the world).
ggvis combines the best of R (e.g. every modelling function you can imagine) and the best of the web (everyone has a web browser). Data manipulation and transformation are done in R, and the graphics are rendered in a web browser, using Vega. For RStudio users, ggvis graphics display in a viewer panel, which is possible because RStudio is a web browser.

Read more

How to load Shiny into RStudio

Shiny is an R package that makes it easy to build interactive web applications (apps) straight from R.

To install the shiny packages please open your Rstudio environment and type the usual command into your shell:

install.packages(“shiny”)

To run Shiny type:

library(shiny)

The Shiny package comes with eleven built-in examples. Each example is self-contained and demonstrates how Shiny works.

The first example you may want to try is called Hello Shiny, an example plot of a R dataset with a configurable number of bins. Users will be able to change the number of bins by moving a slider bar. The application will immediately respond to the input.

To run Hello Shiny, type:

runExample(“01_hello”)

How to install RStudio and swirl in Ubuntu

swirl is a library which makes it possible to learn R in R.
swirl teaches you R programming and data science interactively, at your own pace, and right in the R console!

1. In order to run swirl, you must have R 3.0.2 or later installed on your computer. Check your version of R by typing the following into your terminal:

R –version

2. Install RStudio (recommended)

“RStudio is a set of integrated tools designed to help you be more productive with R. It includes a console, syntax-highlighting editor that supports direct code execution, as well as tools for plotting, history, debugging and workspace management.”

Read more

How to install R in Ubuntu

R is a language and environment for statistical computing and graphics. It is a GNU project which is similar to the S language and environment which was developed at Bell Laboratories (formerly AT&T, now Lucent Technologies) by John Chambers and colleagues. R can be considered as a different implementation of S. There are some important differences, but much code written for S runs unaltered under R.

Read more

How to install Eclipse in Ubuntu

Eclipse is an integrated development environment (IDE). Written mostly in Java, Eclipse can be used to develop applications. By means of various plug-ins, Eclipse may also be used to develop applications in other programming languages like Python, R or C++.

Below a quick tutorial on how to install the Eclipe IDE in Ubuntu.

1. Install Java

Please check if you have already installed Java on your system, if not, open your terminal (Ctrl + Alt) and install Java with the following command:

sudo apt-get install openjdk-7-jdk

This will install OpenJDK onto your system.

Read more

Ubuntu installation from USB

My last experience with Linux was back in 2005 and since then a lot have changed. A few weeks ago I felt like walking the open source road again and I installed Linux (Ubuntu 14.04).
First look at Ubuntu shows an all grown-up operation system. Ubuntu comes with a whole bunch of programs pre-installed and as we all know there is a lot of amazing programs out there for free like 3DBlender or Unity to name a few.

Ok, let’s start with “How to install Ubuntu”:

Ubuntu can be installed from a boot-able USB flash drive. The flash drive needs to have 2GB free space.

Read more