Articles by Yu-Sung Su

JAGS, rjags, and coda packages for Fedora

June 6, 2010 | Yu-Sung Su

Christopher has the RPMs (for Fedora users) for JAGS, coda, and rjags on his blog. The specific blog entry is here: If you have trouble installing JAGS or rjags in Fedora,... [Read more...]

An OpenSSH software for Windows 7 / Vista

November 30, 2009 | Yu-Sung Su

Here is an OpenSSH software I personally found useful and working well under Windows 7 / Vista.  It is copSSH. Besides it is free and open source, it is still actively maintained.  It works well with the UAC (user account control setting) of Windows... [Read more...]

My mi presentation at the useR! 2009

August 4, 2009 | Yu-Sung Su

I have been to many conferences. Most of them are of Political Science. The common feature of these conferences is that the audience size is always small. If you get 10 audiences in your panel, your must be a big name.My presentation at the useR! 20... [Read more...]

useR! 2009 conference, Rennes, France

August 2, 2009 | Yu-Sung Su

Since my last attendance of the useR conference in Vienna, Austria, I have always wanted to go back. However, the high registration fee was always the factor that chills me off.This year, I am taking advantage of my last year as the student (the regis... [Read more...]

Simulate parameters of a tobit model

March 3, 2009 | Yu-Sung Su

I got an email, asking me if our arm package can simulate tobit model to get simulated parameters. Indeed, arm does not suport tobit model. It only support sim() for lm, glm and mer classes in R. But it is not difficult to get a tobit verison of sim(). Here ... [Read more...]

Our new R package: R2jags

February 8, 2009 | Yu-Sung Su

I have got emails occasionally from JAGS users, asking about our new R package: R2jags. Basically, R2jags runs JAGS via R and makes postanalysis easier to be done in R. Taking advantage of the functions provided by JAGS, rjags a... [Read more...]

Runing R in the Command Mode in the Window system

January 29, 2009 | Yu-Sung Su

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 command mode__ system.time(... [Read more...]

Install JAGS and rjags in Fedora

January 23, 2009 | Yu-Sung Su

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...]

RWinEdt and Windows Vista/Window 7

January 1, 2009 | Yu-Sung Su

As a R user, I like to use RWinEdt as the text editor. I write code on it and send code to R by clicking buttons.I had a spare laptop from Jennifer. It does not have a working screen. I use that to test all kinds of software and ... [Read more...]

Plot symbols in R

November 18, 2008 | Yu-Sung Su

In the plot environment, the "pch" parameter decides the symbol of your output. There are about 130 symbols hard coded and passed into "pch."However, there are still some symbols that are not in these 130 pch's. For instance, there is no checkmark. To plot checkmark or other symbols, we can use ... [Read more...]

Plotting Math in R

October 29, 2008 | Yu-Sung Su

Plotting math in R can be acheived using the expression(). To know detailed usage, in R console,demo(plotmath)But expression() is not flexible when you want to plot math symbols and parameters altogether. In this case, we use bquote() which is actually a wraper for substitute() and quote(). It ... [Read more...]

Group-level variances and correlations

September 23, 2008 | Yu-Sung Su

This is just a sum-up of what we should do when we try to estimate the group-level variances and correlations but the software failed to do so. As a R and lmer() user, I found this happens often.If this is the case, there are three potential problems... [Read more...]

Link C with R

August 7, 2008 | Yu-Sung Su

I should have posted this earlier. In my previous post, I have discussed the speed issue in R briefly. The speed issue unfortunately are two of the shortcomings of R. The other one is that R does not handle big data set very well. So instead of wai... [Read more...]

Smart programming saves computing times

June 21, 2008 | Yu-Sung Su

Recently, I tried to learn C language so that I can write a C addon for some R rountines to redress the speed issue in R. In my last post here, I have documented how a simple trick can speed up R. Nonetheless, I had an example which shows that ... [Read more...]

Speed up R! Make R Run Faster!

June 16, 2008 | Yu-Sung Su

This is another example of why defaults matter a lot. I got an email of Evan Cooch forward by Matt, saying that there exists a trick to speed up R matrix caculation. He found that if we replace the default Rblas.dll in R with the proper one. It can ... [Read more...]

R2jags: A Package for Running jags from R

May 21, 2008 | Yu-Sung Su

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...]
1 2

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)