Monthly Archives: May 2008

The disappearing mouse pointer…

The disappearing mouse pointer…

While designing an fMRI experiment, I ran into the problem that the mouse pointer disappears as soon as you start typing on a mac. In itself it is actually a handy feature -- hiding the mouse pointer makes sense as long as you’re typing -- but no...

Read more »

S3 vs S4, efficiency issues

May 23, 2008
By
S3 vs S4, efficiency issues

While developing some new simulation code with S4 system I stumbled upon some big difficulties in terms of computational efficiency. That lead me to diging into archives of Rhelp and Rdevel looking for clues. I found some interesting threads that address almost exactly the same problems that I do. Read for yourself here and here,

Read more »

R2jags: A Package for Running jags from R

May 21, 2008
By

I have wrote about my experience with jags here. Martyn Plummer has updated jags recently and now jags can get as he claimed. Jags is fast and its source code is more manipulable (It's written in C++).I and Masanao wrote a package, R2jags, for runnin...

Read more »

R2jags: A Package for Running jags from R

May 21, 2008
By

I have wrote about my experience with jags here. Martyn Plummer has updated jags recently and now jags can get as he claimed. Jags is fast and its source code is more manipulable (It's written in C++).I and Masanao wrote a package, R2jags, for runnin...

Read more »

JAGS 1.0.2 is released

May 9, 2008
By
JAGS 1.0.2 is released

JAGS 1.0.2 is now out. This is a patched release for the stable version, so there are no major changes in library functionality.   The major changes are: Memory leaks fixed. The rjags package now runs on Windows. A binary version … Continue reading →

Read more »

Multiple Assignments or the Idiosyncrasies of R and SAS

May 8, 2008
By
Multiple Assignments or the Idiosyncrasies of R and SAS

Working on top of someone else’s code at work a couple of weeks ago I stumbled upon a piece of SAS code that went like this: View Code SAS1 2 3 length check 3; ... check = Name = 'Netter' Being raised in the land of open-source and having programmed in R since I was

Read more »

Error capture

May 6, 2008
By

In a recent post to r-sig-ecology, Mike Colvin suggested the following to capture errors within a loop:for (i in 1:1000){fit<-try(lm(y~x,dataset))results<- ifelse(class(fit)=="try-error", NA, fit$coefficients)}

Read more »

Error capture

May 6, 2008
By

In a recent post to r-sig-ecology, Mike Colvin suggested the following to capture errors within a loop:for (i in 1:1000){fit<-try(lm(y~x,dataset))results<- ifelse(class(fit)=="try-error", NA, fit$coefficients)}

Read more »

How to make SVN work on R-Forge and your local driver?

May 2, 2008
By

R has a new platform-R-Forge-that enables developers and users to communicate with each other. More importantly, it is a version control platform that enables different developers to keep track on what others have been working on. So that ideally, if...

Read more »

How to make SVN work on R-Forge and your local driver?

May 2, 2008
By

R has a new platform-R-Forge-that enables developers and users to communicate with each other. More importantly, it is a version control platform that enables different developers to keep track on what others have been working on. So that ideally, if...

Read more »