For Developers

Total 228 Posts

R: How to Configure TextMate for R

If you are using TextMate and you want to run an R script using cmd + R, you will first need to configure the editor. Here's how: Step 1 - Install R Bundles Go to Preferences > Bundles and select: "R", "R Console (R.app)" and "

Finance: Calculating Annuities using ES6

Annuities are cool. They're fixed payments over a period of time. If you're living in England, there's another financial product called a consol that is an annuity that pays out in perpetuity. Amazing. Below are simplified examples of how to calculate present value and future value for annuities. I wasn't

Statistics: Calculating Probabilities using ES6

Suppose you wanted to calculate the percentage of men that weigh inbetween 140 and 170 lbs. This is possible if you carry a few data points such as the average weight of men (mean), the standard deviation, and the specific weight you want to measure (data point). Step 0 -

R: Create Interactive Charts using R and Shiny

Shiny is a package within R that helps data scientists and developers create interactive web applications. Are you a data scientist who knows R but can't figure out how React, Angular, or Vue JS? Then this is the framework for you. How does Shiny Work? Shiny borrows from the reactive

R: Using ggplot2

What is ggplot2 and why is it the best open source graphical library for R.

R: Using R to process Google Analytics

Setting Up Your Environment Before you can start using R, you'll need to install it. Here's how to install R on a Mac using Homebrew Dataframes What makes R really powerful is this concept of Dataframes. Dataframes the objects used to represent tables including observations and variables (aka rows and

AWS: How to restore folders from Glacier to S3 Standard

If you store files using Amazon Glacier, you'll notice that it's not very easy to restore files within a folder using the web console. Instead, you'll see "Initiate Restore" greyed out. I've found the easiest way to restore a directory full of files is through the AWS Command Line. If