Saturday, July 21, 2012

take a look at the code of a s4 method

getMethod('sampling', signature='s4class')

Friday, July 20, 2012

linux search manual

apropos 

for example
# apropos open 

ap·ro·pos

 prep \ˌa-prə-ˈpō, ˈa-prə-ˌ\

trace files accessed

using strace on linux 

what is fs_usage on mac?

Thursday, July 19, 2012

git status -uno

  git status -uno

Sunday, July 15, 2012

R machine related limits & numbers

?.Machines 
sample.int(.Machine$integer.max, 1)

Friday, July 13, 2012

R's memory limits

?"Memory-limits"

Sunday, July 8, 2012

windows 7 chinese characters

when file name in chinese is not squares, delete c:\windows\system32\fontcache.dat 

Tuesday, July 3, 2012

support chinese fonts on debian

http://en.wikipedia.org/wiki/Help:Multilingual_support_(East_Asian)

Simply put, two packages:
ttf-arphic-uming ttf-wqy-zenhei

Monday, July 2, 2012

git diff for files in different branches

git diff master:main.c branch1:main.c