May 2011

Accessing Databases From R

May 9, 2011 | Stephen Turner

Jeffrey Breen put together a useful slideshow on accessing databases from R. I use RODBC every single day to access my own local MySQL server from R. I've had trouble with RMySQL, so I've always used RODBC instead after setting up my localhost MySQL se... [Read more...]

making meat shares more efficient with R and Symphony

May 9, 2011 | Harlan

In my previous post, I motivated a web application that would allow small-scale sustainable meat producers to sell directly to consumers using a meat share approach, using constrained optimization techniques to maximize utility for everyone involved. In this post, I’ll walk through some R code that I wrote to ... [Read more...]

Comments on an R Connections API

May 9, 2011 | BioStatMatt

I wrote this post months ago but never hit 'Publish'. But, the subject has changed little since then. So, here's to cleaning out the draft folder... R's connections are the heart of data/code/text input and output. Without connections, R would be crippled. Additional connections make R more ... connected ... [Read more...]

Multiple Y-axis in a R plot

May 9, 2011 | E.Crema

I often have to to plot multiple time-series with different scale of values for comparative purposes, and although placing them in different rows are useful, placing on a same graph is still useful sometimes...I searched a bit about this, and found som... [Read more...]

Unused function parameters

May 8, 2011 | Derek-Jones

I have started redoing the source code measurements that appear in my C book, this time using a lot more source, upgraded versions of existing tools, plus some new tools such as Coccinelle and R. The intent is to make the code and data available in a form that is ... [Read more...]

Slides: “Accessing Databases from R” #rstats

May 7, 2011 | Jeffrey Breen

For the past few meetings of the Greater Boston useR Group, we have been opened with an introductory “useR Vignette” talk on a topic which may be helpful for new R users. This week, I presented an overview of accessing databases from R. Several people have tweeted and blogged nice ... [Read more...]

R you ready for this? Statistics for free!

May 7, 2011 | Patrick

If you’ve listened to the show for a while or if you’ve been reading the paleocave blog from the beginning (like when we actually used to update it regularly), then you might know that I’m rather fascinated with statistics. Imagine my delight a few years ago when ... [Read more...]

Pair-Trading in R – Update

May 7, 2011 | QuantTrader

I found amazing R package in one of posts on R-bloggers website. It's called RcppAmadillo and you can find more info here. The function I am using from this package is called fastLm. Whereas I am interested in special case of Ax = b problem where A and... [Read more...]

Corresponding

May 7, 2011 | ellbur

(The examples here work with the version of insidefunctor tagged as "v2") Unfortunately I couldn't do this cleanly outside the library. So the changes are made in insidefunctor. Levels are no longer used to "line up" eaches. So, for example, __ library(insidefunctor) __ `%+.%` = fmap(`+`) __ `%/.%` = fmap(`/`) __ x = c(1, 2, 3) __ y = c(4, 5, 6) __ .[z] = each(... [Read more...]

%EXPORT_TO_R SAS Macro Code

May 6, 2011 | Matt Bogard

The SAS Analysis blog post 'A macro calls R in SAS for paneled 3d plotting' influenced my macro coding.   The following macro call: %EXPORT_TO_R(DATA = YOURDATA)  exports the SAS data set 'YOURDATA' as .csv and produces the R code for se...
[Read more...]

Cuckoo eggs

May 6, 2011 | xi'an

In Tangente n⁰42, there was a [Latter, 1902] dataset about the size of cuckoo eggs against the species (goldcrest and warbler) which built the nest. (The whole dataset from Latter is analysed in Maindonald and Braun’s Data Analysis and Graphics Using R, with a degree of caution about how trustworthy ... [Read more...]

Propagation of the news of OBL’s death via Twitter

May 6, 2011 | David Smith

SocialFlow's blog has a great case study today on how news from a single tweet -- in this case, speculation made an hour before the President's announcement that Osama bin Laden had been killed -- can propagate through social networks. At 10:24 p.m. EST on Sunday May 1, Keith Urbahn tweeted: "... [Read more...]

Shell scripting EC2 for fun and profit

May 6, 2011 | JD Long

Lately I’ve been doing some work with creating ad-hoc clusters of EC2 machines. My ultimate goal is to create a simple way to spin up a cluster of EC2 machines for use with Bryan Lewis’s very cool doRedis backend for the R foreach package. But that’s a ... [Read more...]
1 7 8 9 10 11 12

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)