Importing Generic Function from Other Package: A Tip on Writing a R Package

January 30, 2009
By

I did not know this and had to spend the whole week to figure out what's wrong with my code. I was updating the mi package. While I was doing code checking procedure, I always got a error message that I did not know what was going on. I remember last...

Read more »

Importing Generic Function from Other Package: A Tip on Writing a R Package

January 30, 2009
By

I did not know this and had to spend the whole week to figure out what's wrong with my code. I was updating the mi package. While I was doing code checking procedure, I always got a error message that I did not know what was going on. I remember last...

Read more »

Visualizing Eigenfactors

January 30, 2009
By

These interactive graphics are simply beautiful. And they just so happen to be profoundly informative about the structure of modern science as well. Here’s to the hope that we will see more work from Moritz Stefaner soon that shows how our aesthetic ...

Read more »

Runing R in the Command Mode in the Window system

January 29, 2009
By

Just when I am about to convert myself into a Linux user, I found this. Running R in the command mode in the Window system is much faster. Here is a simple test:in the Window interface:> system.time(rnorm(1000000)%*%rnorm(1000000)) user system elapsed 1.06 0.05 1.14 in the...

Read more »

Runing R in the Command Mode in the Window system

January 29, 2009
By

Just when I am about to convert myself into a Linux user, I found this. Running R in the command mode in the Window system is much faster. Here is a simple test:in the Window interface:> system.time(rnorm(1000000)%*%rnorm(1000000)) user system elapsed 1.06 0.05 1.14 in the...

Read more »

MCMCglmm package for R

January 29, 2009
By
MCMCglmm package for R

Jarrod Hadfield published MCMCglmm package on CRAN. The package can fit generalised linear mixed models via MCMC methods. Bellow is the abstract from the vignette. The list of supported models is quite impressive. Nice job Jarrod! This is not the first...

Read more »

InDesign: Export Selection to PDF

InDesign: Export Selection to PDF

I abuse Adobe InDesign sometimes for creating artwork, for instance to make gant diagrams. Usually, I do not want to export a complete page to pdf in those cases, but only the boxes and text that’s going to make up the illustration. Automaticatio...

Read more »

Controlling margins and axes with oma and mgp

January 26, 2009
By

When creating graphs, we're usually most concerned with what happens near the center of our displays, as this is where most of the important information is generally held. But sometimes, either for aesthetics or clarity, we want to adjust what's outsi...

Read more »

New CRAN Task View on HPC

January 24, 2009
By

A while back, I suggested to Achim to add a new CRAN Task View for High Performance Computing with R. And as of a day or two ago, we now have the new CRAN Task View for High Performance Computing with R providing an overview about available packages, grouped thematically, with a focus on the various parallel computing application. I have...

Read more »

Data Analysis and Graphics Using R – Maindonald and Braun (2003)

January 23, 2009
By

Title: Data Analysis and Graphics Using R: An Example-Based ApproachAuthor(s): John Maindonald; John BraunPublisher/Date: Cambridge University Press/2003Statistics level: Intermediate to advancedProgramming level: Beginner to intermediate Overall recom...

Read more »

R Programmer – Calgary

January 23, 2009
By

Originally posted on r-sig-jobs listserv: Hello All, We are in ned of an R programmer for a project in Calgary, Alberta, Canada. We need the person to be local as the project involves coordination of a series of experts. The project is only about 150...

Read more »

Install JAGS and rjags in Fedora

January 23, 2009
By

JAGS was developed to help those non-Window users to be able to use BUGS. However, I found it is very hard to install JAGS and its R package-rjags. Here is my note on how to install JAGS and rjags in Fedora 10. The note here should work for all Linu...

Read more »

Install JAGS and rjags in Fedora

January 23, 2009
By

JAGS was developed to help those non-Window users to be able to use BUGS. However, I found it is very hard to install JAGS and its R package-rjags. Here is my note on how to install JAGS and rjags in Fedora 10. The note here should work for all Linu...

Read more »

R: Combining vectors or data frames of unequal length into one data frame

January 23, 2009
By
R: Combining vectors or data frames of unequal length into one data frame

Today I will treat a problem I encounter every once in a while. Let’s suppose we have several dataframes or vectors of unequel length but with partly matching column names,  just like the following ones: df1 <- data.frame(Intercept = .4, x1=.4, x2=.2, x3=.7) df2 <- data.frame(Intercept = .5,        x2=.8       ) This for example may occur when fitting several

Read more »

Interesting tip about multicolor title of a plot

January 23, 2009
By
Interesting tip about multicolor title of a plot

I'd like to suggest to take a look at this interesting post about creating a title with multi-coloured words.

Read more »

EMBL Heidelberg seeks a Bioinformatician / Data Analyst

January 21, 2009
By

Originally posted on r-sig-jobs listserv: Hello, Might be interesting for some of you: Bioinformatician / Data Analyst Grade: 5 or 6, depending on experience EMBL site: EMBL Heidelberg Commencing date: As sooon as possible, after closing date (28 February 2009) read more

Read more »

Vacancy postdoc computational systems biology – Amsterdam

January 21, 2009
By

Originally posted on r-sig-jobs listserv: *Postdoc Position Computational Systems Biology 'Systems Bioinformatics: Computational Modelling Methods' f/m * * VU University Amsterdam, the Netherlands * *Research project * read more

Read more »

Sweave.sh plays with weaver

January 21, 2009
By
Sweave.sh plays with weaver

After adding support for the cacheSweave package (see here) I have also added support for the weaver package to my Sweave.sh script. The experimental version is available here. After testing and feedback I will upload it to CRAN. One can use this new f...

Read more »

Customizing R: startup script

Customizing R: startup script

While R is certainly a great tool, some functions seem to be missing. Take for instance the standard error, for some reason there is no standard function included, while you would expect se(x) to work. Therefore I usually include a couple of functions,...

Read more »

Maximum likelihood estimation in R

Maximum likelihood estimation can be implemented like Quasi-maximum likelihood in Matlab, You can also write an R function which computes out the likelihood function. As always in R, this can be done in several different ways.One issue is that of rest...

Read more »

R vs. SAS

January 17, 2009
By
R vs. SAS

Everything started with the article in the NYT talking about R – and of course – did mention SAS. Andrew Gelman picked up the article and posted his take on the matter. Maybe it are sentences like Andrew’s “And it’s good to hear that SAS is in trouble” and Anne H. Milley, director of technology product marketing

Read more »

IBrokers Featured on Quantitative Trading

January 17, 2009
By
IBrokers Featured on Quantitative Trading

Jeff Ryan's IBrokers package was mentioned on Ernie Chan's blog, Quantitative Trading. Though the package is still in pre-alpha stage, it is generating quite a bit of interest.Source:Ernie ChanFriday, January 16, 2009Quantitative Trading: Algorithmic ...

Read more »

Versions of Sweave.sh

January 16, 2009
By
Versions of Sweave.sh

There are now many places where one can find "my" Sweave.sh shell script for running Sweave and post processing with LaTeX directly from the command line. I published first version of Sweave.sh here (web page of the department). Later I moved my pages ...

Read more »

Use of include and input in Sweave documents

January 16, 2009
By
Use of include and input in Sweave documents

When you write a large structured document using LaTeX, it is wise to use \input{} and/or \include{} commands (see here for a nice description). However, you can not "fully" use these two commands with Sweave documents. You can use them, but when you w...

Read more »

Creating R Packages: A Tutorial

January 16, 2009
By
Creating R Packages: A Tutorial

See here.

Read more »

littler 0.1.2

January 14, 2009
By

Version 0.1.2 of r (pronounced littler) was just rolled up. This version adds two new command-line switches: -t selects per-session temporary directories in the same way as R does (with thanks to Paul Gilbert for the suggestion), and -q skips autoloading of default libraries at startup for another small yet noticeable gain in startup speed (with thanks to Simon Urbanek). As usual, our code in...

Read more »

Analyzing Nike+ using R

Analyzing Nike+ using R

A couple of weeks ago, I finally took up running seriously. To keep myself motivated -- especially on dark winter nights -- I bought the Nike+ iPod sports kit. The sports kit was developed by a partnership of Nike and Apple, and consists of a tiny acce...

Read more »

Error Bars in R (& other R stuff)

January 14, 2009
By
Error Bars in R (& other R stuff)

I came across a useful post showing how to generate error bars on plots in R Note that for bar plots with error bars, you can use the function barplot2 which is associated with the gplots package (click [ here … Continue reading →

Read more »

R resources for psychologists

January 12, 2009
By
R resources for psychologists

As a quick follow-up to my previous post, I'll quickly note some R links specifically aimed at psychologists. Jonathan Baron and Yuelin Li have a excellent set of notes that cover ground from R basics to ANOVA (including repeated measures ANOVA) and beyond. Jonathan Baron also maintains a general set of R links. William Revelle's R guide for...

Read more »