June 2013

Using R to Produce Scalable Vector Graphics for the Web

June 30, 2013 | Wesley

Statistical software is normally used during the analysis stage of a project and a cleaned up static graphic is created for the presentation.  If the presentation is in web format then there are some considerations that are needed. The trick is to find ways to implement those graphs in that ... [Read more...]

How pqR makes programs faster by not doing things

June 30, 2013 | Radford Neal

One way my faster version of R, called pqR (see updated release of 2013-06-28), can speed up R programs is by not even doing some operations. This happens in statements like for (i in 1:1000000) ..., in subscripting expressions like v[i:1000], and in logical expressions like any(v__0) or all(... [Read more...]

Faster calculation

June 30, 2013 | Wingfeet

Last week I decided to speed up my distribution fitting functions of two weeks ago. These were bold words. My try of Rcpp was a failure. Just plain optimization helped a bit better. Using the compiler package added a bit. (the compiler package does not... [Read more...]

R to GeoJSON

June 30, 2013 | Recology - R

GitHub recently introduced the ability to render GeoJSON files on their site as maps here, and recently introduced here support for TopoJSON, an extension of GeoJSON can be up to 80% smaller than GeoJSON, support for other file extensions (.topojson and .json), and you can embed the maps on other sites (... [Read more...]

Shiny Server on CentOS

June 29, 2013 | Kevin Davenport

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 ... [Read more...]

Reproducing R: Scripts, Documents, and Packages

June 28, 2013 | Jeff Allen

I’m sharing the slides from the talk I’ll be giving at the Dallas R Users Group on creating R packages (and other techniques for reproducing R). I’ll introduce R scripts, reproducible R documents, and R packages. We’ll use the knitr, devtools, and roxygen2 packages in the ... [Read more...]

rCharts Remake of NYT

June 28, 2013 | klr

For those wondering if I have forsaken finance, the answer is no.  I just don’t think there is much to do in here besides watch and wait.  So more d3 and R as I try to distract myself from doing something dumb in the markets. This time I used ... [Read more...]

Create Word documents from R with R2DOCX

June 28, 2013 | David Smith

If you work in a corporate environment, then the Word document format is still pretty ubiquitous. Personally, I've switched to Google Docs for most of my own documents, but I still receive a couple of Words docs from others via email every day. And it's common request from clients of ... [Read more...]

Testing function arguments in GNU R

June 28, 2013 | Bogumił Kamiński

Recently I have read a nice post on ensuring that proper arguments are passed to a function using GNU R class system. However, I often need a more lightweight solution to repetitive function argument testing.The alternative idea is to test function arguments against a specified pattern given in a ... [Read more...]

Testing function agruments in GNU R

June 28, 2013 | Bogumił Kamiński

Recently I have read a nice post on ensuring that proper arguments are passed to a function using GNU R class system. However, I often need a more lightweight solution to repetitive function argument testing.The alternative idea is to test function arg... [Read more...]

Revolution Newsletter: June 2013

June 27, 2013 | David Smith

The most recent edition of the Revolution Newsletter came out a couple of weeks ago. In case you missed it, the news section is below, and you can read the full June edition (with highlights from this blog and community events) online. You can subscribe to the Revolution Newsletter to ... [Read more...]

dimple d3 and rCharts

June 27, 2013 | klr

I put together a quick tutorial combining my two favorite things: finance and interactive visualizations.  I show how to use the new dimplejs d3 library with rCharts to create some nice interactive plots of US Treasury yield data.  ... [Read more...]

Graphing with fPortfolio

June 27, 2013 | s3admq

Now to making pretty-looking graphs and charts for portfolio optimization! The first thing we will do is determine the frontier for our combination of securities. Remember, the variable returnsMatrix below is a matrix of returns for all the securities in … Continue reading → [Read more...]

Portfolio Optimization with fPortfolio

June 27, 2013 | s3admq

fPortfolio contains a number of function to make portfolio optimization easier. I can compare the results I get from the functions in fPortfolio to the results from my function from the previous post. I don’t expect them to be exactly … Continue reading → [Read more...]

Learning Time Series with R

June 27, 2013 | Joseph Rickert

by Joseph Rickert Late last Saturday afternoon I was reading in my usual spot at the Dana Street Coffee House in Mt. View. A stranger walking by my table noticed my copy of Madsen’s Time Series Analysis (sitting there untouched again) said he needed to learn something about time ... [Read more...]
1 2 3 14

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)