トップ
新規
一覧
単語検索
最終更新
ヘルプ
ログイン
アールメカブ
日録2008年12月
をテンプレートにして作成
開始行:
[[過去の日録]]
* 2008年12月31日 (水) 晴 [#je015177]
- 07:20 起床
-- 終日片付け
* 2008年12月30日 (火) 晴 [#j4c71aa6]
- 07:20 起床
-- 08:50 研究室着,
- 午前
-- 研究室の大掃除
- 午後
-- [[Lattice:http://www.springer.com/statistics/computati...
* 2008年12月29日 (月) 晴 [#jfd6bb61]
- 08:10 起床
// 初めて,ズボン下を着用して過ごす.暖かい.
-- 09:50 研究室着,
- 午前
-- 学内はほとんど誰もおらず,誰も来ない.静かで.仕事が進...
- 午後
-- [[Lattice:http://www.springer.com/statistics/computati...
--[[Baayen>R_Baayen]]に出てくるデータをみて,いつも思うが...
* 2008年12月28日 (日) 晴 [#e54a464d]
- 07:10 起床
-- 一日片付け
-- 宮部みゆきと藤原正彦を読んで就寝
--,
* 2008年12月27日 (土) 晴 [#fb37ced6]
- 07:10 起床
-- 08:50 研究室着
- 午前
-- [[Lattice:http://www.springer.com/statistics/computati...
- 午後
[[Lattice:http://www.springer.com/statistics/computationa...
,う〜ん,これは単なる間違いなのか,それとも lattice のヴ...
-- [[Baayen>R_Baayen]] p.113を眺めていたら,xtabsオブジェ...
-- ついでに p.114-p.116 に p値の大きさと言語理論との整合...
-- p.117の練習問題 4.7 は,比較的,解析の目的と意味が把握...
* 2008年12月26日 (金) 晴 [#xcb43d53]
- 07:00 起床
-- 08:40 研究室着
- 午前
-- [[Lattice:http://www.springer.com/statistics/computati...
- 午後.工学部Special400.唐揚げと目玉焼き,サラダ,味噌...
-- [[RMeCab]]を Power PC で実行した場合,不具合があるらし...
* 2008年12月25日 (木) 曇 [#x6945089]
- 06:00 起床
-- 朝一で大量の本を廃棄
-- 07:50 研究室着
- 午前
-- 書類書き
-- 何とか終わったので,[[RMeCab]]の0.67をVista上で試しみ...
- 午後.工学部栄養420.ハンバーグと目玉焼きとキャベツ,高...
-- [[Baayen>R_Baayen]]を眺める
-- 谷村先生が R の[[色見本:http://www.okada.jp.org/RWiki/...
-- [[Lattice:http://www.springer.com/statistics/computati...
-- 充電
* 2008年12月24日 (水) 晴 [#c70c6872]
- 06:00 起床
-- 07:30 研究室着
- 午前
-- 朝から学外および学内関連の書類書き
- 午後
-- 今日は書類書き以外何もできそうにない
-- Mac OS X 版 R-2.8.1.dmg が,筑波のCRANミラーにはまだな...
* 2008年12月23日 (火) 晴 [#bf644387]
- 06:30 起床
-- 08:00 研究室着
- 午前
-- R-2.8.1が出たので [[RMeCab]]のバージョンをあげる.Wind...
- 午後
-- [[autofsの設定]]
* 2008年12月22日 (月) 曇 [#b9b3875f]
- 07:55 起床
-- 明け方嵐のような天気であった.
-- 09:30 研究室着
- 午前
-- [[Lattice:http://www.springer.com/statistics/computati...
- 午後
-- Suzukaをいじっておく.
--,
* 2008年12月21日 (日) 曇 [#ia7ffded]
- 07:15 起床
-- 一日片付け
--,
* 2008年12月20日 (土) 晴 [#ia44abc2]
- 07:15 起床
-- 09:00 研究室着
- 午前,
-- LANDISK が届いたので,これを Ubuntu で mount したい.s...
sudo apt-get install smbfs
それでもって
sudo mount -t cifs //***.*.***.*00/disk /mnt/landisk -o
username=hoge,password=hoge,
uid=hoge,gid=hoge,iochart="utf8"
としたら,あっさりとマウントしてくれた.あとは いつのもよ...
//***.***.*.*00/disk /mnt/landisk cifs
rw,users,noauto,username=hoge,password=hoge,
uid=1000,gid=1000,file_mode=0755,dir_mode=0755,
iocharset=utf8 0 0
file_mode=0755,dir_mode=0755 は不要か
-- ところが,ユーザーでマウントできない.
~$ mount /mnt/landisk/
mount error: permission denied or not superuser and
mount.cifs not installed S...
mount.cifs のパーミッションを確認してみる.
$ ls -l /sbin/mount.cifs
-rwsr-xr-x 1 root root 22700 2008-07-01 00:46 /sbin/moun...
変更してみると
// $ sudo chmod 4755 /sbin/mount.cifs
// $ ls -l /sbin/mount.cifs
// -rwsr-xr-x 1 root root 22700 2008-07-01 00:46
// /sbin/mou...
$ sudo chmod +s /sbin/mount.cifs
$ ls -l /sbin/mount.cifs
-rwsr-sr-x 1 root root 22700 2008-07-01 00:46
/sbin/mount...
しかし,やはりmount error:.念のため
$ ls -l /usr/bin/smbmount
-rwxr-xr-x 1 root root 906520 2008-07-01 00:46
/usr/bi...
変更してみる
$ sudo chmod u+s /usr/bin/smbmount
-rwsr-xr-x 1 root root 906520 2008-07-01 00:46
/usr/...
// $ sudo chmod u+s /usr/bin/smbmount
// -rwsr-xr-x 1 root root 906520 2008-07-01 00:46
// /us...
$ sudo chmod +s /usr/bin/smbmount
$ ls -l /usr/bin/smbmount
-rwsr-sr-x 1 root root 906520 2008-07-01 00:46
/usr/...
変化無し.うーん.smbmntを確認してみる
$ ls -l /usr/bin/smbmnt
-rwsr-xr-x 1 root root 9904 2008-07-01 00:46
/usr/b...
// $ ls -l /usr/bin/smbmnt
// -rwsr-xr-x 1 root root 9904 2008-07-01 00:46
// /u...
// $ sudo chmod +s /usr/bin/smbmnt
// $ ls -l /usr/bin/smbmnt
// -rwsr-sr-x 1 root root 9904 2008-07-01 00:46
// /us...
良いと思うのだが.Googleでは[[こんなページ:http://sidux.c...
-- [[ここ:http://www.debuntu.org/2006/05/31/58-how-to-smb...
$ sudo chmod u-s /usr/bin/smbmount
$ ls -l /usr/bin/smbmount
-rwxr-xr-x 1 root root 906520 2008-07-01 00:46
/usr/bin/smbmount
smbmnt, mount.cifs, umount.cifsも結局,デフォルトの状態に...
-- /mnt/landisk の所有者が root になっていたので
$ sudo chown ishida:ishida landisk/
を変えたら,マウント可能になった.しかし,気にいらんなぁ.
- 午後
-- LANDISK へ自動的にバックアップをとりたいが,LANDISK が...
if [ "`df | grep /mnt/landisk`" = "" ]; then
echo "not mounted"
if mount /mnt/landisk;then
echo "now mounted"
else
echo "cant mounted"
exit 1;
fi
else
echo "already mounted"
fi
あるいは,もっと簡単に
if [ "`df | grep /mnt/landisk`" ]; then
echo "already mounted"
else
if mount /mnt/landisk;then
echo "now mounted"
else
echo "cant mounted"
exit 1;
fi
fi
* 2008年12月19日 (金) 雨・晴 [#zc5e63ba]
- 06:15 起床
-- 07:30 研究室着
- 午前
-- [[RMeCab]]のインストールガイドなどを書き直した.zipフ...
- 来客と昼食
-- [[RMeCab]]のインストールガイドなどを書き直しを続ける....
-- ,
* 2008年12月18日 (木) 晴 [#d9e62ca0]
- 06:15 起床
-- 07:30 研究室着
- 午前
-- 朝一で郵便の発送.
-- LaTeX の makeindex で,漢字を指定する場合,読み仮名か...
\index{かんし@漢字}
ふっと,この根拠は何なのだろうか.検索すると,濁音をその...
\index{かんじ@漢字}
- 午後
-- [[Lattice:http://www.springer.com/statistics/computati...
* 2008年12月17日 (水) 曇 [#le6657fc]
- 06:30 起床
-- 07:40 研究室着
- 午前
-- [[こういうページ:http://phoenixx.sakura.ne.jp/R/wiki.c...
-- 二三の細々した用事を片付ける.
-- T氏とベキ乗モデルの話.モデルを見直して,ロジットに落...
- 午後
-- Comparative Box-and-Whisker Plots という言葉があるのだ...
-- 充電
--,
* 2008年12月16日 (火) 晴 [#f2a689d7]
- 06:30 起床
-- 07:40 研究室着
- 午前
-- [[RMeCab]] のインストール方法について書き直し,修正フ...
-- Wedderburn rank reduction
#mimetex(E = A - \omega^{-1} (Ax) (y^T Y); rank(E) = rank...
where
#mimetex(\, \, \, \, \, \omega = y^T A x, x \in R^n, y \i...
- 午後
-- [[Lattice:http://www.springer.com/statistics/computati...
* 2008年12月15日 (月) 晴 [#ke6e9f47]
- 08:30 起床
-- 09:50 研究室着
- 午前
-- ''fractional number'' 「分数」というと,私などはついつ...
- 午後.工学部で栄養420.目玉焼きののったハンバーグとポテ...
-- 日韓比較データの分析
-,
* 2008年12月14日 (日) 曇・晴 [#td309cf5]
- 07:40 起床
-- 一日仕事
* 2008年12月13日 (土) 晴 [#ke6e9f47]
- 07:40 起床
-- 09:00 研究室着
--一日仕事
-- [[Lattice:http://www.springer.com/statistics/computati...
* 2008年12月12日 (金) 晴 [#o8c9c324]
- 06:00 起床
-- 07:30 研究室着
- 午前
-- T氏とデータの分析方法について雑談
-- 10:25-11:55 講義
-- [[RMeCab]]のデータセットを作成し直した.
- 午後.来客と食事
-- 午後から連続で演習
-- 重力モデルとハフモデルについてちょっと調べた
-- シャンペンを少々飲んで就寝
--,
//http://www.orsj.or.jp/~archive/pdf/a_a/2004A_080.pdf
//http://www.soc.titech.ac.jp/~library/discuss/text/dp04-...
//http://www.cneas.tohoku.ac.jp/labs/dsese/mokmrp1/to0709...
//http://www.iwate-pu.ac.jp/home/takasima/paper/D01/D04.doc
//http://okwave.jp/qa2183325.html
* 2008年12月11日 (木) 晴 [#sd30dab2]
- 06:00 起床
-- 07:30 研究室着
- 午前
-- 朝一で,献本の発送を行った.
// 15部,宛名シールが840円,梱包封筒が3*5*100円,郵送費が...
-- 10:25-12:00 演習
- 午後
-- 昨日届いた,[[Lattice:http://www.springer.com/statisti...
-- 日本酒を少々飲んで就寝
--,
* 2008年12月10日 (水) 晴 [#y9e0530c]
- 06:00 起床
-- 07:30 研究室着
- 午前
-- 08:35-10:10 演習
-- 献本の準備
- 午後
-- 12:50-16:05 講義
-- 『[[Rによるテキストマイニング入門:http://www.amazon.co...
-- 日本酒を少々飲んで就寝
--,
* 2008年12月9日 (火) 晴 [#re46d2cc]
- 06:00 起床
-- 07:30 研究室着
- 午前
-- RjpWiki Q&A初級者コースに
vistaは基本的にC:\Program Files、
C:\直下には書き込み権限はありません。
とあった.たまにVistaでRを使ってみるが,パッケージをイン...
- 午後
-- [[U・リゲス著『''Rの基礎とプログラミング技法''』:http...
--,
* 2008年12月8日 (月) 晴 [#n2f7df44]
//工学部でスペシャル400.トンカツにキャベツ,豚汁,ご飯.
* 2008年12月7日 (日) 晴 [#wac9eeac]
- 07:30 起床
-- 携帯の電源切れたが,時間がなかったので,とりあえず1時...
-- 午前中,サーバーを設定した部屋で停電があった模様で,サ...
--,
* 2008年12月6日 (土) 晴 [#ld9768f2]
- 07:00 起床
-- 午前中,[[IASC2008:http://jasp.ism.ac.jp/~iasc2008/]]...
-- 共同発表者の用事を済ませたが,みなとみらい周辺に馴染み...
* 2008年12月5日 (金) 雨 [#vd3a2d09]
- 07:00 起床
- 12時の飛行機で東京へ
- 14時時半頃,横浜.
-- 地方で暮らすようになるまでは,しばしば横浜周辺には出か...
-- 今頃,Rのチュートリアルが開催されているはずだが,他の...
-- ホテル内で,
『[[Rによるテキストマイニング入門:http://www.amazon.co.jp...
* 2008年12月4日 (木) 晴 [#bc4500ac]
- 06:00 起床
-- 07:30 研究室着,
- 午前
-- 朝いちで,昨日の日本語アンケートデータの分析を続ける....
-- 10:25-12:00 演習
- 午後. K 氏,N 氏らと近くのファミレスに.ハンバーグラン...
//工学部でスペシャル400,鳥南蛮とご飯と味噌汁
-- Elecomのブックスタンド EDH-004 を買ってみた.[[Lattice...
* 2008年12月3日 (水) 晴 [#nb0805ad]
- 06:00 起床
-- 07:30 研究室着
- 午前
-- 今日も一日授業の日だが、合間を縫って、日本語アンケート...
-- 08:30-10:30 演習
- 午後
-- データフレームをランダムに二つに分ける処理って、[[こう...
-- 12:55-16:05 講義
-- 18:00-19:30 演習
-- 面白そうな R パッケージが公開されている.
New Rcpp versions 0.6.0 and 0.6.1
---------------------------------
The Rcpp package provides C++ classes that greatly
facilitate interfacing C
or C++ code in R packages using the .Call() interface
provided by R.
Rcpp provides matching C++ classes for a large number of
basic R data types.
Hence, a package author can keep his data in normal
R data structure
without having to worry about translation or transfer
to C++.
At the same time, the data structures can be accessed as
easily at the C++ level, and used in the normal manner.
The mapping of data types works in both directions.
It is as straightforward to pass data from R to C++,
as it is it return data from C++ to R.
The following two sections list supported data types.
Transfer from R to C++:
Standard R datatypes that are understood in C++ are
o named lists containing numeric (i.e. floating point),
integer, character, logical (i.e. boolean) or Date and
Datetime (i.e. POSIXct at
the microsecond granularity) arguments;
o data frames containing numeric, integer, logical,
character, Date, Datetime or Factor columns;
o named vectors containing numeric or integer values,
o vectors and matrices of different values
o character strings
Transfer from C++ to R:
Standard C++ datatypes can be returned to R
in a named list, the most general data type in R.
Permissible components of the returns list are the
following C++ types:
o double (scalar as well as vectors and vectors of vecto...
o int (scalar as well as vectors and vectors of vectors),
string,
o STL vector types and vector<vector> types of int
and double
o STL vector of strings
o internal Rcpp types RcppDate, RcppDateVector,
RcppDatetime, RcppDatetimeVector,
RcppStringVector, RcppVector of int or double,
RcppMatrix of int or double, RcppFrame
Rcpp was initially written by Dominick Samperi as part of
his contributions to RQuantLib, and later released as a
standalone package (under both the Rcpp and
RcppTemplate names).
Its development had ceased in late 2006.
As of November 2008, I have made new release with
substantially expanded documentation,
simpler yet more comprehensive build structure leading to
easier use of Rcpp from other packages, and
support for Windows, Linux and Mac OS X
(with special thanks to Simon for some extended
cluebat waving).
More information for Rcpp can be found at
o the package homepage at
http://dirk.eddelbuettel.com/code/rcpp.html
o the R-forge repository at
https://r-forge.r-project.org/projects/rcpp/
o the CRAN page at
http://cran.r-project.org/web/packages/Rcpp/index.html
Regards, Dirk
-- すき焼きで獺祭を一杯
* 2008年12月2日 (火) 晴 [#wd9373f6]
- 06:00 起床
-- 07:30 研究室着
- 午前
-- 昨日の午後から,花粉症の症状がひどい.例年は,年明けぐ...
-- [[Lattice:http://www.springer.com/statistics/computati...
> barchart(Class ~ Freq | Sex + Age,
data = as.data.frame(Titanic),
groups = Survived, stack = TRUE, layout = c(4, 1),
auto.key = list(title = "Survied", colums = 2),
scales = list(x = "free") )
- 午後
-- 14:35-18:30 演習
--、
* 2008年12月1日 (月) 晴 [#w2a26a85]
- 06:00 起床
-- 07:30 研究室着,
- 午前
-- [[Lattice:http://www.springer.com/statistics/computati...
-- Atok for Linux を Emacs 上で使って原稿書いているんだが...
- 午後
ひたすら[[Lattice:http://www.springer.com/statistics/comp...
-- 急に花粉症風の症状が出てきた.何で,突然?
-- ''latice'' パッケージの関数は,引数の指定が正しくない...
key.variety <- list(space = "right",
text = list(levels(Oats$Variety)),
points = list(pch = 1:3, col = "black"))
xyplot(yield ~ nitro | Block, Oats, aspect = "xy",
type = "o", groups = Variety,
key = key.variety, lty = 1, pch = 1:3,
col.line = "dargrey", col.symbol = "black")
darkgrey の綴りを間違えて指定すると,グラフは作成されるも...
また引数名と間違えると,その引数に設定したオブジェクトが...
dotplot(variery ~ yield | site, barley, layout = c(1,6),
aspect = c(0.7), grous = year,
auto.key = list(space = "right") )
以下にエラー bwplot.formula(x = variery ~ yield | site,
data = list(yield = c(27, :
オブジェクト "year" は存在しません
groups の綴りを間違えたんだけど...
終了行:
[[過去の日録]]
* 2008年12月31日 (水) 晴 [#je015177]
- 07:20 起床
-- 終日片付け
* 2008年12月30日 (火) 晴 [#j4c71aa6]
- 07:20 起床
-- 08:50 研究室着,
- 午前
-- 研究室の大掃除
- 午後
-- [[Lattice:http://www.springer.com/statistics/computati...
* 2008年12月29日 (月) 晴 [#jfd6bb61]
- 08:10 起床
// 初めて,ズボン下を着用して過ごす.暖かい.
-- 09:50 研究室着,
- 午前
-- 学内はほとんど誰もおらず,誰も来ない.静かで.仕事が進...
- 午後
-- [[Lattice:http://www.springer.com/statistics/computati...
--[[Baayen>R_Baayen]]に出てくるデータをみて,いつも思うが...
* 2008年12月28日 (日) 晴 [#e54a464d]
- 07:10 起床
-- 一日片付け
-- 宮部みゆきと藤原正彦を読んで就寝
--,
* 2008年12月27日 (土) 晴 [#fb37ced6]
- 07:10 起床
-- 08:50 研究室着
- 午前
-- [[Lattice:http://www.springer.com/statistics/computati...
- 午後
[[Lattice:http://www.springer.com/statistics/computationa...
,う〜ん,これは単なる間違いなのか,それとも lattice のヴ...
-- [[Baayen>R_Baayen]] p.113を眺めていたら,xtabsオブジェ...
-- ついでに p.114-p.116 に p値の大きさと言語理論との整合...
-- p.117の練習問題 4.7 は,比較的,解析の目的と意味が把握...
* 2008年12月26日 (金) 晴 [#xcb43d53]
- 07:00 起床
-- 08:40 研究室着
- 午前
-- [[Lattice:http://www.springer.com/statistics/computati...
- 午後.工学部Special400.唐揚げと目玉焼き,サラダ,味噌...
-- [[RMeCab]]を Power PC で実行した場合,不具合があるらし...
* 2008年12月25日 (木) 曇 [#x6945089]
- 06:00 起床
-- 朝一で大量の本を廃棄
-- 07:50 研究室着
- 午前
-- 書類書き
-- 何とか終わったので,[[RMeCab]]の0.67をVista上で試しみ...
- 午後.工学部栄養420.ハンバーグと目玉焼きとキャベツ,高...
-- [[Baayen>R_Baayen]]を眺める
-- 谷村先生が R の[[色見本:http://www.okada.jp.org/RWiki/...
-- [[Lattice:http://www.springer.com/statistics/computati...
-- 充電
* 2008年12月24日 (水) 晴 [#c70c6872]
- 06:00 起床
-- 07:30 研究室着
- 午前
-- 朝から学外および学内関連の書類書き
- 午後
-- 今日は書類書き以外何もできそうにない
-- Mac OS X 版 R-2.8.1.dmg が,筑波のCRANミラーにはまだな...
* 2008年12月23日 (火) 晴 [#bf644387]
- 06:30 起床
-- 08:00 研究室着
- 午前
-- R-2.8.1が出たので [[RMeCab]]のバージョンをあげる.Wind...
- 午後
-- [[autofsの設定]]
* 2008年12月22日 (月) 曇 [#b9b3875f]
- 07:55 起床
-- 明け方嵐のような天気であった.
-- 09:30 研究室着
- 午前
-- [[Lattice:http://www.springer.com/statistics/computati...
- 午後
-- Suzukaをいじっておく.
--,
* 2008年12月21日 (日) 曇 [#ia7ffded]
- 07:15 起床
-- 一日片付け
--,
* 2008年12月20日 (土) 晴 [#ia44abc2]
- 07:15 起床
-- 09:00 研究室着
- 午前,
-- LANDISK が届いたので,これを Ubuntu で mount したい.s...
sudo apt-get install smbfs
それでもって
sudo mount -t cifs //***.*.***.*00/disk /mnt/landisk -o
username=hoge,password=hoge,
uid=hoge,gid=hoge,iochart="utf8"
としたら,あっさりとマウントしてくれた.あとは いつのもよ...
//***.***.*.*00/disk /mnt/landisk cifs
rw,users,noauto,username=hoge,password=hoge,
uid=1000,gid=1000,file_mode=0755,dir_mode=0755,
iocharset=utf8 0 0
file_mode=0755,dir_mode=0755 は不要か
-- ところが,ユーザーでマウントできない.
~$ mount /mnt/landisk/
mount error: permission denied or not superuser and
mount.cifs not installed S...
mount.cifs のパーミッションを確認してみる.
$ ls -l /sbin/mount.cifs
-rwsr-xr-x 1 root root 22700 2008-07-01 00:46 /sbin/moun...
変更してみると
// $ sudo chmod 4755 /sbin/mount.cifs
// $ ls -l /sbin/mount.cifs
// -rwsr-xr-x 1 root root 22700 2008-07-01 00:46
// /sbin/mou...
$ sudo chmod +s /sbin/mount.cifs
$ ls -l /sbin/mount.cifs
-rwsr-sr-x 1 root root 22700 2008-07-01 00:46
/sbin/mount...
しかし,やはりmount error:.念のため
$ ls -l /usr/bin/smbmount
-rwxr-xr-x 1 root root 906520 2008-07-01 00:46
/usr/bi...
変更してみる
$ sudo chmod u+s /usr/bin/smbmount
-rwsr-xr-x 1 root root 906520 2008-07-01 00:46
/usr/...
// $ sudo chmod u+s /usr/bin/smbmount
// -rwsr-xr-x 1 root root 906520 2008-07-01 00:46
// /us...
$ sudo chmod +s /usr/bin/smbmount
$ ls -l /usr/bin/smbmount
-rwsr-sr-x 1 root root 906520 2008-07-01 00:46
/usr/...
変化無し.うーん.smbmntを確認してみる
$ ls -l /usr/bin/smbmnt
-rwsr-xr-x 1 root root 9904 2008-07-01 00:46
/usr/b...
// $ ls -l /usr/bin/smbmnt
// -rwsr-xr-x 1 root root 9904 2008-07-01 00:46
// /u...
// $ sudo chmod +s /usr/bin/smbmnt
// $ ls -l /usr/bin/smbmnt
// -rwsr-sr-x 1 root root 9904 2008-07-01 00:46
// /us...
良いと思うのだが.Googleでは[[こんなページ:http://sidux.c...
-- [[ここ:http://www.debuntu.org/2006/05/31/58-how-to-smb...
$ sudo chmod u-s /usr/bin/smbmount
$ ls -l /usr/bin/smbmount
-rwxr-xr-x 1 root root 906520 2008-07-01 00:46
/usr/bin/smbmount
smbmnt, mount.cifs, umount.cifsも結局,デフォルトの状態に...
-- /mnt/landisk の所有者が root になっていたので
$ sudo chown ishida:ishida landisk/
を変えたら,マウント可能になった.しかし,気にいらんなぁ.
- 午後
-- LANDISK へ自動的にバックアップをとりたいが,LANDISK が...
if [ "`df | grep /mnt/landisk`" = "" ]; then
echo "not mounted"
if mount /mnt/landisk;then
echo "now mounted"
else
echo "cant mounted"
exit 1;
fi
else
echo "already mounted"
fi
あるいは,もっと簡単に
if [ "`df | grep /mnt/landisk`" ]; then
echo "already mounted"
else
if mount /mnt/landisk;then
echo "now mounted"
else
echo "cant mounted"
exit 1;
fi
fi
* 2008年12月19日 (金) 雨・晴 [#zc5e63ba]
- 06:15 起床
-- 07:30 研究室着
- 午前
-- [[RMeCab]]のインストールガイドなどを書き直した.zipフ...
- 来客と昼食
-- [[RMeCab]]のインストールガイドなどを書き直しを続ける....
-- ,
* 2008年12月18日 (木) 晴 [#d9e62ca0]
- 06:15 起床
-- 07:30 研究室着
- 午前
-- 朝一で郵便の発送.
-- LaTeX の makeindex で,漢字を指定する場合,読み仮名か...
\index{かんし@漢字}
ふっと,この根拠は何なのだろうか.検索すると,濁音をその...
\index{かんじ@漢字}
- 午後
-- [[Lattice:http://www.springer.com/statistics/computati...
* 2008年12月17日 (水) 曇 [#le6657fc]
- 06:30 起床
-- 07:40 研究室着
- 午前
-- [[こういうページ:http://phoenixx.sakura.ne.jp/R/wiki.c...
-- 二三の細々した用事を片付ける.
-- T氏とベキ乗モデルの話.モデルを見直して,ロジットに落...
- 午後
-- Comparative Box-and-Whisker Plots という言葉があるのだ...
-- 充電
--,
* 2008年12月16日 (火) 晴 [#f2a689d7]
- 06:30 起床
-- 07:40 研究室着
- 午前
-- [[RMeCab]] のインストール方法について書き直し,修正フ...
-- Wedderburn rank reduction
#mimetex(E = A - \omega^{-1} (Ax) (y^T Y); rank(E) = rank...
where
#mimetex(\, \, \, \, \, \omega = y^T A x, x \in R^n, y \i...
- 午後
-- [[Lattice:http://www.springer.com/statistics/computati...
* 2008年12月15日 (月) 晴 [#ke6e9f47]
- 08:30 起床
-- 09:50 研究室着
- 午前
-- ''fractional number'' 「分数」というと,私などはついつ...
- 午後.工学部で栄養420.目玉焼きののったハンバーグとポテ...
-- 日韓比較データの分析
-,
* 2008年12月14日 (日) 曇・晴 [#td309cf5]
- 07:40 起床
-- 一日仕事
* 2008年12月13日 (土) 晴 [#ke6e9f47]
- 07:40 起床
-- 09:00 研究室着
--一日仕事
-- [[Lattice:http://www.springer.com/statistics/computati...
* 2008年12月12日 (金) 晴 [#o8c9c324]
- 06:00 起床
-- 07:30 研究室着
- 午前
-- T氏とデータの分析方法について雑談
-- 10:25-11:55 講義
-- [[RMeCab]]のデータセットを作成し直した.
- 午後.来客と食事
-- 午後から連続で演習
-- 重力モデルとハフモデルについてちょっと調べた
-- シャンペンを少々飲んで就寝
--,
//http://www.orsj.or.jp/~archive/pdf/a_a/2004A_080.pdf
//http://www.soc.titech.ac.jp/~library/discuss/text/dp04-...
//http://www.cneas.tohoku.ac.jp/labs/dsese/mokmrp1/to0709...
//http://www.iwate-pu.ac.jp/home/takasima/paper/D01/D04.doc
//http://okwave.jp/qa2183325.html
* 2008年12月11日 (木) 晴 [#sd30dab2]
- 06:00 起床
-- 07:30 研究室着
- 午前
-- 朝一で,献本の発送を行った.
// 15部,宛名シールが840円,梱包封筒が3*5*100円,郵送費が...
-- 10:25-12:00 演習
- 午後
-- 昨日届いた,[[Lattice:http://www.springer.com/statisti...
-- 日本酒を少々飲んで就寝
--,
* 2008年12月10日 (水) 晴 [#y9e0530c]
- 06:00 起床
-- 07:30 研究室着
- 午前
-- 08:35-10:10 演習
-- 献本の準備
- 午後
-- 12:50-16:05 講義
-- 『[[Rによるテキストマイニング入門:http://www.amazon.co...
-- 日本酒を少々飲んで就寝
--,
* 2008年12月9日 (火) 晴 [#re46d2cc]
- 06:00 起床
-- 07:30 研究室着
- 午前
-- RjpWiki Q&A初級者コースに
vistaは基本的にC:\Program Files、
C:\直下には書き込み権限はありません。
とあった.たまにVistaでRを使ってみるが,パッケージをイン...
- 午後
-- [[U・リゲス著『''Rの基礎とプログラミング技法''』:http...
--,
* 2008年12月8日 (月) 晴 [#n2f7df44]
//工学部でスペシャル400.トンカツにキャベツ,豚汁,ご飯.
* 2008年12月7日 (日) 晴 [#wac9eeac]
- 07:30 起床
-- 携帯の電源切れたが,時間がなかったので,とりあえず1時...
-- 午前中,サーバーを設定した部屋で停電があった模様で,サ...
--,
* 2008年12月6日 (土) 晴 [#ld9768f2]
- 07:00 起床
-- 午前中,[[IASC2008:http://jasp.ism.ac.jp/~iasc2008/]]...
-- 共同発表者の用事を済ませたが,みなとみらい周辺に馴染み...
* 2008年12月5日 (金) 雨 [#vd3a2d09]
- 07:00 起床
- 12時の飛行機で東京へ
- 14時時半頃,横浜.
-- 地方で暮らすようになるまでは,しばしば横浜周辺には出か...
-- 今頃,Rのチュートリアルが開催されているはずだが,他の...
-- ホテル内で,
『[[Rによるテキストマイニング入門:http://www.amazon.co.jp...
* 2008年12月4日 (木) 晴 [#bc4500ac]
- 06:00 起床
-- 07:30 研究室着,
- 午前
-- 朝いちで,昨日の日本語アンケートデータの分析を続ける....
-- 10:25-12:00 演習
- 午後. K 氏,N 氏らと近くのファミレスに.ハンバーグラン...
//工学部でスペシャル400,鳥南蛮とご飯と味噌汁
-- Elecomのブックスタンド EDH-004 を買ってみた.[[Lattice...
* 2008年12月3日 (水) 晴 [#nb0805ad]
- 06:00 起床
-- 07:30 研究室着
- 午前
-- 今日も一日授業の日だが、合間を縫って、日本語アンケート...
-- 08:30-10:30 演習
- 午後
-- データフレームをランダムに二つに分ける処理って、[[こう...
-- 12:55-16:05 講義
-- 18:00-19:30 演習
-- 面白そうな R パッケージが公開されている.
New Rcpp versions 0.6.0 and 0.6.1
---------------------------------
The Rcpp package provides C++ classes that greatly
facilitate interfacing C
or C++ code in R packages using the .Call() interface
provided by R.
Rcpp provides matching C++ classes for a large number of
basic R data types.
Hence, a package author can keep his data in normal
R data structure
without having to worry about translation or transfer
to C++.
At the same time, the data structures can be accessed as
easily at the C++ level, and used in the normal manner.
The mapping of data types works in both directions.
It is as straightforward to pass data from R to C++,
as it is it return data from C++ to R.
The following two sections list supported data types.
Transfer from R to C++:
Standard R datatypes that are understood in C++ are
o named lists containing numeric (i.e. floating point),
integer, character, logical (i.e. boolean) or Date and
Datetime (i.e. POSIXct at
the microsecond granularity) arguments;
o data frames containing numeric, integer, logical,
character, Date, Datetime or Factor columns;
o named vectors containing numeric or integer values,
o vectors and matrices of different values
o character strings
Transfer from C++ to R:
Standard C++ datatypes can be returned to R
in a named list, the most general data type in R.
Permissible components of the returns list are the
following C++ types:
o double (scalar as well as vectors and vectors of vecto...
o int (scalar as well as vectors and vectors of vectors),
string,
o STL vector types and vector<vector> types of int
and double
o STL vector of strings
o internal Rcpp types RcppDate, RcppDateVector,
RcppDatetime, RcppDatetimeVector,
RcppStringVector, RcppVector of int or double,
RcppMatrix of int or double, RcppFrame
Rcpp was initially written by Dominick Samperi as part of
his contributions to RQuantLib, and later released as a
standalone package (under both the Rcpp and
RcppTemplate names).
Its development had ceased in late 2006.
As of November 2008, I have made new release with
substantially expanded documentation,
simpler yet more comprehensive build structure leading to
easier use of Rcpp from other packages, and
support for Windows, Linux and Mac OS X
(with special thanks to Simon for some extended
cluebat waving).
More information for Rcpp can be found at
o the package homepage at
http://dirk.eddelbuettel.com/code/rcpp.html
o the R-forge repository at
https://r-forge.r-project.org/projects/rcpp/
o the CRAN page at
http://cran.r-project.org/web/packages/Rcpp/index.html
Regards, Dirk
-- すき焼きで獺祭を一杯
* 2008年12月2日 (火) 晴 [#wd9373f6]
- 06:00 起床
-- 07:30 研究室着
- 午前
-- 昨日の午後から,花粉症の症状がひどい.例年は,年明けぐ...
-- [[Lattice:http://www.springer.com/statistics/computati...
> barchart(Class ~ Freq | Sex + Age,
data = as.data.frame(Titanic),
groups = Survived, stack = TRUE, layout = c(4, 1),
auto.key = list(title = "Survied", colums = 2),
scales = list(x = "free") )
- 午後
-- 14:35-18:30 演習
--、
* 2008年12月1日 (月) 晴 [#w2a26a85]
- 06:00 起床
-- 07:30 研究室着,
- 午前
-- [[Lattice:http://www.springer.com/statistics/computati...
-- Atok for Linux を Emacs 上で使って原稿書いているんだが...
- 午後
ひたすら[[Lattice:http://www.springer.com/statistics/comp...
-- 急に花粉症風の症状が出てきた.何で,突然?
-- ''latice'' パッケージの関数は,引数の指定が正しくない...
key.variety <- list(space = "right",
text = list(levels(Oats$Variety)),
points = list(pch = 1:3, col = "black"))
xyplot(yield ~ nitro | Block, Oats, aspect = "xy",
type = "o", groups = Variety,
key = key.variety, lty = 1, pch = 1:3,
col.line = "dargrey", col.symbol = "black")
darkgrey の綴りを間違えて指定すると,グラフは作成されるも...
また引数名と間違えると,その引数に設定したオブジェクトが...
dotplot(variery ~ yield | site, barley, layout = c(1,6),
aspect = c(0.7), grous = year,
auto.key = list(space = "right") )
以下にエラー bwplot.formula(x = variery ~ yield | site,
data = list(yield = c(27, :
オブジェクト "year" は存在しません
groups の綴りを間違えたんだけど...
ページ名: