Blog Archives

Some rediscovered R scripts from spring cleaning

May 1, 2011
By
Some rediscovered R scripts from spring cleaning

Gompertz Model Visualization # Gomperz growth function gomp <- function(x, a, b, k) a*exp(-b*exp(-k*x))   # Normal model with Gompertz mean function likelihood <- function(weight, age, sigma, a, b, k) { mu <- gomp(age, a, b, k) dnorm(weight, mu, sigma) }   # Visualize the model visualize <- function(phi=40, theta=-35) { weight <- seq(0, 250,

Read more »

Progress reading SAS sas7bdat files (natively) in R

April 18, 2011
By

This post describes some preliminary results from a compatibility study of the SAS sas7bdat file format. The most current results stored in a github repository here: sas7bdat The ultimate goal is a native solution to the incompatibility between open-source statistical software (e.g. R) and sas7bdat database files. Demonstration There has been significant progress in interpreting

Read more »

Some comments peer-review and a year of blogging

April 13, 2011
By

It's been a year since I began keeping a web log. This post presents some thoughts related to the experience. Blogging is Sharing Ideas Blogging is online self-publishing. There is no faster way to share your ideas so broadly. Last year at the useR! conference (in Gaithersburg, MD, just a few months after I started

Read more »

WebSweave?

April 6, 2011
By

A recent R-help post asks for examples of Sweave use for web appliations. I think there is very little out there; maybe nothing. Below is a proof of concept for web-based Sweave-ing with rApache. But, it will soon be possible to do this with R's built-in web server. The idea was to treat an Sweave

Read more »

Tor anonymity network using R for website graphics.

March 29, 2011
By
Tor anonymity network using R for website graphics.

These graphics look familiar. From the Tor Metrics Portal: "The metrics website uses R to generate custom graphs on demand." See more here: http://metrics.torproject.org/graphs.html.

Read more »

A Short Side-by-side Comparison of the R and NumPy Array Types

March 22, 2011
By

Feature NumPy R contiguous (virtual) memory ✔ ✔ 'view' memory model ✔ ✘ subset-assignment ✔ ✔ vectorized operations ✔ ✔ memory-mapping ✔ ✘* broadcasting rules ✔ ✔ index arrays ✔ ✔ This comparison is current as of R 2.13.0, NumPy version 1.4.1, and other web resources to date. Because this post was motivated by a

Read more »

Updated tty Connection for R

March 17, 2011
By

Below are some links to a patch against the R-2.12.2 source code that implements a tty connection for R. Since the release of R-2.13.0 is coming soon, I’ll have a patch for it soon also. What’s a tty connection? The tty connection is an R interface to computer terminals, as defined by the Portable Operating

Read more »

Yet another R report generator, and more!

March 4, 2011
By
Yet another R report generator, and more!

I recently uploaded some code to R-forge related to an R package I’ve been working on, titled yarr. The work was motivated by a desire to embed R code and output within my HTML blog posts! Months ago, I wrote about a potential solution to this using the brew package. yarr is a new, but

Read more »