日々のつれづれ

不惑をむかえ戸惑いを隠せない男性の独り言

2011-12-23から1日間の記事一覧

geditでShift-JISを読み込ませる

RのエディターにはESS, JGR, TinnR, RStudio, RKWardとかありますが、gedit + terminalが一番使いやすい、と思っている。 でも、geditはエンコードの認識が今ひとつで、winのShift-JISを認識しない(cp932なら大丈夫なのか?)。で、調べてみると、解決法があ…

途中で諦めないことが大事なのか?

Is this judgement expensive or not?"Kyo", which is the fastest computer this year, was developed by RIKEN and Fujitsu. However, NEC and Hitachi had ever participated in this development, and they broke away at 2009 dew to the financial pro…

直線とか曲線とか・その2

少し変わった直線は、それなりに手続きが必要になるわけですが、 matlines関数 matplot関数のlines関数になります。 > dat <- t(sapply(seq(1,8,2),function(i) sort(rnorm(4,mean=i,sd=1)))) > dimnames(dat) <- lapply(c("row","col"),paste,1:4) > > jpeg…