Monthly Archives: August 2009

CacheSweave

August 6, 2009
By
CacheSweave

I finally figured out how to use the R package "cachesweave". The trick is that the code chunks must follow some order, like the following:-----------------------------------------------------------=setCacheDir("testcache")@=library(Zelig)library(memis...

Read more »

R 64 bit on Mac OSX with ESS

August 6, 2009
By

So today I compiled 64 bit R 2.91 on Mac OS X   10.5.7 in order to get maximum speed for my analyses. The speed increase I got was 15-25 %, when I ran some tests with matrix calculation and intensive loops. Note that you can also download optimized binaries from  http://r.research.att.com/, although they are

Read more »

RSRuby in the IRB console

August 6, 2009
By
RSRuby in the IRB console

R is terrific, of course, for all your statistical needs. But those data structures! “Everything is a list.” Leading to such wondrous ways to access variables as “p <- Meta(gds)$platform", or "last <- mylist]])]". Sometimes, you want something more familiar. An array, a hash, a hash of arrays. Or, you may

Read more »

Code Snippet : List of CRAN packages

August 5, 2009
By

This is a really simple code snippet that shows how to get the list of CRAN packages and their titles from the html page html page (toulouse mirror in this example). ... Note that R has the available.packages function, but it does not give th...

Read more »

Locate the position of CRAN mirror sites on a map using Google Maps

August 5, 2009
By
Locate the position of CRAN mirror sites on a map using Google Maps

Inspired by this post (suggested here by the always useful Revolutions blog), I attempted to plot the position of CRAN mirrors on a map taking advantage of the nice R package RgoogleMaps (check the dependencies!). Below the code: library(XML) # downlo...

Read more »

My Procedure for Upgrading R: Windows XP with StatET

August 5, 2009
By
My Procedure for Upgrading R: Windows XP with StatET

R releases upgrades around every 6 months. I run R on Windows XP using the StatET plug-in and Eclipse. This is my current upgrade procedure. I've posted this mainly for my own future reference. But who knows? it might be useful for someone else:1. Down...

Read more »

Contingency table and the study of the correlation between qualitative variables: Pearson’s Chi-squared test

August 4, 2009
By

If you have qualitative variable, it is possible to verify the correlation by studying a contingency table R by C, using the Pearson's Chi-squared test.A casino wants to study the correlation between the modes of play and the number of winners by age group, to see if the number of winners depends on the type of game that you...

Read more »

State of the Art in Parallel Computing with R: Now published

August 4, 2009
By

Our survey paper on the current state of the art in parallel computing with R, previously mentioned here as a technical report is now out as Vol 31, Issue 1 of the all-electronic Journal of Statistical Software.

Read more »

R parser package on CRAN

August 4, 2009
By

pre{ border: 1px solid black; font-family: "Courier New" !important; font-size: xx-small !important; } The parser package has been released to CRAN, the package mainly defines a function parser that is similar to the usual R function parse, w...

Read more »

Transfer files through Rserve

August 4, 2009
By

This post is motivated by this question on R-help. This is a simple java class that sends files through Rserve using the classes RFileInputStream and RFileOutputStream Then we create a simple file on the client machine: $ cat > testfile.tx...

Read more »

Sponsors

Mango solutions



RStudio homepage



Zero Inflated Models and Generalized Linear Mixed Models with R

Quantide: statistical consulting and training

datasociety

http://www.eoda.de





ODSC

ODSC

CRC R books series





Six Sigma Online Training









Contact us if you wish to help support R-bloggers, and place your banner here.

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)