October 2010

Le Monde puzzle [34]

October 3, 2010 | xi'an

Since the puzzle in this week (-end) edition of Le Monde is not (easily) solvable via an R program, I chose to go back to an older puzzle that my students can solve. Eleven [distinguishable] token are [arbitrarily] distributed around a 200 meter perimeter-long ring. They all start moving at the ... [Read more...]

ICOADS

October 3, 2010 | Steven Mosher

Just a short update on ICOADS. I started out an ICOADS project with grand plan to reprocess the observation files into a “raster” format. That ends up being a really big job. Along the way I had to learn a new package Rcurl and relearn some old Unix skills for ...
[Read more...]

Plotting time vs date in R

October 2, 2010 | datadebrief

Having done the plot with python+matplotlib, thought I would have a go reproducing it in R, using only the builtin "plot". So, just to recap - this is a plot of the sun times (rise/set,twilight and blinding) as generated by the great python library pyephem. The R ... [Read more...]

ProjectTemplate Version 0.1-3 Released

October 2, 2010 | John Myles White

I’ve just released the newest version of ProjectTemplate. The primary change is a completely redesigned mechanism for automatically loading data. ProjectTemplate can now read compressed CSV files, access CSV data files over HTTP, read Stata, SPSS and RData binary files and even load MySQL database tables automatically. For my ... [Read more...]

>_ StatET, eclipse plug-in for R

October 2, 2010 | oneliner

Install the plug-in is quite simple, we only need to follow the instructions that we’ll find at the project’s page: http://www.walware.de/goto/statet The requirements are Java 5 (1.5) or higher, Eclipse IDE and the R package: rJava. The rj package is also recommended. In my case, ... [Read more...]

Typo in Example 5.18

October 2, 2010 | xi'an

Edward Kao pointed out several typos in Example 5.18 of Monte Carlo Statistical Methods. First, the customers in area i should be double-indexed, i.e. which implies in turn that . Then the summary T should be defined as and as given that the first m customers have the fifth plan missing. ...
[Read more...]

Millionaire’s advice

October 2, 2010 | kafka

Viktor Uspaskich is euro-parliamentarian delegated by Lithuania. His was born in Russia, Arkhangelsk Oblast and later on he moved to Lithuania where he made his fortune and first millions. Recently, I saw an interview with him and I found interesting to test his claim, that  gold and oil are negatively ...
[Read more...]

head and tail for strings

October 2, 2010 | Karsten W.

The functions head and tail are very useful for working with lists, tables, data frames and even functions.But they do not work on strings. It is easy to define such functions__ strtail + if(n+ substring(s,1-n) + else + substring(s,nchar(s)-n+1)+ }__ strhead + if(n+ substr(s,1,nchar(... [Read more...]

CouchDB and R

October 2, 2010 | Christopher Bare

Here are some quick crib notes on getting R talking to CouchDB using Couch's ReSTful HTTP API. We'll do it in two different ways. First, we'll construct HTTP calls with RCurl, then move on to the R4CouchDB package for a higher level interface. I'll a... [Read more...]

A new version of ff released (version 2.2.0)

October 2, 2010 | Tal Galili

A few hours ago, Jens Oehlschlägel has announced on the R-help mailing list of the release of a new version of the ff package. The ff package provides data structures that are stored on disk but behave (almost) as if they were in RAM by transparently mapping only a ... [Read more...]

Because it’s Friday: I hate pennies

October 1, 2010 | David Smith

I was brought up in Australia, where we got rid of 1¢ and 2¢ coins in my childhood. Nobody missed them, at least as I recall. I certainly didn't: they were useless, even at the age when I might by lollies (candy) for 2¢ apiece. But then again, I'd never buy one, and ... [Read more...]

Fibonacci 1-liners

October 1, 2010 | David Smith

The other day, as an excuse to play around with custom iterators, I created some completely over-engineered code to calculate the Fibonacci sequences. But surely such a simple function can be implemented in fewer than my 15 lines? (Rick Wicklin, who writes the SAS blog The Do Loop, thinks so too.) ... [Read more...]

R Beginner’s Guide Book Update 10/1/2010

October 1, 2010 | John Quick

Update: Statistical Analysis with R is now available!I recently submitted the final drafts of all chapters of my R Beginner's Guide book, which is to be published through Packt. The official publishing timeline is set to December 2010, although the boo...
[Read more...]

Three-Quarter Truths: Correlation Is Not Causation

October 1, 2010 | John Myles White

Other than our culture’s implicit association between lies, damned lies and statistics, I think no idea has stifled the growth of statistical literacy as much as the endless repetition of the words correlation is not causation. This phrase seems to be primarily used to suppress intellectual inquiry by encouraging ...
[Read more...]
1 9 10 11

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)