日録2010年11月 のバックアップの現在との差分(No.4) - アールメカブ

アールメカブ


日録2010年11月 のバックアップの現在との差分(No.4)


  • 追加された行はこの色です。
  • 削除された行はこの色です。
[[過去の日録]]

&htmlinsert(amazon,transitional,"asins=4627848412");&htmlinsert(amazon,transitional,"asins=4431712186");&htmlinsert(amazon,transitional,"asins=4431713123");
&htmlinsert(amazon,transitional,"asins=4431100113");&htmlinsert(amazon,transitional,"asins=4431100474");&htmlinsert(amazon,transitional,"asins=4431100695");
&htmlinsert(amazon,transitional,"asins=4431100881");



//#ref(R_Lattice/lattice113.png)
//&htmlinsert(amazontext,asin=4431100695,text=ショーカー著『R グラフィックス自由自在』シュプリンガー社); 
//[[Lattice Multivariate Data Visualization with R:http://www.springer.com/statistics/computational/book/978-0-387-75968-5]]

//#htmlinsert(twitter,user=R_Linux,count=2)
// &htmlinsert(amazontext,asin=,text=); 

//#htmlinsert(amazonads)
// &htmlinsert(amazontext,asin=,text=); 

* 2010 年 11 月 30 日 (火) 晴 [#l2b261d9]
-- 06:10 起床
-- 07:30 研究室
- 午前
-- [[ChambersによるR and Multilingualismというプレゼン資料:http://blog.revolutionanalytics.com/2010/11/john-chambers-on-r-and-multilingualism.html]]

-- &htmlinsert(amazontext,asin=0387981403,text=ggplot2 ー Elegant Graphics for Data Analysis); の翻訳作業

* 2010 年 11 月 29 日 (月) 晴 [#zcfcbddb]
-- 06:10 起床
-- 07:30 研究室
-- 充電
- 午前
--&htmlinsert(amazontext,asin=4431102388,text=Rで学ぶベイズ統計学入門); が発刊された.
- 午後
-- C&R社の仕事をひたすら進める
-- 自宅の Wubi が2台とも,grub2のアップデートの結果,起動不能になっていた.修復は後回し.


* 2010 年 11 月 28 日 (日) 曇 [#c52da769]



この間出張

[[Rユーザー会資料 Hadley:http://had.co.nz/courses/10-tokyo/]]

[[Rユーザー会資料 Ligges:http://www.statistik.tu-dortmund.de/~ligges/ISM2010/]]


* 2010 年 11 月 24 日 (水曜) 曇 [#k0592b1c]


* 2010 年 11 月 23 日 (火曜) 雨・曇 [#mc1e24d8]
-- 07:30 起床
-- 09:00 研究室
- 午前
-- R の mode(), typeof の関係について&htmlinsert(amazontext,asin=0387759352,text=Software for Data Analysis: Programming with R); を眺めていたら,やや混乱してきた.R-inst, R-lang などをチェックし直す.
-午後
//パン
-- &htmlinsert(amazontext,asin=0387981403,text=ggplot2 ー Elegant Graphics for Data Analysis); の翻訳作業
-- ある記事「[[Rの環境操作とクロージャ:http://sheephead.homelinux.org/2010/11/23/6383/]]」がとても面白かった.関連で,例によって[[Ripley教授の指摘:http://tolstoy.newcastle.edu.au/R/help/06/06/28452.html]].

>
Because that sets the enclosing environment, not the frame in which the symbol is resolved. There are at least three possible sources of confusion here:
<

>
`environment' gets used in two senses in R documentation, one as a frame and one as an environment tree, that is as a frame and its enclosure (and so on recursively).
Note that objects do not really `live' in environments: symbols in frames have values and an object can be the value of several symbols. (People talk about bindings here: there are symbols are bound to objects, but objects can be bound to multiple symbols.)
Closures (most functions, including all user-written functions) have formals, a body, and an environment tree `attached to' or `associated with' the function. This is called the 'environment' of the function, but the 'enclosure' might be less confusing (since it acts as the enclosure of the frame created for the body of the function when it is evaluated).
<

ちなみに関連して,[[R-help:http://cran.r-project.org/doc/FAQ/R-FAQ.html]]に3.3.1 Lexical scopingという記事もある.

* 2010 年 11 月 22 日 (月曜) 曇 [#o53e6d0f]
-- 06:10 起床
-- 07:30 研究室
- 午前 
-- C&R社の原稿のため,[[文字コード周り>rawToChar]]を調べる 
-午後
//パン
-- &htmlinsert(amazontext,asin=0387981403,text=ggplot2 ー Elegant Graphics for Data Analysis ); の翻訳作業


* 2010 年 11 月 21 日 (日曜) 晴 [#qe21e5da]
-- 07:30 起床
-- 09:00 研究室
- 午前
-- &htmlinsert(amazontext,asin=0387981403,text=ggplot2 ー Elegant Graphics for Data Analysis ); の翻訳作業
- 午後
// カップ麺1つ
-- R で Unicode と UTF-8 のコードを確認する方法を忘れてた. [[Unicode_utf8]]


* 2010 年 11 月 20 日 (土曜) 晴 [#t4d723ed]
-- 06:40 起床
--- 夜中に雨が降ったらしい
-- 08:00 研究室
- 午前
-- &htmlinsert(amazontext,asin=4774144703,text=悩めるみんなの統計学入門); を買おうかと思ったが,品切れだった
-- &htmlinsert(amazontext,asin=0387981403,text=ggplot2 ー Elegant Graphics for Data Analysis ); の翻訳作業
- 午後
// カップ麺二つ
-- こういうサイトがあった.[[歌って覚える統計入門:http://miku.motion.ne.jp/]] : [[ミクの歌って覚える多変量解析:http://miku.motion.ne.jp/multi/index.html]] 
-- &htmlinsert(amazontext,asin=0387981403,text=ggplot2 ー Elegant Graphics for Data Analysis ); の翻訳作業

* 2010 年 11 月 19 日 (金曜) 晴 [#l0f3243e]
-- 06:10 起床
-- 07:40 研究室
- 午前
-- 08:40-10:10 演習
-- &htmlinsert(amazontext,asin=0387981403,text=ggplot2 ー Elegant Graphics for Data Analysis ); の翻訳作業
- 午後.来客と食事
// 
-- &htmlinsert(amazontext,asin=0387981403,text=ggplot2 ー Elegant Graphics for Data Analysis ); の翻訳作業
-- S社より電話.12月に出る本に,グラフ作成上の注意点として「カラーに凝ったとしても(白人)男性の8%が色覚異常で認識しない」という指摘があるのだが,日本の出版界では差別語にあたるので,削除したいと.同意する.
--  &htmlinsert(amazontext,asin=4873114705,text=入門 自然言語処理); が届いた



* 2010 年 11 月 18 日 (木曜) 曇 [#b25bf1b8]
-- 06:10 起床
-- 07:40 研究室
- 午前
-- 08:40-10:10 演習
-- &htmlinsert(amazontext,asin=0387981403,text=ggplot2 ー Elegant Graphics for Data Analysis ); の翻訳作業
-- [[Forbes_2011年に知るべき名前はR:http://blogs.forbes.com/smcnally/2010/11/10/names-you-need-to-know-in-2011-r-data-analysis-software/]]
- 午後
// すき屋 + パン 3
-- 12:50-14:25 演習
-- 久しぶり rgl パッケージを弄った.

 library(rgl)
 lat <- matrix(seq(90,-90, len=50)*pi/180, 50, 50, byrow=TRUE)
 long <- matrix(seq(-180, 180, len=50)*pi/180, 50, 50)
  
  r <- 6378.1 # radius of Earth in km
  x <- r*cos(lat)*cos(long)
  y <- r*cos(lat)*sin(long)
  z <- r*sin(lat)
     
  open3d()
  persp3d(x, y, z, col="white",  texture= "ika.png", 
      specular="black", axes=FALSE, box=FALSE, xlab="", ylab="",
      zlab="", normal_x=x, normal_y=y, normal_z=z)
  
  play3d(spin3d(axis=c(0,0,1), rpm=8), duration=5) # 回転させる
     

#ref(ika2.png)


* 2010 年 11 月 17 日 (水曜) 曇 [#sa16c931]
-- 06:10 起床
-- 07:40 研究室
- 午前
-- 08:40-10:10 演習
-- &htmlinsert(amazontext,asin=0387981403,text=ggplot2 ー Elegant Graphics for Data Analysis ); の翻訳作業
- 午後
// パン
--[[Emacs 23 に elscreen:http://ubuntu-note.blog.so-net.ne.jp/2010-11-06?utm_source=twitterfeed&utm_medium=twitter]]
--- " \C-o n":次のバッファ " \C-o p":前のバッファ " \C-o c":新しいバッファ作成 " \C-o k":現在のバッファ削除(タブを閉じる)
-- &htmlinsert(amazontext,asin=0387981403,text=ggplot2 ー Elegant Graphics for Data Analysis ); の翻訳作業
-- [[ggplot2を使った面白い事例:http://www.a-k-r.org/d/2010-09.html#a2010_09_19_1]]を教えてもらった

 http://www.a-k-r.org/d/2010-09/bmi-gnu_r-ggplot-3.png

#ref(http://www.a-k-r.org/d/2010-09/bmi-gnu_r-ggplot-3.png)

-- [[C&R社:http://www.c-r.com/]]に依頼された逆引きハンドブックの原稿書き


* 2010 年 11 月 16 日 (火曜) 曇 [#sa16c931]
-- 06:10 起床
-- 07:40 研究室
- 午前
-- &htmlinsert(amazontext,asin=0387981403,text=ggplot2 ー Elegant Graphics for Data Analysis ); の翻訳作業
- 午後
// パン
--[[第16回64ビット化への遠い道程:http://gihyo.jp/lifestyle/serial/01/ganshiki-soushi/0016]]
-- [[C&R社:http://www.c-r.com/]]に依頼された逆引きハンドブックの原稿書き


* 2010 年 11 月 15 日 (月曜) 曇 [#v21f7384]
-- 06:10 起床
-- 07:40 研究室
- 午前
-- 『R で学ぶベイズ統計学入門』シュプリンガー・ジャパンは今月末か?
-- K立出版の方と著書の打ち合わせ
- 午後
// すき家でおしんこセット 350
//-- &htmlinsert(amazontext,asin=0387981403,text=ggplot2 ー Elegant Graphics for Data Analysis ); の翻訳作業
--[[Python による日本語自然言語処理:http://nltk.googlecode.com/svn/trunk/doc/book-jp/ch12.html]]


* 2010 年 11 月 14 日 (日曜) 曇 [#ce4cf7ac]
-- 06:10 起床
-- 07:40 研究室
- 午前
- 午後
//パン
-- &htmlinsert(amazontext,asin=0387981403,text=ggplot2 ー Elegant Graphics for Data Analysis ); の翻訳作業
-- [[ESS:http://ess.r-project.org/]] が5.12 にバージョンアップしたらしい
-- 『R 初心者のための ABC』シュプリンガー・ジャパンの最終校正


* 2010 年 11 月 13 日 (土曜) 曇 [#naa8bf9f]
-- 06:10 起床
-- 07:40 研究室
- 午前
-- &htmlinsert(amazontext,asin=0387981403,text=ggplot2 ー Elegant Graphics for Data Analysis ); の翻訳作業
- 午後
//パン
-- &htmlinsert(amazontext,asin=0387981403,text=ggplot2 ー Elegant Graphics for Data Analysis ); の翻訳作業


* 2010 年 11 月 12 日 (金曜) 曇 [#fb90df45]
-- 06:10 起床
-- 07:40 研究室
- 午前
-- &htmlinsert(amazontext,asin=0387981403,text=ggplot2 ー Elegant Graphics for Data Analysis ); の翻訳作業
- 午後
//パン
-- &htmlinsert(amazontext,asin=0387981403,text=ggplot2 ー Elegant Graphics for Data Analysis ); の翻訳作業


* 2010 年 11 月 11 日 (木曜) 曇 [#y082a089]
-- 06:10 起床
-- 07:40 研究室
- 午前
-- &htmlinsert(amazontext,asin=0387981403,text=ggplot2 ー Elegant Graphics for Data Analysis ); の翻訳作業
--[[Promote your favorite R functions:http://blog.revolutionanalytics.com/2010/11/promote-your-favorite-r-functions.html]]という記事があった
-午後
//カップ麺
--12:50-14:20 演習
--15:00-18:00 会議
-- 自治会資料配付

* 2010 年 11 月 10 日 (水曜) 曇 [#zfe1802f]
-- 06:10 起床
-- 07:40 研究室
- 午前
-- 08:40-10:10 演習.
---Windowsを使ったRの演習で,トランプをシミュレーションするのに

#ref(cards.png)



なんて操作をして,ついでに 

 write.table(cards, file = "cards.csv")

を実行して,Excel97で開かせて,もろ文字化けを食らった.
とりあえず

 write.table(iconv(cards, to="UTF-8"), file = "cards.csv")

としておくと OpenOffice では開けるが,Excel は化ける.
後でExcel では [外部データの取り込み]メニューを使って UTF-8 を指定して読み込めばよろしい,と教わった.
-午後
//パン3枚とハム3枚,おやつにパン1枚とハム1枚
-- 14:35-16:05 講義
-- 技術情報協会の原稿校正を送る
--自治会資料配付


* 2010 年 11 月 09 日 (火曜) 曇 [#m0fe873d]
-- 06:10 起床
-- 07:40 研究室
- 午前
-- 原稿はなんでも LaTeXで書いてきたのだが,C&R社の原稿はテキストファイルを指定された.そこで Emacs のorg-modeで書いてみることにした.ただ,自分の確認用にはLaTeXファイルが欲しいので,org->LaTeX 変換を利用することにした.[[このサイト:http://d.hatena.ne.jp/tamura70/20100217/org]]が参考になった.
-- 技術情報協会の原稿校正
- 午後
//食パン4枚とハム8枚
-- R のバージョン 1 から 2 への[[変更点:http://itc.virginia.edu/research/R/changev2.html]] を確認.
-- &htmlinsert(amazontext,asin=0387981403,text=ggplot2 ー Elegant Graphics for Data Analysis ); の翻訳作業


* 2010 年 11 月 08 日 (月曜) 晴 [#x3e26b17]
-- 06:10 起床
-- 07:40 研究室
- 午前
-- [[Hadley のスライドの情報:http://www.slideshare.net/hadley/presentations]]が流れてきてうれしい
-- &htmlinsert(amazontext,asin=0387981403,text=ggplot2 ー Elegant Graphics for Data Analysis ); の翻訳作業を再開
- 午後
//食パン4枚とハム8枚
-- &htmlinsert(amazontext,asin=0387981403,text=ggplot2 ー Elegant Graphics for Data Analysis ); の翻訳作業


* 2010 年 11 月 07 日 (日曜) 雨曇 [#o24e8a37]
-- 06:10 起床
-- 07:40 研究室
- 午前
-- &htmlinsert(amazontext,asin=0387981403,text=ggplot2 ー Elegant Graphics for Data Analysis ); の翻訳作業を再開
- 午後
-- CR社用の原稿
-- またまた[[Integrating R with C++: Rcpp, RInside, and RProtobuf:http://www.youtube.com/watch?v=UZkaZhsOfT4]]を鑑賞

#htmlinsert(u2b,id=UZkaZhsOfT4,width=640,height=385,style=text-align:left;)


* 2010 年 11 月 06 日 (土曜) 曇 [#a29c577c]
-- 06:10 起床
-- 07:40 研究室
- 午前
-- CR社用の原稿に専念する
- 午後
-- &htmlinsert(amazontext,asin=0387981403,text=ggplot2 ー Elegant Graphics for Data Analysis ); の翻訳作業を再開

* 2010 年 11 月 05 日 (金曜) 晴 [#qbacdc4a]
-- 06:10 起床
-- 07:40 研究室
- 午前
-- CR社用の原稿に専念する
- 午後
-- &htmlinsert(amazontext,asin=4152091428,text=数覚とは何か?―心が数を創り、操る仕組み); を入手
-- &htmlinsert(amazontext,asin=4774143898,text=WEB+DB PRESS Vol.59); を入手.大規模データ分析特集がある
-- &htmlinsert(amazontext,asin=4320019423,text=数値で学ぶ計算と解析); を入手
-- CR社用の原稿に専念する

* 2010 年 11 月 04 日 (木曜) 晴 [#u1ce8630]
-- 06:10 起床
-- 07:40 研究室
- 午前
-- CR社用の原稿に専念する
- 午後
-- 4152091428を入手
-- CR社用の原稿に専念する


* 2010 年 11 月 03 日 (水曜)休日 曇 [#a461bf8d]
-- 06:10 起床
-- 07:40 研究室
- 午前
-- CR社用の原稿に専念する
- 午後
-- CR社用の原稿に専念する


* 2010 年 11 月 02 日 (火曜) 曇 [#f6f4a934]
-- 06:10 起床
// カレーそば,納豆,スープ
-- 07:40 研究室
- 午前
-- CR社用の原稿に専念する
-午後
-- &htmlinsert(amazontext,asin=4864010102,text=LATEX2εマクロ作法); を入手,これは役に立ちそう
--愛友どぶろくとか飲む


* 2010 年 11 月 01 日 (月曜) 曇 [#n29ac3ce]
-- 05:50 起床
// カレーそば,納豆,スープ
-- 07:20 研究室
- 午前
-- &htmlinsert(amazontext,asin=0387938362,text=A Beginner's Guide to R);  の後書き
-午後
//食パン4枚 ハム 6 きれ
-- C&R 社原稿に専念
-- 技情社から,第三講の校正初稿が届く
// ハーバードのカタリーナ氏よりプレゼントが届く
//
-- &htmlinsert(amazontext,asin=4339024511,text=自然言語処理の基礎); を入手
-- Emacs で sdic を使っているが,再設定.[[ここ:http://d.hatena.ne.jp/supermassiveblackhole/20100708/1278553763]] が参考になった.