Monthly Archives: June 2013

R2leaflet (v0.1) – make interactive online maps from R

June 11, 2013
By
R2leaflet (v0.1) – make interactive online maps from R

I have been working on a simple R function to take latitude and longitude of points of interest, and text for pop-up labels, and produce an interactive online map. Interactive graphics are incredibly useful in getting people interested in your … Continue reading →

Read more »

Finally! Tracking CRAN packages downloads

June 11, 2013
By
Finally! Tracking CRAN packages downloads

The guys from RStudio now provide CRAN download logs (see also this blog post). Great work! I always asked myself, how many people actually download my packages. Now I finally can

Read more »

R package development

June 11, 2013
By
R package development

Building R packages is not particular hard, but it can be a bit of a daunting endeavour at the beginning, particularly if you are more of a statistician than a computer scientist or programmer. Some concepts may appear foreign or like red tape, yet man...

Read more »

Measures of Skewness and Kurtosis

June 10, 2013
By
Measures of Skewness and Kurtosis

Skewness and kurtosis in R are available in the moments package (to install an R package, click here), and these are:Skewness - skewnessKurtosis - kurtosisExample 1. Mirra is interested in the elapse time (in minutes) she spends on riding a tricycle fr...

Read more »

Scenario analysis for option strategies Pt. 2

June 10, 2013
By

No vivid improvements since the last post. However, I got it to the stage, when I can share the code and let you try it yourself: https://github.com/afraid2trade/SCENARIO_ANALYSIS.git Once you downloaded it, the only thing you need to open is "sa_work...

Read more »

Safe Loading of RData Files

June 10, 2013
By
Safe Loading of RData Files

Unless you have configured R not to ask, every time you close R or RStudio you are prompted to save your workspace. This saves an RData file to the working directory. The functions save.image() and save() offer a little more … Continue reading →

Read more »

Microsoft Office Metadata with R

June 10, 2013
By

Sometimes I need to retrieve various items of metadata from Microsoft Office files. For the 'old-style' (i.e. '.doc' and '.xls') files perhaps a solution in python, such as hachoir, was the best way to extract this data from the ole2 file format -...

Read more »

Bringing R to the Enterprise – new white paper available

June 10, 2013
By

Check out this new white paper entitled "Bringing R to the Enterprise -  A Familiar R Environment with Enterprise-Caliber Performance, Scalability, and Security." In this white paper, we begin with "Beyond the Laptop" exploring the ability to run R code in the database, working with CRAN packages at the database server, operationalizing R analytics, and...

Read more »

In case you missed it: May 2013 Roundup

June 10, 2013
By

In case you missed them, here are some articles from May of particular interest to R users: Billions of geotagged Tweets create a beautiful map of the world when plotted with the ggmap package. A review of Ryan Sheftel's talk at R/Finance, on how he uses R on the trading desk at Credit Suisse. Also, a quick take on...

Read more »

Where is the R Activity?

June 10, 2013
By
Where is the R Activity?

R has become one of the world’s most widely used

Read more »