Quantcast
Channel: Yu-Sung Su's Blog
Browsing latest articles
Browse All 25 View Live

Install JAGS and rjags in Fedora

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

View Article



Runing R in the Command Mode in the Window system

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

View Article

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

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

View Article

Our new R package: R2jags

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

View Article

Simulate parameters of a tobit model

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

View Article


我的紐約大學同學會

我在紐約的時間,也許在倒數計時了...所以好多的第一次,也可能是最後一次了。昨天A君又帶團來了紐約,趁這個機會,我幫她約了一年前才聯絡上,在紐約某機關任職的K君,更巧的事,也因此聯絡上了一位,我一直聽說她在紐約但從來沒見過面的T君,於是我的紐約大學同學會就這樣開始了。這場聚會第一個爆點,就是T君的出現,她一身日系的打扮,一頭金髮,極瘦的身材,讓人覺得像是濱琦步出現在你面前,我定神看了一下,發現她右臂...

View Article

深夜遇襲!

這不是一則訴說紐約治安有多恐怖的網誌,而是奉勸人晚上了,能不要出門做事就不要!如果有人說我怕狗,我一定不同意,因為家裡也曾經養狗,所以對狗的熟悉度還是有的,不過我倒是很討厭大狗接近我。我印象中家裡曾養的二隻狗,一隻是柴犬,一隻是大土狗。那隻大土狗必須用大籠子關住牠,不然牠一出籠,那發足狂奔,口水四飛的樣子,著實令人不悅,我記得我總是透過家裡的玻璃門,看著牠放肆的樣子,也許吧,我對大狗的討厭是從牠而來...

View Article

終於結束了(The Finale)

2009年4月30日下午4:15分,我開始辦理我的論文存放手續,5:00整,我走出學校的大樓,整整45分鐘,我在一連串奔跑中,正式完成我的博士求學生涯,接下來的就是畢業典禮了。回想我求學的過程,是順利吧,也充滿坎坷,順利地從幼稚園一路到博士畢業,中間從無間斷地,就這樣完成了所有學業,如果把近年來很流行的博士後研究算在內,老天真是不給我一個喘息的機會,讓我求學生涯中,硬是外加了這一段。去年12月,我就...

View Article


What I heard from a radio program...

Sometimes, it is so weird how a voice from a radio program can suddenly catch your attention.After a regular weekly Friday Flushing dinner, Charlie and I went to a Korean supermarket to shop for...

View Article


Delete a List Component in R

In R, the way to delete a component in a list object is different from matrix and vector objects. For a vector, to delete an element:vec

View Article

@ Agrocampus Ouest, Rennes, France

This is the last day of the useR conference. In the coffee break time, I am surfing on the web to plan my trip to Paris. It was 12 years ago since my last visit in France. The feeling is weird. And the...

View Article

useR! 2009 conference, Rennes, France

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

View Article

My mi presentation at the useR! 2009

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

View Article


法國行(一):計畫永遠趕不上變化

從法國回來都二個多禮拜了,我再不寫寫心得可能就寫不出來了。先來個一小段,希望這次不要無疾而終!會動念想去法國,除了剛好有個useR的學術會議在那舉行,我可以堂而皇之的、師出有名的去之外,就是因為十幾年前跟陳學長自助旅行那段回憶。為了那次的法國行,我學了半年的法文,我們足跡幾乎踏遍法國及周圍國家,但是總覺得回憶就像我的法文一樣,逐漸逝去。那是沒有數位相機的年代,網際網路也不發達,我到現在還是記不起來陳...

View Article

Our office becomes a Service Counter?

This semester, I moved down to the office in the 9th floor. I shared the office with Matt. We like to open the office door so that the air circulation is better. But our office seems to be the only one...

View Article


法國行(二) Rennes 迷路記之屋漏偏逢連夜雨

大學時的法國行,就唯獨法國西北方我沒去過,所以出發前,我google map看了好幾次,也從台灣帶了旅行指南,但是就因為supper shuttle來得太早,我匆忙下就忘了旅行指南,這也就註定了計畫趕不上變化的開始。...

View Article

MikTeX 2.8 and WinEdt 5.6

The current WinEdt needs some adjustment to work with MikTeX 2.8. The developer of WinEdt has a post here to show how to do this. I tried to follow his instruction. But it still took me some times to...

View Article


An OpenSSH software for Windows 7 / Vista

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

View Article

TeXing Chinese, Japanese, Korean (UTF-8) Documents using xeLateX

I have been converted myself from a Word user to a TeX user for over 5 years.  Since the release of xeTeX (a new TeX package that can use system fonts to type Non-Egnlish [UTF-8] documents), I have...

View Article

JAGS, rjags, and coda packages for Fedora

Christopher has the RPMs (for Fedora users) for JAGS, coda, and rjags on his blog. The specific blog entry is here: http://cddesjardins.wordpress.com/2010/06/04/jags-package-for-fedora-13-64-bit/ If...

View Article

General steps to compile JAGS in a Linux based OS system and install rjags in R

I have an entry here about how to install JAGS and rjags in Fedora.  However, I have exchanged emails with Robert Dorazio and Dr. Martyn Plummer.  Here are the easier steps to compile JAGS and install...

View Article


CMYK and RGB color code in TeX

I found that control coloring in TeX is not an easy task.  Sometimes, you want your font to be colored as brown.  But brown is not explicitly defined in the color package.  I found a web page that...

View Article


法國行(四) Rennes 城市探險

寫這篇之前,正在看以前吉他社學姊陳綺貞「旅行的意義」的MV,以前就好欣賞這位學姊,可惜入社後,卻從來沒機會見到她,OK,重點是,看完後,突然了解到有時候人追求不到的人、事、物,都藏在潛意識裡,於是見到類似的風景叫似曾相識 Deja vu,碰到對的人叫一見如故,甚至一見鍾情,這次來到法國也是為了尋找曾經的Deja vu吧。 開完UseR會後,我刻意在行程計畫裡,安排自己住到市中心,以就近接下來去Mt...

View Article

幫忙?一把塗滿蜜糖的利劍!

這幾天都在想個問題.....「要是我幫忙了他,是不是這件事就不會發生?」(Had I helped him, would this not happen?)  但是這個問題的另一面向,更令人玩味:「是不是當初不幫忙他,這件事就會發生?」(Would this happen had I not helped him?) 這整個問題的關鍵其實不在於幫不幫忙,而是這無可預知已經發生的事What would...

View Article

觀山楂樹之戀有感

前天在開會時,系上提到了要開一門電影與政治,又提到了一部最近國內很夯的電影「山楂樹之戀」,結果我做了我自己都不相信的事,去電影院看國片,更甚者,同時間上映的有Inception這部好片,我是入境隨俗吧,一句話短評,淡淡的哀傷!對,就只是淡淡的! 以下有雷,怕被雷到的,請按Ctrl + W關閉視窗吧!...

View Article

Browsing latest articles
Browse All 25 View Live




Latest Images