なんでも掲示板アーカイブ(5)
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
開始行:
COLOR(blue){SIZE(20){RjpWiki自体へのコメントでも、雑談...
COLOR(red){注意}:新規記事用の入力欄は以下の目次の直後に...
----
COLOR(red){過去の記事のアーカイブ} 。アーカイブ中の記事へ...
-[[なんでも掲示板アーカイブ(1)]] (元記事が 2003-07-17 ...
-[[なんでも掲示板アーカイブ(2)]] (元記事が 2003-11-27 ...
-[[なんでも掲示板アーカイブ(3)]] (元記事が 2004-01-01 ...
-[[なんでも掲示板アーカイブ(4)]] (元記事が 2004-07-01 ...
----
#contents
----
回答を期待する記事は原則 COLOR(red){質問コーナー [[Q&A...
~
----
** R ユーザー会まとめ [#dd2671fc]
>[[間瀬茂]] (2005-12-11 (日) 07:12:32)~
~
計数理研究所の中野先生の御世話でRに関する講演会が開かれ...
~
今回(10日)の講演は主に RjpWiki の常連寄稿者によるもの...
~
平成17年度統計数理研究所共同利用研究集会~
~
「データ解析環境Rの整備と利用」~
~
プログラム~
~
開催場所:東京都港区麻布4−6−7 統計数理研究所新館2階...
日 : 2005年12月9(金),10(土)日~
~
12月9日(金) (使用言語:英語)~
Talks by Simon Urbanek (AT&T Research Labs), a member of ...
~
これは都合で聞けませんでしたが、聞いた方の感想では非常に...
~
12月10日(土) (使用言語:日本語)~
10:00-10:30 舟尾 暢男 (武田薬品)R 初心者からみた R 初...
Rtips 作者。Rtips 執筆に至る経緯や、Rtips 精選版出版のニ...
製薬業界での統計解析の話も紹介されました。~
10:40-11:10 中間 栄治 (COM-ONE)私的R利用方法~
R の日本語化の話かと思いましたが、内容は初めて聞く、 nama...
11:20-11:50 岡田 昌史 (筑波大学)RjpWikiのこれまでとこ...
RjpWiki 管理者による苦労話、および今後の RjpWiki 運営・仕...
13:30-14:00 久保 拓弥 (北海道大学)生態学分野での R の...
生態学研究者の生態に関するサーベイと、生態学分野での統計...
14:10-14:40 中澤 港 (群馬大学)医学統計教育におけるRの...
医学部生に対する統計学教育の苦労話。時間数の少なさは確か...
14:50-15:20 中野 純司 (統計数理研究所)統計数理研究所...
自ら統計解析システム開発にも携わる研究者の話。研究所自慢...
15:30-16:00 間瀬 茂 (東京工業大学)R の S4 クラスとメ...
気になるけど今一意味不明な S4 (S 言語第四版)クラスとメ...
16:10-16:40 谷村 晋 (長崎大学)Thematic Cartography wit...
疫学研究者による R を用いた主題地図の表現法いくつかの紹介。
-皆さんお疲れ様でした。非常に面白い内容ばっかりでした。特...
-おやまあ。さすがに沖縄から御参加とは思いませんでした。次...
-あぁ、okinawaさんいらしたのに何故声をかけてくださいませ...
-JGRの発表などのまとめがあればいいのですが。 -- [[金曜日...
-谷村先生ごめんなさい.先生があまりにアクティブに質問され...
#comment
**ちょっと面白いかも [#y3d3e8b8]
>[[QDU]] (2005-12-03 (土) 22:32:30)~
~
[[こんな記事みつけました:http://faculty.washington.edu/mt...
//
#comment
**統計解析システム Ox [#g619e958]
>[[間瀬茂]] (2005-12-03 (土) 06:24:52)~
~
京都でひらかれている統計の集会に参加していて、経済関係の...
[[Ox公式サイトはここ:http://www.doornik.com/products.html...
私は R が大好きですが、ただし R だけが唯一無二のソフトで...
//
#comment
**R ユーザー会御案内 [#r2fd9946]
>[[間瀬茂]] (2005-11-21 (月) 16:01:50)~
~
統計数理研究所の中野先生の御世話でRに関する講演会が下記の...
~
私も S 言語第4版のクラスとメソッドについて、自分の勉強が...
~
以下中野先生からのメイルを転載:~
~
みなさま~
~
フリーの統計解析システムRに関する下記の共同利用研究会を開...
は自由で,一日だけの参加も歓迎します。多くの方のご参加を...
~
~
平成17年度統計数理研究所共同利用研究集会~
~
「データ解析環境Rの整備と利用」~
~
プログラム~
~
開催場所:東京都港区麻布4−6−7 統計数理研究所新館2階...
日 : 2005年12月9(金),10(土)日~
~
12月9日(金) (使用言語:英語)~
Talks by Simon Urbanek (AT&T Research Labs),
a member of the R core development team
13:30-14:30 Talk 1:
iPlots - Interactive Graphics for Data Analysis in R
14:45-15:45 Talk 2:
JGR - Java GUI for R and Java/R interfaces
16:00-17:00
Parallel computing in R - Top Trees models space expl...
(それぞれの talk の abstract が下のほうにあります)
12月10日(土) (使用言語:日本語)~
10:00-10:30 舟尾 暢男 (武田薬品)
R 初心者からみた R 初心者の現況
10:40-11:10 中間 栄治 (COM-ONE)
私的R利用方法
11:20-11:50 岡田 昌史 (筑波大学)
RjpWikiのこれまでとこれから
12:00-13:30 昼食
13:30-14:00 久保 拓弥 (北海道大学)
生態学分野での R の使われかた紹介
14:10-14:40 中澤 港 (群馬大学)
医学統計教育におけるRの利用
14:50-15:20 中野 純司 (統計数理研究所)
統計数理研究所でのR
15:30-16:00 間瀬 茂 (東京工業大学)
R の S4 クラスとメソッド入門
16:10-16:40 谷村 晋 (長崎大学)
Thematic Cartography with R
16:50-17:20 総合討論
18:00- 懇親会(広尾近辺)
~
~
----- Abstracts of Simon's talks -----------------------...
Abstract of talk 1:
R is a very flexible and powerful software for statisti...
It extensibility is leveraged by hundreds of packages of...
variety of tools in many areas in applied sciences. Howe...
one aspect that covered only partially and that is graph...
produces high-quality static graphics for publication pu...
it lacks interactive graphics for explorative data analy...
iPlots attempt to remedy this shortcoming by providing ...
independent interactive graphics for R. The iPlots packa...
wide range of fully interactive graphics including scatt...
histograms, barchars, mosaic plots, parallel coordinates...
many others. Moreover iPlots are based on a very flexibl...
extensible engine for creation of arbitrary interactive ...
In this talk we will demonstrate the use of iPlots as a...
exploratory data analysis and discuss the basic concepts...
We will also provide insights into the iBase framework f...
new interactive graphics. All this will demonstrated on ...
real-word examples.
Abstract of talk 2:
R can be made accessible to a broader range of users by...
graphical user interface (GUI) to provide additional sup...
user. JGR - Java GUI for R is a cross-platoform GUI for ...
flattens the learning curve, is valuable for teaching st...
also includes features that will be welcome even by powe...
In this talk we will demonstrate various features of JG...
intelligent console, code editor, object browser, help s...
package installer. In addition we will discuss integrati...
(interactive graphics for R) and iWidgets (custom user i...
elements in R) in JGR.
We will also look behind the scenes and consider severa...
interfaces, their differences and applications. Furtherm...
show how to integrate own Java code into R and use R fun...
within Java.
Abstract of talk 3:
For historical reasons, R is a single-threaded applicat...
in this talk we will show how can R be successfully
leveraged for parallel computing. Most common approaches...
running several R processes using various kinds of inter...
communications.
In this talk we will discuss several different methods ...
computing in R. We will also show step by stop how paral...
can be made easy using the snow package for R. In additi...
present in detail a practical example of model space exp...
tree models that we performed using massive parallel com...
//
-ユーザー会は事前の参加申し込みが必要なのでしょうか? -- ...
-不用と思いますが、中野先生から参加人数の把握のために事前...
-ぜひ参加したいです。 -- [[okinawa]] &new{2005-11-22 (火)...
-okinawa さんも成果物を来年お時間があれば発表されたらどう...
-そうですね。他の先生方と分野が被らなければいいのですが・...
-懇親会はとくに事前に予約するのではなく、その場で有志を募...
#comment
**WinXPとLinuxの速度比較 [#f74a4e8b]
>[[msasaki→佐々木]] (2005-10-25 (火) 23:53:42)~
~
WinXPとLinux(FC4)を同一マシン(Athlon64,3200つまり2GHz,mem...
//
-↑こうした数値計算は基本的に C/FORTRAN サブルーティンに丸...
-おお!!ということは,RをLinuxでお使いの先生方は。特定の計...
-WinXPとFedoraを比較といっても、双方の常駐サービス・デー...
-WinXP(SP2)でパッチはすべて+ソフト少し vs FC4のワークステ...
-libgotoやATLASは入れてますか? 行列演算に劇的な違いが出ま...
-例えば [[ある r-help 記事:http://finzi.psych.upenn.edu/R...
-はい、初心者の佐々木としては、TACCでユーザー登録したので...
-まだLinux版しかTACCには登録されていないのでは。Athlon 64...
#comment
**生物統計ハンドブック [#le01be7e]
>[[濱マイク]] (2005-10-25 (火) 21:12:09)~
~
S-PLUS本なのですが,「実用S-PLUS生物統計ハンドブック」が...
//
#comment
**R の入門的講義 [#vf762172]
>[[間瀬]] (2005-10-18 (火) 15:24:21)~
~
統計数理研究所の公開講座(有料)で R の(入門的)講義が開...
[[http://www.ism.ac.jp/lectures/1711-1.html:http://www.is...
//
-その他にも「R を使った...」 という講義が幾つか。 -- &ne...
#comment
//**さっぱり訳が分かりません・・・・
**確率分布同士の演算の信頼区間 [#t85820e6]
>[[takahashi]] (2005-10-11 (火) 20:54:48)~
~
Rとは直接関係ないのでここに書いてみます(説明はRでしてみま...
-お願いですから、(初級)Q&A コーナーに移動してください...
-だそうなので,移しておきましたよ。あっちでやってね。統計...
//#comment
**Windows R-2.1.1 etc folder の rgb.txt [#v22bce9e]
>[[mitsu5]] (2005-10-05 (水) 12:57:41)~
~
version 2.1,1 を Windows にインストールしてみてしばらくま...
R window の background color を前に使用している色に戻せ...
しばらく試行錯誤をしていて、etc folder に rgb.txt file が...
どの version からこうなったのでしょうか。私のような人のた...
//
#comment
**R ユーザー会? [#l9ea8b95]
>[[間瀬]] (2005-09-21 (水) 09:57:24)~
~
統計数理研究所の中野先生が中心となり R をテーマにした研究...
~
RjpWiki の常連投稿メンバーと ROM メンバー多数の参加を期待...
//
-WOW!関東圏でしたらぜひ参加したいですね。 -- [[okinawa]] ...
-浅野家下屋敷付近なれば,いざ主君Rの仇を打つべく...(あのへ...
-へー、長年通いなれた場所でしたが知らなかった。研究所所員...
~
日本庭園と広場のある「有栖川宮記念公園」(研究所の真ん前で...
~ ...
区境にある日比谷線広尾駅から、港区側にある有栖川宮記念公...
公園名でわかるように、昭和9年に高松宮家から都に寄贈され...
の御用地だった。さらには盛岡藩南部家の下屋敷、忠臣蔵で有...
と公園の歴史は江戸時代にまで遡る。~
-あの坂は南部坂(忠臣蔵の南部坂は赤坂の方)ですけど、有栖...
-表題の集会ですがとりあえず12月10日(土)に決まったと...
#comment
**Rの普及 [#nba85a4d]
>[[匿名]] (2005-09-21 (水) 02:21:01)~
~
結城先生がRを紹介していますね~
http://www.hyuki.com/d/200509.html#i20050921~
~
Rの裾野がちょっと広がった気がします~
//
#comment
** Knoppix 4.0 [#iaad8329]
>[[間瀬]] (2005-09-17 (土) 13:11:37)~
~
Knoppix 4.0 が公開されています。Unix user 誌の10月号付...
//
-KNOPPIXは使ってないのでなんですが,ちかごろのglibcの風習...
-いつもながら、なかまさんの博識にはおどろかされます。せっ...
-あっ,いえ,一知半解な混乱を招いたかも...IPAフォント(ライ...
-原因は単なるインストールスクリプトのバグのようです。すで...
#comment
**マハラノビスの汎距離 [#m17ff6f9]
>[[g]] (2005-09-16 (金) 17:03:36)~
~
Rの操作そのものについてのことではないので,ここに投稿しま...
//
-R に固有の問題ではないですが。。さて。。そもそも,特異行...
-ご回答ありがとうございました.そうですね.データを再検討...
#comment
**記事に協力していただける方を探しています [#cd360512]
>[[石塚朝生]] (2005-09-09 (金) 16:14:58)~
~
弊社のホームページでRを使って、比較言語学の二項検定をやっ...
このプロジェクトは元産業能率大の安本美典先生が考案された...
この記事は現在開発中のWikiに掲載される予定です。~
詳細にご興味ある方は、asao.ishizuka@gmail.comまでご連絡く...
//
#comment
**Statistics with R [#s1fede35]
>[[間瀬]] (2005-09-03 (土) 10:22:12)~
~
最初 [[RjpWiki]] そして r-help で紹介されたとき、その華麗...
公開されました。[[Statistics with R:http://zoonek2.free.f...
//
-これはありがたいです!「Customizing graphics」の章も勿論...
-pdf ダウンロードしましたが,1085ページもあるんですね。と...
->整数は浮動小数点表示でも正確に表されます~
これは本当? -- &new{2005-09-05 (月) 18:16:17};
-IEEEの浮動小数点表示は,例えば 121 は .1111001 × 2^7 (7...
#comment
**c 関数の,こんな使い方 [#t97ba7ff]
>[[青木繁伸]] (2005-08-31 (水) 23:23:34)~
~
関数から数個の値をベクトルで返すとき,それぞれの要素の名...
a <- 1.23; b <- sqrt(a) # 等を定義するとして
result <- c(a, b)
names(result) <- c("a", "sqrt(a)")
return(result)
等としていたが,~
return(c("a"=a, "sqrt(a)"=b)
でよい。~
しかし,ときどき(?)変なことが生じる。"foo"=bar 等とし...
//
-data.frame()のなかで同じ名前の奴が複数あると.1 .2とsuffi...
-ソウでもないようなので,首をひねっているところです。
Gen.Wil <- function(group, event, time)
{
途中略
+ Z <- W/sqrt(Var.W)
+ p <- pnorm(abs(Z), lower=F)*2
+ c("W"=W, "Var(W)"=Var.W, "Z value"=Z, "P value"=p)
+ }
> Gen.Wil(group, event, time)
W Var(W).1 Z value.1 P value.1
6.300000e+01 1.320313e+03 1.733813e+00 8.295134e-02
とまあ,こんな具合なのです。 -- [[青木繁伸]] &new{2005-09...
-上のコードだと再現できない(変数に適当な数値を入れてみた...
-そうなんですよ。普通はうまくいくのですが。[[http://aoki2...
-再現しました@winxp.R2.1.1.何故でしょうかね?(バグでし...
-わかりました.多少ややこしいですが,table()が生成したラ...
- nb <- (n <- length(group))-(na <- table(group)[1]) の時...
-同じ頃書き込んだようで。。。ソウですね。これは,まあ,仕...
-おかげさまで,すっきりしました。Q & A みたいになってしま...
-ラベルtipsとして[[ラベルあれこれ]]作っておきました.いろ...
#comment
**Rは統計解析をする人々の支持を受けているのか [#jc4a1b92]
>[[谷村]] (2005-08-24 (水) 12:04:18)~
~
連日の書き込みを申し訳ありません。Rに関連する解説記事を書...
//
-[[bioconductorのHP:http://www.bioconductor.org/whatisit]...
Use of R. R and the R package system are the main vehicl...
releasing software. R (www.r-project.org) is a widely us...
and environment for statistical computing and graphics -...
provides a high-level programming environment together w...
packaging and testing paradigm. It has a number of mecha...
interact directly with software that has been written in...
languages (see Omega Project). These tools allow users t...
based on other work. Viewed in that context, adopting R ...
exclude other development environments and paradigms. R ...
provide a glue or connectivity linking what might otherw...
products. Finally, R is under very active development by...
researchers with a strong commitment to good documentati...
お役に立ちますでしょうか? -- [[Akira]] &new{2005-08-24 (...
-大変りがとうございました。感謝します。> Akiraさん。特に"...
-お役に立てて光栄です。今分かる範囲ですとBiotechniques. 2...
著作権の関係もあると思いますので原文のリンクはやめておき...
ただ、論文のtitle「Open Source Software for the Analysis ...
-少なくとも日本に限れば「広く使われている」というのは恐ら...
-皆さん、ありがとうございます。Dudoitの論文をさらっと拝見...
#comment
**THE STATISTICAL LAB [#xb79d727]
>[[g]] (2005-08-09 (火) 20:28:29)~
~
"The Statistical Lab"なるRベースの統計教育ツールがあるよ...
//
-最後のかっこがURLに入っていたので修正しておきます -- &n...
-R1.4.1のバイナリは入手可能でしょうか? -- [[通りすがり...
-ソースならCRANに0.49からありますが、バイナリは現在CRANに...
-The Statistical LabのサイトにR1.4.1もおいてあります.た...
-ver3.0が出てました。R2.0.1に対応してるようです。インスト...
#comment
**CRAN のパッケージ数 [#jfcccbff]
>[[MKR]] (2005-08-07 (日) 00:29:03)~
~
暇なので CRAN にあるパッケージの数を数えてみました。プロ...
//
#comment
**実行しないで,考えましょう! [#y90343e4]
>[[間瀬]] (2005-08-04 (木) 21:34:11)~
~
r-help を見ていてしばらく首をかしげてしまった例(解答を書...
~
> sum = 0; for(i in 5:1){ sum[i] = i }; sum
[1] 1 2 3 4 5
> sum = 0; for(i in 5:0){ sum[i] = i }; sum
[1] 1 2 3 4 5
> sum = 0; for(i in 5:-1){ sum[i] = i }; sum
[1] 1 -1 -1 -1 -1
> sum = 0; for(i in 5:-2){ sum[i] = i }; sum
[1] -2 -1 -2 -2 -2
> sum = 0; for(i in 5:-5){ sum[i] = i }; sum
[1] -5 -5 -5 -5 -4
> sum = 0; for(i in 5:-6){ sum[i] = i }; sum
エラー:添え字が許される範囲外です
//
-これは、Rにおけるベクトル操作の基本中の基本ですね。しか...
#comment
**Rの早見表(リファレンスカード) [#b06e2469]
>[[谷村]] (2005-08-04 (木) 18:15:58)~
~
[[こんなもの:http://www.rpad.org/Rpad/R-refcard.pdf]]を見...
//
#comment
**Rの中からWeb検索 [#p54520be]
>[[谷村]] (2005-08-04 (木) 17:53:46)~
~
R 2.1.0から[[http://search.r-project.org:http://search.r-...
追加されたのですが、あまり話題に上りませんね。私個人的に...
便利で大助かりなコマンドなのですが。。。ひょっとしてWinじ...
ンド?~
//
-こんな関数があったのですか!素晴らしいっ!!Windows でも...
#comment
**「R-Tips」のPDF版とその原稿 (05/08/01 修正版) [#q4461919]
>[[舟尾]] (2005-08-03 (水) 23:47:22)~
~
竹澤さん(中央農業総合研究センター)のウェブスペースに置...
~
[[http://cse.naro.affrc.go.jp/takezawa/r-tips.pdf(3Mb・2...
~
-今までに R-Tips について戴いたご意見・間違いのご報告を反...
-「印刷出来ない!」という不具合を解消致しました(多分…で...
-R 2.1.0(とR 2.1.1)に対応しました.
~
よろしかったら御覧下さい.もし,ご意見・間違いのご報告を...
~
//
#comment
----
** 「なんでも」といってもね [#od5a70cc]
>[[間瀬茂]] (2005-07-29 (金) 18:21:16)~
~
一件(真面目だけど)頓珍漢な投稿があったので、消去しました...
maseshigeru@gmail.com
でお願いします。(一応、RjpWiki の読者だけにとどめておい...
//
-SPAMブロックの精度を信じつつも,全角文字で書いてしまうあ...
-↑一瞬の精神的葛藤を見抜かれましたね。スパムをブロックす...
-[[The free gmail inviter:http://www.bytetest.com/]]とい...
-このスレッドは「なんでも」の範囲なんですか。 -- &new{20...
-R に限りませんが、ウェッブで情報を公開していると、メール...
-詳しくないのにネタふりで申し訳ないんですが、最近のスパム...
#comment
**Rに関する演題を出しませんか [#vac81d25]
>[[谷村]] (2005-07-26 (火) 16:43:50)~
~
[[第22回日本コンピュータサイエンス学会学術集会:http://inf...
//
-「地図表現」ですか、こちらの学会では「GIS」とか「GeoComp...
-私以外にもいままでGISに言及する演題もあったように思いま...
-コンピュータサイエンス学会は実装寄りの話もわりと好まれる...
-おぉ、ありがたいです。是非是非。64ビット版を使わないと計...
-演題登録の締め切りは''&color(red){明日(9月30日)};''で...
#comment
**useR! 2006 お知らせ (r-help より) [#ad4bee28]
>[[間瀬茂]] (2005-07-23 (土) 06:10:45)~
~
We are happy to announce that the second R user conference~
~
useR! 2006
~
is scheduled for June 15-17 2006 and will take place at t...
University of Economics and Business Administration.~
~
This second world-meeting of the R user community will fo...
- R as the `lingua franca' of data analysis and statisti...
- providing a platform for R users to discuss and exchan...
be used to do statistical computations, data analysis,...
exciting applications in various fields,
- giving an overview of the new features of the rapidly ...
project.
~
As for the predecessor conference, the program will consi...
keynote lectures and user-contributed sessions (abstract ...
available online starting from October 2005). Prior to th...
will be tutorials on R (proposals for tutorials should be...
2005-09-30).~
~
~
KEYNOTE LECTURES~
~
R becomes the standard computing engine in more and more ...
in academia and the business world. How R is used in diff...
presented in keynote lectures addressing hot topics inclu...
- Marketing
- Teaching
- R on Different Platforms
- Graphics
- History of S and R
~
Speakers will include John M. Chambers, John Fox, Stefan ...
Ligges, Paul Murrell, Peter Rossi, Simon Urbanek and Sanf...
~
~
USER-CONTRIBUTED SESSIONS~
~
The sessions will be a platform to bring together R users...
package maintainers and developers in the S spirit that `...
People from different fields will show us how they solve ...
with R in fascinating applications. The sessions are orga...
members of the program committee, including Claudio Agost...
Bivand, Peter Buehlmann, Ram醇pn D醇^az-Uriarte, Sandrine...
Eddelbuettel, Frank Harrell, Simon Jackman, Roger Koenker...
Martin, Balasubramanian Narasimhan, Peter Rossi, Anthony ...
Tutz and Antony Unwin and will cover topics such as~
- Applied Statistics & Biostatistics
- Bayesian Statistics
- Bioinformatics
- Econometrics & Finance
- Machine Learning
- Marketing
- Robust Statistics
- Spatial Statistics
- Statistics in the Social and Political Sciences
- Teaching
- Visualization & Graphics
- and many more.
~
~
PRE-CONFERENCE TUTORIALS~
~
Before the start of the official program, half-day tutori...
on Wednesday, June 14th, including a lecture on R graphic...
We invite R users to submit proposals for three hour tuto...
topics on R. The proposals should give a brief descriptio...
including goals, detailed outline, justification why the ...
important, background knowledge required and potential at...
proposals should be sent before 2005-09-30 to useR-2006@R...
~
~
~
After the official presentations, Vienna's famous wine an...
and restaurants proofed to be a very stimulating environm...
discussions at previous meetings of the R community like ...
2004'.~
~
We invite all R users to submit abstracts on topics prese...
exciting applications of R. A web page offering more info...
conference, abstract submission, registration and Vienna ...
~
http://www.R-project.org/useR-2006/
~
~
IMPORTANT DATES~
~
- registration: starting October 2005
- online abstract submission: starting October 2005
- submission deadline of tutorial proposals: 2005-09-30
- early registration deadline: 2006-01-31
- submission deadline of abstracts: 2006-02-28
- registration deadline: 2006-05-31
~
~
We hope to meet you in Vienna!~
~
~
The organizing committee:~
~
Torsten Hothorn, Achim Zeileis, David Meyer, Bettina Grue...
Kurt Hornik and Friedrich Leisch~
//
#comment
**ちょっとした正規表現関数 [#q268e516]
>[[takahashi]] (2005-07-15 (金) 04:30:03)~
~
sregex<-function(s,ex,f=NULL,extended=T,...){
ret<-list(m=-1,s=-1)
gm<-regexpr(ex,s,extended=extended,...)
if(gm==-1){return(ret)}
ret$m=substring(s,gm,gm+attr(gm,"match.length")-1)
ret$p=ifelse(gm==1,"",substring(s,1,gm-1))
ret$n=ifelse((gm+attr(gm,"match.length")-1)==nchar(s),...
substring(s,gm+attr(gm,"match.length"),nchar(s)))
ps<-0;exs<-strsplit(ex,"")[[1]]
for(i in 1:(length(exs)-1)){if(ifelse(extended,
exs[i]!="??",exs[i]=="??")
&& exs[i+1]=="("){ps<-ps+1}}
if(ps!=0){ret$s=as.character(lapply(1:ps,function(i){
sub(ex,sprintf("??%d",i),ret$m,extended=extended...
return(ret)
}
###############
> sregex("xxabcdefgyy","a((bc)(d(ef))g)")
$m
[1] "abcdefg"
$s
[1] "bcdefg" "bc" "def" "ef"
$p
[1] "xx"
$n
[1] "yy"
sub-matchを扱うマッチング関数ってありますか?
sub,gsub以外に見当たらないので作ってみましたが...
mはマッチ全体,sはsub-matchの文字ベクトル,pはマッチ以前...
まあ,普通の正規表現ライブラリなんかによくあるやつです.
//
#comment
**実行しないで予想しましょうシリーズ(3) [#r2dab793]
>[[青木繁伸]] (2005-07-11 (月) 18:41:29)~
~
as.integer(factor(c("aa","AA","bb","BB")))
教訓:知っているつもりの関数こそ,help をよく読むべし。~
//
-ASCIIコード順じゃなくて、sort()なんですね... -- &new{20...
#comment
**統計関連学会連合大会のチュートリアル [#affd503a]
>[[間瀬]] (2005-06-29 (水) 22:09:53)~
~
9月の統計関連学会連合大会で以下の~
[[チュートリアル:http://www.jfssa.jp/taikai/tutorial.htm#...
~
日時: 2005年9月12日(月) 13:30〜16:30
* 「Rによる経済・経営データの分析」
o オーガナイザ: 西郷 浩 (早稲田大学)
o 講演者: 山本義郎 (東海大),安川武彦 (金融...
//
#comment
**新しい R 本 [#m8f8a55e]
>[[間瀬茂]] (2005-06-19 (日) 20:52:31)~
~
つい最近ある方から新しい R 本の出版計画(秋頃?)を聞きまし...
//
-Cの落ちこぼれと言えば代表的なものはポインタでしょうか,さ...
-不正確でした。その本は R 本というよりは、S 言語本らしい(...
#comment
**「フリーソフトウェアRによる統計的品質管理入門」 [#q7e80...
>[[舟尾]] (2005-06-09 (木) 21:34:39)~
~
R commander の日本語化といえば関西大学の荒木先生ですが、...
~
[[「フリーソフトウェアRによる統計的品質管理入門」:http://...
~
タイトルは統計的品質管理入門となっておりますが、R のイン...
//
#comment
**google で R コードを見つける tips [#zd2ea98e]
>[[MKR]] (2005-05-26 (木) 17:37:26)~
~
R 関連の URL をインターネット検索するのが困難なことはよく...
filetype:R optim
filetype:R boxplot
等を使うことだそうです。確かにたくさん見つかります。お試...
//
#comment
**R パッケージの作者による解説論文 [#sf580f86]
>[[MKR]] (2005-05-26 (木) 17:20:54)~
~
R パッケージの作者による解説論文多数が [[J. Statistical S...
Firth
Bradley-Terry Models in R
Volume 12, Issue 01
Sturtz, Ligges, and Gelman
R2WinBUGS: A Package for Running WinBUGS from R
Volume 12, Issue 03
Mineo and Ruggieri
A Software Tool for the Exponential Power Distribution: ...
Volume 12, Issue 04
Ritz and Streibig
Bioassay Analysis Using R
Volume 12, Issue 05
Baddeley and Turner
spatstat: An R Package for Analyzing Spatial Point Patte...
Volume 12, Issue 06
Johnstone and Silverman
EbayesThresh: R Programs for Empirical Bayes Thresholding
Volume 12, Issue 08
Nason
pinktoe: Semi-automatic Traversal of Trees
Volume 14, Issue 01
Imai and Van Dyk
MNP: R Package for Fitting the Multinomial Probit Model
Volume 14, Issue 03
Buttrey
Calling the lp_solve Linear Program Software from R, S-P...
Volume 14, Issue 04
Zeileis and Grothendieck
zoo: S3 Infrastructure for Regular and Irregular Time Se...
Volume 14, Issue 06
Terpstra and McKean
Rank-Based Analyses of Linear Models using R
Volume 14, Issue 07
//
#comment
**実行しないで予想しましょうシリーズ(2) [#pb8ee497]
>[[青木繁伸]] (2005-05-25 (水) 15:00:16)~
~
勝手にシリーズ化したりして~
~
以下のプログラム実行するとどうなるでしょう
n <- length(1:1000000)
n*n
n^2
n*(n+1)
#class(n)
n <- 1000000
n*n
#class(n)
ヒント:注釈行を活かせば違いが分かる~
あるライブラリ(fBasic)のプログラムをハッキングしていて...
//
-lengthの知らなくても良い話
# これはベクトルを生成出来ない
a<-1:2^31
# ベクトルは生成出来るがlengthはNAになる(添字の扱いの問...
a<-1:(2^31-1)
length(a)
# 長さはちゃんと帰ってくる
a<-1:(2^31-2)
length(a)
バグなのか仕様なのか...謎は多い.-- [[なかま]] &new{2005-0...
-Macintosh版 R2.1.0a だと,a<-1:(2^31-1) も a<-1:(2^31-2)...
-すみません、64bit-Rじゃないと出来ません.(^_^; 将来はint...
#comment
**R グラフィックス ギャラリ [#n333791a]
>[[間瀬]] (2005-05-20 (金) 06:18:50)~
~
[[R グラフィックス ギャラリ:http://addictedtor.free.fr/gr...
//
#comment
**掲示板のアーカイブをダウンロードできますか? [#gec7459b]
>[[ハマちゃん]] (2005-05-17 (火) 12:51:06)~
~
このHPでいつも勉強させていただいてありがとうございます。...
//
-「Q&Aの内容は結構消されたりしますよね」 =>普通そんなこ...
-失礼。カット&ペーストはしないで下さい。コピー&ペースト...
-[[こんなの:http://web.archive.org/web/*/http://www.okada...
-おお、なつかしい>Web Archive. 質問の件は、もしMacでTiger...
#comment
**R 壁紙 [#a0922967]
>[[間瀬]] (2005-05-11 (水) 17:25:51)~
~
[[R 壁紙:ftp://ftp.ariadna.pl/pub/R-walls/]] を作った人が...
//
-r-project-2-1280.jpg あたりを壁紙にしてみます♪ -- [[舟尾...
#comment
**CRAN Task Views [#if9d674e]
>[[間瀬]] (2005-05-09 (月) 16:38:54)~
~
最新 R News に CRAN のパッケージ(現在 500 あまりだそう...
//
-さらにパッケージ ctv というのを使うと R からこれが覗ける...
#comment
**「R for Mac OS X」 from Apple.COM [#q391d64f]
>[[舟尾]] (2005-05-03 (火) 11:17:48)~
~
最近 Mac デビューした舟尾です.「R for Mac OS X」というタ...
http://www.apple.com/downloads/macosx/math_science/rforma...
//
-おお^^驚きました。Tigerはまだ未入手ですが、動作してい...
-Tiger は,29日14時頃に届き,即,インストールしました。R ...
-Tiger で行列計算をさせると,かなり速そうですねぇ〜!逆に...
-全く関係のない話しですが面白かったので披露しておきます。...
-いや〜,サラリーマンな私にとっては他人事ではないお話です...
-B・S・D! B・S・D! -- [[aki]] &new{2005-05-04 (水) 03:17:...
-うちは,(恥ずかしいので内緒の話ですが,)事務部門(いろ...
MSWでしか処理できないファイルというのも,少なくなりました...
-三刀流になるために,AのとなりはCTRLに統一しました. Noteは...
-アプリの対応待ちでまだTigerにできないのでお教えてほしい...
-自分で64bitコンパイルするしか今のところないかと. -- [[な...
-お返事,どうもです.Tigerにしたらがんばってみます. -- [...
-gcc-4.0によるG5最適化ビルドとか64bitビルドとかについては...
-Panther (10.3.9) 上の R-GUI ですが、環境設定の変更が反映...
-あと、起動後にフォントを拡大しようとすると、1回めは必ず...
-フォントは確かに最初は極小になりますね。ワークスペースブ...
-ワークスペースを消去してみたら件のエラーは出なくなりまし...
#comment
**今ならもれなく R3.1.0 が?? [#f5a345d6]
>[[青木繁伸]] (2005-04-29 (金) 12:25:40)~
~
http://cran.md.tsukuba.ac.jp/bin/macosx/R-2.1.0.dmg から...
実際にダウンロードされたファイル名も R-3.1.0.dmg なのです...
//
-いつの間にか,R 2.1.0 に戻っていました(^_^) -- [[青木繁...
-プリントスクリーンをして記念に取っておこうと思ったのです...
#comment
**VineLinux用のR-2.1.0-0vl1.i386.rpmができました [#vcf04f...
>[[谷村]] (2005-04-27 (水) 15:17:09)~
~
R-2.1.0-0vl1.i386.rpm~
R-devel-2.1.0-0vl1.i386.rpm~
libRmath-2.1.0-0vl1.i386.rpm~
libRmath-devel-2.1.0-0vl1.i386.rpm~
をputしました。しばらくしたら、CRANに反映されるでしょう。~
なかまさんの「make checkはLANG=Cにしろ」というアドバイス...
ちなみに、~
$ rpm -qpl R-devel-2.1.0-0vl1.i386.rpm
/usr/share/doc/R-devel-2.1.0
/usr/share/doc/R-devel-2.1.0/R-exts.pdf
$ rpm -qpl libRmath-2.1.0-0vl1.i386.rpm
/usr/lib/libRmath.so
$ rpm -qpl libRmath-devel-2.1.0-0vl1.i386.rpm
/usr/include/Rmath.h
/usr/lib/libRmath.a
となっています。Descriptionの日本語訳がおかしいときにはど...
国際化もされたことだし、そろそろVinePlusへ本家版をそのま...
# apt-get R
で、最新版のRをインストールできるようになります。
//
-問題は無いと思いますが,安定系で使いたい人は2.1.1まで入れ...
#comment
**gcc-4.0.0 [#id8844a3]
>[[なかま]] (2005-04-23 (土) 15:24:49)~
~
えー,gcc-4.0.0を入れてRのコンパイルを行ってみました.~
実行速度が非常に早くなりました.boot-Exなんかで20%程.~
先頃まで人間オプィマイズしていたrnorm等は60%も高速になり...
手元の環境はアレゲなので,なにか影響があるとなんですので,...
いただければ.(^_^;~
//
-gcc 4 * libgoto * Tierney byte compile -> どこまで早くな...
-書斎*ガレージ*サンルーム => どんな家に住もうか夢は膨らみ...
#comment
//インストローラーとかインストローラーとかなんじゃらほい
**英語版baseのインストーラーの不具合について [#hd0e3096]
>[[Y]] (2005-04-22 (金) 15:46:16)~
~
日本のサーバーからbaseのインストーラーをダウンロードして...
~
どうすればよいのでしょう。~
~
私自身、パソコンの初心者ではないのですが、この事態には困...
//
- インストールが出来ない? インストール後の実行がおかしい...
後者なら cmd.exe を実行し、
set LC_ALL=C
C:?Program Files?R?rw2010?bin?RGui.exe
-- [[なかま]] &new{2005-04-22 (金) 16:34:03};
-あ、インストールの経過表示でRconsoleで止まると言う意味で...
-そうです。インストール経過表示でRconsoleあたりで止まるの...
-念のため, R-2.1.0では日本語版と言うのは存在しません. Win...
-解決いたしました。「ディスクが腐っている」のではなくて、...
インストローラーってなんじゃらほい
#comment
**Postscript出力における日本語の文字化けと対処 [#j82e49ca]
>[[谷村]] (2005-04-22 (金) 11:38:58)~
~
皆様のご尽力のより、R 2.1.0から、本家版でも日本語メッセー...
~
> あ <- runif(10)
> い <- runif(10)
> plot(あ,い,main="日本語タイトル")
~
結果は、~
~
&ref(Screenshot-R2.1.0-x.png); ~
&ref(Screenshot-R2.1.0-gv1.png); ~
~
上側のように正しく日本語が表示されています。しかし、これ...
保存すると、下側のgvでの表示のように文字化けします。~
~
*** 対処方法 [#sfecbc6b]
この文字化けの原因は、日本語の字句自体は正しく処理されて...
日本語で記述されている箇所のフォントを日本語Postscriptフ...
~
#ref(Screenshot-R2.1.0-gv2.png,center)~
~
このように日本語が正しく表示されます。~
具体的な方法は、例えば上記の例で説明すると、epsファイルの...
0.00 0.00 503.60 503.29 cl
/ps 14 def /Font2 findfont 14 s
0 0 0 rgb
266.20 468.75 (日本語タイトル) .5 0 0 t
/ps 12 def /Font1 findfont 12 s
266.20 18.72 (あ) .5 0 0 t
12.96 258.85 (い) .5 0 90 t
とあるのを
0.00 0.00 503.60 503.29 cl
/ps 14 def /Ryumin-Light-EUC-H findfont 14 s
0 0 0 rgb
266.20 468.75 (日本語タイトル) .5 0 0 t
/ps 12 def /Ryumin-Light-EUC-H findfont 12 s
266.20 18.72 (あ) .5 0 0 t
12.96 258.85 (い) .5 0 90 t
とします。Ryumin-Light-EUC-Hは明朝体の日本語標準Postscrip...
*** おまけ [#n125df7d]
上記例をさらにこんな風に編集すると~
~
0.00 0.00 503.60 503.29 cl~
/ps 14 def /&color(red){GothicBBB-Medium-EUC-H}; findfont...
0 0 0 rgb~
266.20 468.75 (日本語タイトル) .5 0 0 t~
/ps 12 def /Ryumin-Light-EUC-H findfont 12 s~
266.20 18.72 (&color(red){横書きテスト};) .5 0 0 t~
&color(red){243 300 (アメリカ) .5 0 0 t};~
&color(red){315 225 (日本国) .5 0 0 t};~
&color(red){/ps 12 def /Ryumin-Light-EUC-V findfont 12 s};~
12.96 &color(red){290}; (&color(red){縦書きテスト};) .5 0...
#ref(Screenshot-R2.1.0-gv3.png,center)~
こんな風に自由自在。Ryumin-Light-EUC-Vは縦書きフォント。...
gvを使うと、マウスポインタの位置座標を表示してくれるので...
//
-長くなりすぎました。なんでも掲示板じゃなくて、独立したペ...
#comment
**CRAN のサイズ [#zb56835f]
>[[MKR]] (2005-04-22 (金) 06:53:02)~
~
単なる好奇心ですが、r-help に CRAN のコンテンツの総サイズ...
~
$ rsync -nrtlvz cran.r-project.org::CRAN | grep "total"
total size is 5114784835 speedup is 13170.59
//
-あれれ、cran.okada.jp.org は 9601056 kB, cran.md.tsukuba...
#comment
**2×2分割表のイエーツの補正 [#j1895ac4]
>[[青木繁伸]] (2005-04-20 (水) 17:07:43)
9 10
9 11
のときに,R でイェーツの補正をしてカイ二乗検定すると,間...
> chisq.test(matrix(c(9,10,9,11),2,2))
Pearson's Chi-squared test with Yates' continuity corre...
data: matrix(c(9, 10, 9, 11), 2, 2)
X-squared = 0.0299, df = 1, p-value = 0.8626
正しい答えは
X-squared = 0, df = 1, p-value = 1
と思われる。
# if (correct && nrow(x) == 2 && ncol(x) == 2) {
# YATES <- 0.5
# METHOD <- paste(METHOD, "with Yates' con...
# }
# else YATES <- 0
# STATISTIC <- sum((abs(x - E) - YATES)^2/E)
## replace begin
if (correct && nrow(x) == 2 && ncol(x) == 2) {
STATISTIC <- if (abs(x[1,1]*x[2,2]-x[1,2...
else sum((abs(x - E) - 0.5)...
METHOD <- paste(METHOD, "with Yates' con...
}
else STATISTIC <- sum((abs(x - E))^2/E)
## replace end
~
-彼(ら)は,Yates の原典に従っているのだから,これで良い...
同じ答えを返すはずの prop.test が以下のような答えを返すの...
> prop.test(matrix(c(9, 10, 9, 11), 2, 2)) # chisq.test ...
2-sample test for equality of proportions with
continuity correction
data: matrix(c(9, 10, 9, 11), 2, 2)
X-squared = 0, df = 1, p-value = 1
alternative hypothesis: two.sided
以下略
ちなみに,SPSS も,このような場合にはカイ二乗値として 0,...
イェーツの補正(連続性の修正)は,しない方が良いという議...
-おそるおそる...出典(コードを書いた人とか)が明らかでない...
-話が長くなってきたので,続きは[[別のところ:http://aoki2....
- R-2.15.1 から修正されました。問題のような場合には「カイ...
#comment
**R. Tierney 氏の R バイトコンパイラー [#cb806f14]
>[[間瀬]] (2005-04-19 (火) 06:28:58)~
~
以前から噂になっている R のバイトコンパイラーですが、すで...
ソースコードに附属の例を実行してみました。それなりに早く...
> source("cmp.R")
> # old R version of lapply
> la1 <- function(X, FUN, ...) {
+ FUN <- match.fun(FUN)
+ if (!is.list(X))
+ X <- as.list(X)
+ rval <- vector("list", length(X))
+ for(i in seq(along = X))
+ rval[i] <- list(FUN(X[[i]], ...))
+ names(rval) <- names(X) # keep `name...
+ return(rval)
+ }
> # a small variation
> la2 <- function(X, FUN, ...) {
+ FUN <- match.fun(FUN)
+ if (!is.list(X))
+ X <- as.list(X)
+ rval <- vector("list", length(X))
+ for(i in seq(along = X)) {
+ v <- FUN(X[[i]], ...)
+ if (is.null(v)) rval[i] <- list(v)
+ else rval[[i]] <- v
+ }
+ names(rval) <- names(X) # keep `name...
+ return(rval)
+ }
> # Compiled versions
> la1c <- cmpfun(la1) # la1 をバイ...
Note: local functions used: FUN
> la2c <- cmpfun(la2) # la2 をバイ...
Note: local functions used: FUN
> # some timings
> x<-1:10
> y<-1:100
> system.time(for (i in 1:10000) lapply(x, is.null))
[1] 7.13 0.00 7.12 0.00 0.00
> system.time(for (i in 1:10000) la1(x, is.null))
[1] 13.68 0.01 13.68 0.00 0.00
> system.time(for (i in 1:10000) la1c(x, is.null)) # 1....
[1] 8.79 0.00 8.79 0.00 0.00
> system.time(for (i in 1:10000) la2(x, is.null))
[1] 13.89 0.00 13.89 0.00 0.00
> system.time(for (i in 1:10000) la2c(x, is.null)) # 1....
[1] 8.75 0.00 8.75 0.00 0.00
> system.time(for (i in 1:1000) lapply(y, is.null))
[1] 0.93 0.00 0.93 0.00 0.00
> system.time(for (i in 1:1000) la1(y, is.null))
[1] 5.57 0.00 5.58 0.00 0.00
> system.time(for (i in 1:1000) la1c(y, is.null)) # 4....
[1] 1.22 0.00 1.23 0.00 0.00
> system.time(for (i in 1:1000) la2(y, is.null))
[1] 5.72 0.00 5.71 0.00 0.00
> system.time(for (i in 1:1000) la2c(y, is.null)) # 4....
[1] 1.21 0.00 1.21 0.00 0.00
ちなみにコンパイル済みのコードは次のようになります。実体...
> la1c
function (X, FUN, ...)
{
FUN <- match.fun(FUN)
if (!is.list(X))
X <- as.list(X)
rval <- vector("list", length(X))
for (i in seq(along = X)) rval[i] <- list(FUN(X[[i]]...
names(rval) <- names(X)
return(rval)
}
<bytecode: 0x8b84878>
「データサイエンス入門」中の qiuck 関数で検査。必ずしもい...
> qiuckc <- cmpfun(quick)
> set.seed(1123); system.time(x <- quick(runif(10000)))
[1] 3.92 0.00 3.92 0.00 0.00
> set.seed(1123); system.time(x <- quickc(runif(10000)))
[1] 3.91 0.00 3.92 0.00 0.00 ...
> set.seed(1123); system.time(x <- quick(runif(100000)))
[1] 180.98 43.33 229.42 0.00 0.00
> set.seed(1123); system.time(x <- quickc(runif(100000)))
[1] 163.52 29.56 193.31 0.00 0.00 ...
//
-disassemble(la1c)で覗けば, パース(構文解析)後のデータに...
-FORTRAN や C のような構文でバリバリにかいたものなら早く...
関数引用をつなげたものなら,早くなりようがない。FORTRAN ...
というか,プログラミング言語的に作った R プログラムっての...
結局,どんな場合も,たいした効果はないというのがオチ? --...
-なるほど、かなり意味不明のコードに変わっていますね。構文...
> disassemble(la1c)
list(.Code, list(4, GETSYMFUN.OP, 1, MAKEPROM.OP, 2, CAL...
3, SETVAR.OP, 4, POP.OP, GETBUILTIN.OP, 5, GETVAR.OP,...
PUSHARG.OP, CALLBUILTIN.OP, 7, NOT.OP, BRIFNOT.OP, 30...
8, MAKEPROM.OP, 9, CALL.OP, 10, SETVAR.OP, 6, GOTO.OP...
LDNULL.OP, POP.OP, GETINTLBUILTIN.OP, 11, PUSHCONSTAR...
12, GETBUILTIN.OP, 13, GETVAR.OP, 6, PUSHARG.OP, CALL...
14, PUSHARG.OP, CALLBUILTIN.OP, 15, SETVAR.OP, 16, PO...
GETSYMFUN.OP, 17, MAKEPROM.OP, 18, SETTAG.OP, 19, CAL...
20, STARTFOR.OP, 21, 93, GETBUILTIN.OP, 22, GETFUN.OP...
MAKEPROM.OP, 23, DODOTS.OP, CALL.OP, 24, PUSHARG.OP, ...
25, STARTASSIGN.OP, 16, 26, GETVAR.OP, 16, STARTSUBAS...
27, 89, GETVAR.OP, 21, PUSHARG.OP, GETVAR.OP, 26, PUS...
SETTAG.OP, 28, DFLTSUBASSIGN.OP, ENDASSIGN.OP, 16, 26...
STEPFOR.OP, 60, ENDFOR.OP, POP.OP, GETSYMFUN.OP, 29, ...
30, CALL.OP, 31, STARTASSIGN.OP, 16, 26, GETSYMFUN.OP...
MAKEPROM.OP, 33, MAKEPROM.OP, 34, SETTAG.OP, 28, CALL...
35, ENDASSIGN.OP, 16, 26, POP.OP, CALLSPECIAL.OP, 36,...
list({
FUN <- match.fun(FUN)
if (!is.list(X))
X <- as.list(X)
rval <- vector("list", length(X))
for (i in seq(along = X)) rval[i] <- list(FUN(X[[...
...))
names(rval) <- names(X)
return(rval)
}, match.fun, list(.Code, list(4, GETVAR.OP, 0, RETUR...
list(FUN)), match.fun(FUN), FUN, is.list, X, is.l...
as.list, list(.Code, list(4, GETVAR.OP, 0, RETURN...
list(X)), as.list(X), vector, "list", length,...
vector("list", length(X)), rval, seq, list(.Code,...
4, GETVAR.OP, 0, RETURN.OP), list(X)), along,...
i, list, list(.Code, list(4, GETVAR.OP, 1, STARTS...
2, 10, GETVAR.OP, 3, PUSHARG.OP, DFLTSUBSET2....
RETURN.OP), list(X[[i]], X, X[[i]], i)), FUN(...
...), list(FUN(X[[i]], ...)), `*ctmp*`, "[<-"...
i, value = `*ctmp*`), value, names, list(.Cod...
4, GETVAR.OP, 0, RETURN.OP), list(X)), names(...
`names<-`, list(.Code, list(4, GETVAR.OP, 0, RETU...
list(rval)), list(.Code, list(4, GETVAR.OP, 0...
list(`*ctmp*`)), "names<-"(rval, value = `*ct...
return(rval)))
-インタープリタとコンパイラという関係なら,圧倒的に早くな...
-R は C 、Fortran サブルーティン集ではありません。「Rはイ...
-固有値・固有ベクトルを求める eigen の心臓部は, z <- .Fo...
-eigenの"rg"はEISPACK(appl/eigen.f)の物です. デフォルトだ...
- R最適化Tips 中のトランプシミュレーションプログラム test...
> test44 <- function (repl) {
x <- matrixc(0, nrow = 10, ncol=repl)
a <- repc(0:3,13)
for (i in 1:repl) x[,i] <- samplec(a, 10)
y <- matrixc(x, nrow=5)
z <- y - matrixc(y[1,], nrow=5, ncol=2*re...
w <- matrix(colSumsc(abs(z)), nrow=2)
pass <- sumc(w[1,]*w[2,]==0)
pass/repl
}
> test44c <- cmpfun(test44) # 本体もバ...
> set.seed(1111); system.time(test4(10000)) # オリジナ...
[1] 1.11 0.01 1.11 0.00 0.00
> set.seed(1111); system.time(test44c(10000)) # バイト...
[1] 0.58 0.01 0.59 0.00 0.00
> set.seed(1111); system.time(test4(100000)) # オリジ...
[1] 10.66 0.08 10.74 0.00 0.00
> set.seed(1111); system.time(test44c(100000)) # バイト...
[1] 5.71 0.07 5.79 0.00 0.00
-しつっこく実験。不思議なことに気づきました。中で使うシス...
> gc(); set.seed(1111); system.time(test4(10000)) # オ...
[1] 1.07 0.02 1.09 0.00 0.00
> gc(); set.seed(1111); system.time(test4c(10000)) # そ...
[1] 0.61 0.01 0.62 0.00 0.00
> gc(); set.seed(1111); system.time(test44(10000)) # 中...
[1] 1.02 0.00 1.02 0.00 0.00
> gc(); set.seed(1111); system.time(test44c(10000)) # そ...
[1] 0.57 0.00 0.57 0.00 0.00
-apply()wo -- &new{2005-12-29 (木) 17:34:26};
-すみません。先のコメントは誤りです。Q&Aコーナーで質問さ...
#comment
**R 2.1.0 リリース [#u0f34bea]
>[[間瀬]] (2005-04-18 (月) 21:52:59)~
~
本日 R 2.1.0 がリリースされたようです。目玉はなんといって...
INTERNATIONALIZATION
o Unix-alike versions of R can now be used in UTF-8 and ...
multi-byte locales on suitably equipped OSes if config...
with option --enable-mbcs (which is the default). [The
changes to font handling in the X11 module are based o...
Japanization patches of Eiji Nakama.]
//
-おー、神よ!。まだ作ってる最中なのにぃ〜。(X11間に合わな...
-素晴らしいっ!なかまさんの名前が入っているっ!!早速、ダ...
-ESSのところにも書きましたが、ESS 2.5.6以前はR 2.1.0で正...
-飛びついてみました! でもRed Hat 7.3では、make checkで
> ## The following two examples use latin1 characters: th...
> ## appear correctly (or be omitted entirely).
> plot(1:10, 1:10, main = "text(...) examples?n~~~~~~~~~~...
>+ sub = "R is GNU , but not ...")
>エラー:mbcs_get_next 中に不正なマルチバイト文字列があり...
>実行が停止されました
というエラーが出てしまった。でも動いてます。 -- [[たか]] ...
-make check は LANG=C LC_ALL=C make check 等としましょう...
-ロケール変えたら、OKでした! ありがとうございます。 -- ...
-Windows XP環境でインストールしてみたら,デフォルトフォン...
- 2.1.0にアップデートしたら、
> update.packages(ask=FALSE, checkBuilt=TRUE)
を実行してパッケージの再インストールをした方がよい? -- [...
-えー,フォント回りは改善せなあきません. *nix系のパッケー...
-R-2.1.0を 'FreeBSD 4.8-RELEASE' でコンパイルしようとした...
-エラーメッセージの内容は? -- [[なかま]] &new{2005-04-20 ...
-FreeBSD 4.9-Rでコンソールから試してみたところ,表示され...
character.c: In function `do_tolower':
character.c:1300: syntax error before `tr'
character.c:1313: `tr' undeclared (first use in this fun...
character.c:1313: (Each undeclared identifier is reporte...
character.c:1313: for each function it appears in.)
*** Error code 1
となりました。gccのバージョンは2.95.4 20020320です。これ...
-gcc-2.95.3でも大丈夫でした. glibcかな? 以下でお茶を濁せ...
--- character.c.orig 2005-04-19 06:30:01.000000000 +0...
+++ character.c 2005-04-20 14:25:22.000000000 +0900
@@ -1297,7 +1297,7 @@
#ifdef SUPPORT_MBCS
if(mbcslocale) {
int nb, nc, j;
- wctrans_t tr = wctrans(ul ? "toupper" : "tolower...
+ const int* tr = wctrans(ul ? "toupper" : "tolowe...
wchar_t * wc;
/* the translated string need not be the same le...
for(i = 0; i < n; i++) {
-なかまさんのご教示があったとおり変更したら*.cのコンパイ...
-もしかして等と調べると, http://www.freebsd.org/projects/...
-./configure --disable-mbcs ではダメでしょうか? (((^-^; -...
-R教授より.解決する(4.xで動く)訳ではないけれど
OK, thanks, we need to add a test for wctrans_t and not ...
I checked the C99 standard and we got it right according...
となりまいた. -- [[なかま]] &new{2005-04-20 (水) 20:40:03};
-なかまさん,ありがとうございます。./configure --disable-...
-なお,これでBuildしたRを起動するときは,setenv LANG Cと...
-shareの下のlocaleをlocale.notuseとかでrenameしとけば,メ...
#comment
**R Graphic Gallery [#q881b05f]
>[[間瀬]] (2005-04-18 (月) 21:29:41)~
~
先にお知らせした R Graphic Gallery が新装オープンしたよう...
//
#comment
**nls と lm における formula で factor を使うこと [#h700a...
>[[青木繁伸]] (2005-04-18 (月) 18:59:52)~
~
nls では,formula 中に factor は使えないというのが,別記...
lm では,使えるしかも,ちゃんとランクを調整してくれる。
> x1 <- c("c","b","b","c","c","a","b","a","c","a","c","b...
> x2 <- c("M","M","F","M","M","M","F","F","M","M","F","M...
> y <- c(7,6,7,7,7,5,7,6,7,5,8,6,7,7,8)
> lm(y ~ x1+x2) # これはエラーになる【あ】
Error in model.frame(formula, rownames, variables, varna...
invalid variable type
> lm(y ~ as.factor(x1)+as.factor(x2)) # factor にすると...
Call:
lm(formula = y ~ as.factor(x1) + as.factor(x2))
Coefficients:
(Intercept) as.factor(x1)b as.factor(x1)c
6 1 2
as.factor(x2)M
-1
x1, x2 が文字列の値を取るとき,それをそのまま使ってもエラ...
as.factor(x1) のように使うとちゃんと解が得られる(【い】...
ところで,x1 が a,b,c のいずれを採るかについて3つの二値...
> x1a <- as.integer(x1=="a")
> x1b <- as.integer(x1=="b")
> x1c <- as.integer(x1=="c")
> x2F <- as.integer(x2=="F")
> x2M <- as.integer(x2=="M")
このうち,x1b, x1c, x2M を使うと,【い】と同じ結果【う】...
> lm(y ~ x1b+x1c+x2M) # 【う】
Call:
lm(formula = y ~ x1b + x1c + x2M)
Coefficients:
(Intercept) x1b x1c x2M
6 1 2 -1
もし,5つの変数全部を使うと,ランク落ちがあるので,結果...
実際に使われる変数が【い】と異なるので,別の結果のように...
> lm(y ~ x1a+x1b+x1c+x2F+x2M) # 【え】
Call:
lm(formula = y ~ x1a + x1b + x1c + x2F + x2M)
Coefficients:
(Intercept) x1a x1b x1c
7 -2 -1 NA
x2F x2M
1 NA
使う変数のセットによって,係数も違うが,本質的に全部同じ...
> lm(y ~ x1a+x1b+x2F) # 【え'】
Call:
lm(formula = y ~ x1a + x1b + x2F)
Coefficients:
(Intercept) x1a x1b x2F
7 -2 -1 1
ところで,lsfit という関数もある。この使い方は
> lsfit(cbind(x1b,x1c,x2M), y) # 【お】
$coefficients
Intercept x1b x1c x2M
6 1 2 -1
用いる変数を同じにすれば,【い】と同じになる。~
もし,5つの変数全部を使うようにしても同じ結果が得られそう...
> lsfit(cbind(x1a,x1b,x1c,x2F,x2M), y)
$coefficients
Intercept x1a x1b x1c x2F
7 -2 -1 1 0
x2M
0
lsfit はこのような事態を想定していないのだな。~
あれこれ書いたが,lm で factor をつかうのは,小細工をしな...
ちなみに,一般化逆行列を使って重回帰分析を行えば,5つの変...
const x1a x1b x1c x2F x2M
6.625 -1.125 -0.125 0.875 0.5 -0.5
//
#comment
**プログラムにおける「名前」の意味するもの [#l112d33c]
>[[青木繁伸]] (2005-04-08 (金) 22:12:38)~
~
list(... foo=bar ...)~
とか,~
lm(y ~ x,....)~
などのとき,foo, bar, y, x が,単なる文字定数(文字変数)...
関数の作者によっては,単なる文字列が指定されたときにも,...
> a <- "2"
> sqrt(a) # こういうエラーをする人はあまりいないだろう
Error in sqrt(a) : Non-numeric argument to mathematical ...
> sqrt(as.numeric(a)) # こういう風にすれば,意図していた...
[1] 1.414214
> my.sqrt <- function(x) # こういう風に関数を定義してく...
+ {
+ sqrt(as.numeric(x))
+ }
> my.sqrt("2") # おっちょこちょいでも,救われる(^_^;)
[1] 1.414214
> my.sqrt(2) # 当然,ちゃんと使っても,ちゃんと使える(^_...
[1] 1.414214
> my.sqrt("abc") # さすがにこれはだめ。
# でも,abc は16進整数の可能性が有るからと救ってやるの...
いやいや,おんぶにだっこにならされたユーザが,厳しい(面...
//
-my.sqrt("0xabc"). my.sqrt(charToRaw("abc")) もうなんでも...
#comment
**メッセージ翻訳作業中の皆様へ [#r29add9c]
>[[なかま]] (2005-03-24 (木) 22:03:45)~
~
~
-- snip --
Thanks. I have merged these, but please note that I had...
changes for msgfmt -c to work:
- Some of the RGui-ja.po ones were missing a final ?n.
- When the order of the formats is changed, the %2$s for...
(I had to guess the order in one class, so please check ...
-- snip --
Could you also please at some point give us a list of na...
po/THANKS file?
と言うわけで,名前(英名) メールアドレスを書き込んでくださ...
ex. MEI SEI <hoge_at_foo.bar.jp>
尚,SPAMが沢山来るようになっても一切の責任は負いませんので...
//
-お譲りします(^_^;) -- [[青木繁伸]] &new{2005-03-24 (木) ...
-参考までに私の過去1年分のSPAM国別?ランキングです. -- [[...
10764 com
2500 net
2111 jp
675 de
575 uk
351 ru
223 ca
217 fr
209 it
200 nl
191 cn
181 ????
169 au
161 br
157
153 ch
136 org
133 pl
115 se
109 cz
104 es
-最近私宛に差出人が私のスパムメールが大量に届くようになり...
-エンベローブ(ほんとの差出人と言うか)を偽られてまだ回線が...
-[[po/THANKS:https://svn.r-project.org/R/trunk/po/THANKS]...
-おっと,私の名前が^^.名前を載せていただいたからには頑張...
#comment
**R のマニュアル日本語訳が CRAN に登録されました [#z6f892...
>[[間瀬茂]] (2005-03-17 (木) 23:05:39)~
~
岡田さんが英語ページにメモして頂いたのが、このところメッ...
//
#comment
**統計数理研究所のワークショップ [#i0f73ec9]
>[[間瀬]] (2005-03-17 (木) 00:55:35)~
~
表記の集会に参加された方はいらっしゃいますか?私は用事で...
//
-すみません,私も私用のため出席できませんでした….情報を...
#comment
**RjpWiki のスポンサー? [#a686a1d3]
>[[MKR]] (2005-03-14 (月) 20:27:57)~
~
いつごろからか、google で RjpWiki をキーワード検索すると...
~
スポンサー
R、S-PLUS、SAS連携機能~
汎用データマイニング、最新技術搭載~
バイオ、医療、製造、通信、金融、CRM~
www.msi.co.jp/vmstudio/~
//
-クリックすると広告主に請求が行くシステムなのでは...msiさ...
-これは,検索したものに近い,しかも google に何らかの契約...
-googleの貴重な収益源の一つと言うことで.:-):-) -- [[なか...
-キーワード "S-PLUS" でもやはり同じ会社の広告が表示される...
-頻繁に使われるキーワードが多いので検索エンジンにはなかな...
#comment
**Translations progress [#fabd8ba6]
>[[なかま]] (2005-03-14 (月) 19:41:04)~
~
With the release of 2.1.0 scheduled for April 18, just o...
month away,
I thought I would give an update on the progress of tran...
known to me. (`fuzzy' translations are ignored, and are...
due to small
changes in the messages or wild guesses by msgmerge.)
Translators are continually pointing out small problems in
messages (or we spot them), so the templates are updated
frequently. However, I believe that all the major changes
(to use quotes more consistently and to use
gettextf to make the messages more translatable) are now
finished for 2.1.0.
Updating seems to work well (see po/README for how to do...
R.pot (the C-level messages)
de: 148 translated messages, 49 fuzzy translations, 1450...
it: 886 translated messages, 761 untranslated messages.
pt_BR: 1638 translated messages, 4 fuzzy translations, 5...
zh_CN: 1644 translated messages, 3 untranslated messages.
RGui.pot:
it: 169 translated messages, 7 fuzzy translations, 88 un...
R-base.pot:
it: 335 translated messages, 64 fuzzy translations, 15 u...
R-zh_CN: 411 translated messages, 3 untranslated messages.
R-grDevices.pot:
it: 58 translated messages, 2 fuzzy translations, 2 untr...
grDevices.pot:
it: 107 translated messages.
R-graphics.pot:
it: 69 translated messages, 44 fuzzy translations, 1 unt...
[I can resolve a lot of these as they are just missing q...
To give you some idea of the size of the package catalogs:
base/po/R-en@quot.po: 414 translated messages.
grDevices/po/R-en@quot.po: 62 translated messages.
grDevices/po/en@quot.po: 107 translated messages.
graphics/po/R-en@quot.po: 114 translated messages.
grid/po/R-en@quot.po: 130 translated messages.
grid/po/en@quot.po: 13 translated messages.
methods/po/R-en@quot.po: 216 translated messages.
methods/po/en@quot.po: 26 translated messages.
splines/po/R-en@quot.po: 19 translated messages.
splines/po/en@quot.po: 1 translated message.
stats/po/R-en@quot.po: 632 translated messages.
stats/po/en@quot.po: 40 translated messages.
stats4/po/R-en@quot.po: 6 translated messages.
tcltk/po/R-en@quot.po: 5 translated messages.
tools/po/R-en@quot.po: 87 translated messages.
tools/po/en@quot.po: 3 translated messages.
utils/po/R-en@quot.po: 189 translated messages.
For the MacOS X GUI I see de, it and ja translations in ...
I see from http://www.okada.jp.org/RWiki/index.php?RJapa...
that Japanese translations of R.pot and RGui.pot are in ...
ja.po seems substantially complete (1601 translated mess...
version of a couple of weeks ago).
We now have the concept of `translation packages' (descr...
developer.r-project.org/Translations.html page once it g...
`Writing R Extensions'): please let me know if you would...
translations to be part of the main tarball or to distri...
separately as a package.
I think we should aim to finalize translations to be dis...
2.1.0 by code freeze on April 11th.
Brian Ripley
//
-3/9時点のメッセージを取り込んでWindowsで確認したところ,...
-etc/Rconsole,etc/Rdevga のフォントは手動で(FixedFontがい...
-R.pot と RGui.pot 以外のメッセージ訳はまだ未着手ですね?...
-うっかりこちらに書いてしまいましたが,[[R メッセージ日本...
-なかまさん,ご尽力ありがとうございます!早速インストール...
-日本語化では無く国際化です.:-) -- [[なかま]] &new{2005-0...
-ついででなんですが、nmath系の関数の速度はいかがでしょう...
-baseとstatsが大きいですね...4月に間に合うかな? -- [[岡...
-大きめの R-stats.pot の素訳を私が作ります(もしかしてど...
-国際化作業のほうがまだまだかかりますんで,メッセージもゆ...
-日本語化では無く国際化でしたか!!これは失礼致しました^^...
n <- 100; mean <- 0; p <- 1:n^2/n^2
for (i in 1:n) mean <- mean + system.time(x <- pgamma(qg...
mean/n # R 2.0.1で実行
[1] 0.1208
mean/n # R 2.1.0 devel(国際化版)で実行
[1] 0.0843
メチャメチャ速くなってますねぇ〜。あと、翻訳作業はお手伝...
-Prof.Riplayメールの最後に、「日本語訳はR本体に最初から組...
-組み込んでもらうに一票. -- [[なかま]] &new{2005-03-15 (...
-人柱ビルドなどのご用命がございましたら御申しつけください...
-起動メッセージが日本語化されていないとの R 教授の注があ...
-起動メッセージは現在はメッセージ翻訳ページに入っています...
-意味がわからん -- [[マニア]] &new{2005-03-17 (木) 14:41:...
#comment
**Rwww [#p909dbba]
>[[okinawa]] (2005-03-11 (金) 16:29:52)~
~
RwwwというRをWebで簡単に使うためのCGIのページ作りました。...
//
-バージョンアップしました。かなり高速化しました。 -- [[ok...
-デモサイトはないのでしょうか? -- &new{2005-03-17 (木) ...
-申し訳ございません。サーバーにできそうな筐体もってないで...
-デモサイトみてみたいです。 -- [[たかの]] &new{2005-06-17...
-お返事おそくなりました.デモサイトの件、考えてみます. -- ...
#comment
**日本人修士が作った R パッケージ [#se0c0fe5]
>[[間瀬茂]] (2005-02-25 (金) 19:33:45)~
~
東工大の大学院修士課程を今度修了する鈴木了太さん(一ツ橋大...
~
下平研の鈴木です.本日,修論で作成したRパッケージpvclust...
ので,そのお知らせです.
http://cran.r-project.org/src/contrib/Descriptions/pvclu...
マルチスケール・ブートストラップ法を用いた階層型クラスタ...
値計算)を行うプログラムです.よろしければお使いいただい...
だければ幸いです.すでにinstall.packages("pvclust")でイ...
です.使用例はexample(pvclust)をご覧くださ い.実行結果...
とができます.
http://www.is.titech.ac.jp/~shimo/prog/pvclust/
よろしくお願いします.
//
-間瀬先生,転載ありがとうございます.パッケージpvclustは...
-この方法について3月に講演をさせていただけることになりま...
#comment
**疫学分析パッケージepiのLinux版が公開されました [#t479d4...
>[[谷村]] (2005-02-24 (木) 11:24:31)~
~
[[Dr. Mark Stevenson:http://epicentre.massey.ac.nz/Person...
はWindows版しかありませんでしたが、リクエストしたところLi...
//
#comment
**R の検索を容易にするために別名(alias)を決めません? [#r9...
>[[澤田石 順<jsawa@attglobal.net>]] (2005-02-24 (木) 00:5...
~
R の情報はたくさんあり、容易に見つかりますが、それでも一...
キーワードにするほかなく不便だと思います。皆様はいかが?~
アルファベットで表記されたエイリアスがあれば、検索がずっ...
思います。日本国内のみで通用するエイリアスでなく、世界レ...
のがよいと思います。どうでしょう。そのための手続きのこと...
として考えてみようではありませんか。~
r_statistics_environment、r_stat_envとか.
P.S. 2/19-20 のリハビリテーション関係の学会ではじめて R ...
解析に基づいて発表しました。スライドには R の web pa...
十数名の方々に Windowsなどやめて R with Linux or Mac...
と強調した次第。
//
-賛成です. -- &new{2005-02-24 (木) 18:30:47};
-賛同者がありまして嬉しいです。 -- [[澤田石 順]] &new{200...
#comment
**OS/2 に R 2.0.1 を移植中です。関心のある方は? [#s52fad4d]
>[[澤田石 順]] (2005-02-23 (水) 22:58:04)~
~
澤田石と申します。Microsoftが嫌いで、ずっとOS/2を使い続け...
Linux/FreeBSDも使い易いのですが、OS/2に比べるといま一つ。...
非常にマイナーなOS/2ということでなかなか一緒に移植作業を...
//
-OS/2は見たことすらないのですが,X11が動くんでしょうか? --...
-はい。XFree86 3.x, 4.x とも移植されており、軽快に使えま...
-Xが上手くいかないとは具体的にはどんな状態でしょうか? --...
-いわゆるDLLの読み込み[dlopen()]のOS/2のgcc(emx)ではうま...
-OS2はとんと存じませんのでなんですが、[[これ:http://hobbe...
-「それ」とは関係ないのです。 -- [[澤田石 順]] &new{2005-...
-すると,例えばsolve(1,0)等lapack.soを読む部分等も不都合が...
-モジュールはすべて静的にリンクしているのですが、... gdb ...
#comment
**ユリウス日,などなど [#pe2efabb]
>[[青木繁伸]] (2005-02-23 (水) 22:13:02)~
~
昔(5年ほど前だと思うのだが。。。と思っていたが,実はもっ...
「1582 年の 10 月の 5 日から 13 日までは存在しません」~
ということで,UNIX の cal コマンドを使うとそれが確認でき...
> cal 10 1582
October 1582
S M Tu W Th F S
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
みたいな結果しか表示されない。~
う〜〜ん。勘違いだったのかなぁ。~
~
その当時作ったページで,~
・ 西暦1年1月1日は何曜日かという問題はかなり難しいもの...
(あ,1990年だったんだ)~
・前のプログラムのアルゴリズムでは「月曜日」と表示されま...
・富士通のコンピュータやワープロの中には,「日曜日」だと...
・東京天文台は「土曜日」であるとしているそうです。~
と書いたのだが。~
今日の,[[中澤さんのページ:http://phi.med.gunma-u.ac.jp/]...
私のページに書いているアルゴリズムは昔々の bit に書かれて...
定義が変われば観察される(解釈される)データが変わるとい...
> julian(1,1,1970)
[1] 0 # 1970/1/1が基準日ということ
> J.day(1,1,1970)
[1] 1723395 # 天文学上のユリウス日
> julian(1,1,1)
[1] -719162 # 当然といえば当然
> day.of.week(1,1,1)
[1] 1 # 何曜日かな?
> day.of.week(2,23,2005)
[1] 3 # 水曜日が 3 なら,1 は月曜日か。。。
> dw(J.day(1,1,1))
[1] "Mon" # 同じだな。。。。
//
-cal 9 1752 では? 本来は地域毎にグレゴリオ暦?の採用時期が...
-おっしゃるとおり。なんか,間違えて記憶していたみたいです...
というわけで,
> cal 9 1752
September 1752
S M Tu W Th F S
1 2 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
そうそう,これこれ! [[青木繁伸]] &new{2005-02-23 (水) 22...
-debianのbsdmainutils より
$ ncal -p
AL Albania 1912-11-30 IT Italy 1582...
AT Austria 1583-10-05 *JP Japan 1918...
AU Australia 1752-09-02 LI Lithuania 1918...
BE Belgium 1582-12-14 LN Latin 9999...
BG Bulgaria 1916-03-18 LU Luxembourg 1582...
CA Canada 1752-09-02 LV Latvia 1918...
CH Switzerland 1655-02-28 NL Netherlands 1582...
CN China 1911-12-18 NO Norway 1700...
CZ Czech Republic 1584-01-06 PL Poland 1582...
DE Germany 1700-02-18 PT Portugal 1582...
DK Denmark 1700-02-18 RO Romania 1919...
ES Spain 1582-10-04 RU Russia 1918...
FI Finland 1753-02-17 SI Slovenia 1919...
FR France 1582-12-09 SE Sweden 1753...
GB United Kingdom 1752-09-02 TR Turkey 1926...
GR Greece 1924-03-09 US United States 1752...
HU Hungary 1587-10-21 YU Yugoslavia 1919...
IS Iceland 1700-11-16
日本の日付が違うのは西部標準時の名残か?
$ ncal -s ES 10 1582
10月 1582
月 1 18 25
火 2 19 26
水 3 20 27
木 4 21 28
金 15 22 29
土 16 23 30
日 17 24 31
お昼休みでした。 -- [[なかま]] &new{2005-02-24 (木) 12:56...
#comment
**maptoolsでshapefileの切り出し [#l01f4665]
>[[okinawa]] (2005-02-22 (火) 17:19:37)~
~
maptoolsでshapefileの切り出しに成功したので、ご報告。~
R2.0.1です。
library(maptools)
jpn<-read.shape("japan_jdg.shp")
jpn_poly<-Map2poly(jpn,raw=FALSE)
jpn_df<-jpn$att.data
hokkaido_poly<-subset(jpn_poly,jpn_df$PREF=="北海道")
hokkaido_df<-subset(jpn_df,jpn_df$PREF=="北海道")
hokkaido_df$CITY2<-ifelse(is.na(hokkaido_df$CITY2)," ",...
hokkaido_df$CITY1<-ifelse(is.na(hokkaido_df$CITY1)," ",...
hokkaido_df$TOWN1<-ifelse(is.na(hokkaido_df$TOWN1)," ",...
hokkaido_df$TOWN2<-ifelse(is.na(hokkaido_df$TOWN2)," ",...
write.polylistShape(hokkaido_poly,hokkaido_df,"hokkaido")
注1)・・・is.na(hokkaido_df$TOWN2)," "<=ここは全角空...
注2)当方環境WIN2000SP4では、writeするとRが時々こけます。~
//
-素晴らしいです。[[Epi Infoによる塗り分け地図の作り方:htt...
-あっ。7行目にattach(hokkaido_df)を入れないと動かないかも...
-「北海道」を「群馬県」に変えて試すと,Windows XP+SP2環境...
-書き出しはできませんでしたが,塗り分け地図の作成には成功...
-ちなみに,同じ環境でも「北海道」のまま実行すると,落ちな...
-当方の環境では、群馬県も「何度かやると」うまくいきました...
-XPでは完璧にこけますね。msvcrt.dllでこけているので、dl...
-どうも県によって上記の方法がうまくいくとは限らないようで...
-ひととおり、全都道府県別のshapefileの作成に成功しました...
-ESRIJapan様から公開の許可をいただきました。後日、このサ...
-おお,それは素晴らしいです。楽しみにしています。ESRIJapa...
-Shapefileライブラリという名前でアップしました。が、他の...
-ページ名を"["と"]"で二重に括ればWikiの名前として機能する...
-ありがとうございました。[[Tips紹介]]に登録させていただき...
-R2.0.1J,maptoolsv0.4-13でShapeFileの作成に成功しました。...
library(maptools)
jpn<-read.shape("japan_jdg.shp")
jpn_poly<-Map2poly(jpn)
jpn_df<-jpn$att.data
hokkaido_poly<-subset(jpn_poly,jpn_df$PREF=="北海道")
hokkaido_df<-subset(jpn_df,jpn_df$PREF=="北海道")
write.polylistShape(hokkaido_poly,hokkaido_df,"hokkaido")
実行環境:WINXPSP2,R2.0.1J,maptools v0.4-13
-Rではないのですが、fGISでShapeFileを結合する方法をアップ...
#comment
**R グラッフィクスライブラリ [#u30bf046]
>[[QDU]] (2005-02-21 (月) 19:12:41)~
~
数日前から r-help で R のグラフィックスを集めたサイトを作...
//
#comment
**未承認広告 in r-help [#p206ce62]
>[[間瀬]] (2005-02-18 (金) 06:47:11)~
~
本日 r-help に長い日本語による未承認広告が投稿されていま...
//
-SpamAssassin はデフォルトでは日本語がひっかかりません。...
-ああ!日本発の悪戯が今後増えないといいですが。 -- [[間瀬...
#comment
**不適切記事 [#ifb50a6c]
>[[QDU]] (2005-02-17 (木) 18:13:32)~
~
Wiki は皆の共同作業で成り立っています。明らかに不適切な記...
//
#comment
**書籍「The R Tips」が出来上がりました [#jf0da1e2]
>[[舟尾]] (2005-02-09 (水) 09:34:10)~
~
おかげ様で拙著「The R Tips」が出来上がりましたので、ご報...
タイトルは「The R Tips - データ解析環境 R の基本技・グラ...
出版社は九天社さん、値段は3675円で、2月10日発売予定です。...
一般の書店に並ぶのは半月 〜 1ヶ月ほど後になるのではないか...
表紙、目次等の情報は [[The R Tips サポートページ:http://c...
本を書くにあたって、この「RjpWiki」がもの凄く役に立ちまし...
//
-おめでとうございます。数日前から自分のメモページからはリ...
-完成おめでとうございます!amazonを毎日チェックしなくては...
-嬉しいお言葉,本当にありがとうございます.書籍の方は一段...
-完成おめでとうございます。早速注文しなければ。 -- [[矢野...
-今日発売ですよね。おめでとうございます。注文したいのです...
-ISBN4-86167-039-Xです。奥付によると3月1日初版発行となっ...
-嬉しいお言葉,重ね重ねありがとうございます.そして中澤さ...
-関連学会のMLなどで割引販売とかする予定はありませんか? 業...
-まだ在庫切れですが、[[Amazonにも出ました:http://www.amaz...
-出版界には著者割引制度というのがあるようです。あまり大々...
-aki 様,アドバイスありがとうございます.残念ながら「関連...
「あまり大々的でなければ、舟尾さんに割引購入してもらうと...
-ジュンク堂大阪本店では既に売っておりましたので早速購入し...
-濱マイク様,ご報告・ご購入ありがとうございます! -- [[舟...
-横浜の有隣堂にて購入しました。これから読んでみます。 -- ...
-MS様,ご購入ありがとうございます!いや〜,非常に嬉しいで...
-地元(厚木)の本屋で見かけ、即購入。Amazonの注文はキャン...
-Nautilus様,御報告・御購入,誠にありがとうございます!ボ...
-いよいよ「間違い報告地獄」が始まりますね。経験からご忠告...
-貴重なアドバイスをありがとうございます!うっかりするとこ...
#comment
**RMatlab パッケージ [#l5d1bb21]
>[[MKR]] (2005-02-08 (火) 20:11:24)~
~
r-help 記事で RMatlab という R と Matlab の「対話」を可能...
# r-help 記事を引用
> I came across recently to the Rmatlab package
> (http://www.omegahat.org/RMatlab/) that allows R and M...
> to "talk" to each other. I made several attempts to in...
> it on my Mac but without any success as some headers s...
> to miss. I am just wondering if anyone has already tried
> and successfully used RMatlab. According to the website,
> this should run on unix machines and I was surprised t...
> it couldn't be true for Mac as the OS X, Linux and Unix
> MATLAB architectures are pretty much similar.
Pretend we can't see your screen and include the error m...
in your post. Can we assume you are running 10.3.7 and h...
XCode 1.5 loaded as well?
//
#comment
** P. Murrel さんのグラフィックス集 [#n819acd6]
>[[MKR]] (2005-02-04 (金) 19:03:39)~
~
R コアメンバーの P. Murrel さんが
[[グラフィックス集:http://www.stat.auckland.ac.nz/~paul/R...
//
-こ、これはもの凄いことになっていますねぇ…。[[Figure 1.11...
#comment
**wavelet [#o7232878]
>[[しいたけ]] (2005-01-31 (月) 21:27:09)~
~
Rのwavelet解析のプログラムとかで公表されているのはある...
古いmathematicaを使っているのですが,しょぼい趣味に利用...
//
-トップページの R site search を使って、例えばキーワード ...
-ありがとうございました。m(__)m -- [[しいたけ]] &new{2005...
#comment
**本日の笑える r-help 記事 [#h341e7dc]
>[[間瀬]] (2005-01-29 (土) 10:27:08)~
~
r-help 記事をみている人なら必ず笑える記事がありましたから...
"Marc R. Feldesman" <feldesmanm@pdx.edu> writes:
> At the risk of being flamed for mortal stupidity, I'm ...
> out what could have possibly changed (at my end almost...
> make Brian Ripley's posts (in particular) not show up ...
> server (at least not on the one where I receive my ema...
Did you remember to turn off the Oxford-sarcasm filter? ...
-p
--
Peter Dalgaard
//
#comment
**Rmap [#m43e85ae]
>[[Tappy]] (2005-01-28 (金) 16:43:53)~
~
R初心者です。Rmapなるものに興味を抱き、ダウンロードした...
//
-「初心者です」という印籠は,水戸黄門の印籠ほどは怖れられ...
初心者だからどうだと言うんでしょうかというような感じ。~
お願いですからやさしくしてくださいということでしょうね。~
[[Rmapを使った地図表示]]などを見た上での質問でしょうか。~
プラットフォームは,なんですか(といっても難しいでしょう...
今日は(も?),いささか機嫌が悪いんで(^_^;)~
こういう間の悪い時期に巡り会った初心者様にはお気の毒様で...
-パッケージのインストールは、別途ダウンロードしないで、ス...
#comment
**TeXwiki [#t59d6dca]
>[[QDU]] (2005-01-25 (火) 09:09:19)~
~
日本の TeX 界のドン奥村先生が [[TeX 用の Wiki:http://oku....
//
-今日の[[奥村さんの日記:http://oku.edu.mie-u.ac.jp/~okumu...
-TexWiki でもコメント欄にスパム書き込みが絶えないので、公...
#comment
**統計数理研究所のワークショップの案内 [#m6b46218]
統計数理研究所のワークショップの案内を転載します。 -- [[...
みなさま(重複して受け取られた方はご容赦ください),
"Workshop by Dr. Robert Gentleman and Dr. Martin Theus"...
3月11日(金),12日(土)に統計数理研究所 講堂において,
Workshop "Modern statistical visualization and related t...
Recent developments in Mondrian and R"
を開催いたします。
講演者は,
Dr. Robert Gentleman (Fred Hutchinson Cancer Research ...
Dr. Martin Theus (Augsburg University, Germany)
のお二人です。
Dr. Gentleman は R の作成者のひとりであり、近年は R に基...
ンフォマティックスのためのシステム Bioconductor の作成を...
で、それらの講演をお願いしました。
Dr. Theus はJavaによる対話型データビジュアライゼーション...
Mondrianの作成者であり、そのシステムに関する講演をしてい...
なお、R に関して、その並列化に関する講演があります。
どうぞ,ご参加ください。
なお,参加は無料ですが,準備の都合上,参加予定の方は以下...
ルで,中野(nakanoj@ism.ac.jp)までお送りいただけると幸い...
-------------- 申込書 --------------------------------...
"Workshop by Dr. Martin Theus and Dr. Robert Gentleman" ...
お名前:
所属 :
e-mail:
11日の懇親会に参加: します or しません (どちら...
--------------- 申込書 終わり -----------------------...
このワークショップは,昨年,当研究所で開催された2回の W...
"Modern statistical visualization and related topics" の...
年度に3回予定しているワークショップの最後のものです。今...
2004年11月19-20日
Workshop(3) by Dr. Chun-houh Chen
第2回は,
2004年 12月9-10日
Workshop(4) by Professor Dan Carr and Dr. Juergen Sym...
でした。
なお、各回の内容は独立です。
中野純司(統計数理研究所)
nakanoj@ism.ac.jp
#comment
**「人工知能学会誌」に R の紹介記事 [#dc4b90d8]
>[[間瀬茂]] (2005-01-11 (火) 10:10:41)~
~
編集者からのお勧めで「人工知能学会誌」 Vol.20, No.1, 67-7...
//
-これは必見ですねぇ〜。[[「研究のツールボックス」のサポー...
#comment
**表計算ソフト利用の危険性を検証する団体 EuSpRIG [#y1b880...
>[[MKR]] (2005-01-04 (火) 00:04:09)~
~
(あえて Excel とは限らないでしょうが)表計算ソフト利用の危...
[[European Spreadsheet Risks Interest Group:http://www.eu...
[[表計算ソフトがもたらした損失:http://www.eusprig.org/sto...
//
#comment
**CRAN 登録パッケージ数 [#h66cddd6]
>[[間瀬茂]] (2004-12-30 (木) 22:36:01)~
~
今年も残るところ25時間あまり。CRAN に登録されているパッ...
//
#comment
**パッケージ spdep [#n581ae98]
>[[間瀬茂]] (2004-12-16 (木) 10:18:24)~
~
本日更新情報がでたパッケージ spdep の著者の一人に Hisaji ...
//
#comment
**r-help 記事 [#pec53ad4]
>[[間瀬茂]] (2004-12-14 (火) 23:52:21)~
~
r-help 記事を無断引用。無知でしたが slashdot の英語板があ...
Greetings all,
Just a quick heads up that there is a Slashdot thread thi...
Open Source Math Software for Education, which includes r...
and Dirk's Quantian distribution (among others). The thre...
[[slashdot:http://ask.slashdot.org/askslashdot/04/12/13/2...
The OP's query was targeted for high school to first year...
students, but as is typical with Slashdot, the scope of t...
to wander....
Also, I was reading the latest issue of Amstat News and n...
is a new book from Springer on R/S-PLUS pending by Profes...
Everitt called "An R And S-Plus Companion To Multivariate...
book appears to be due to be release next month. The link...
Springer site is: [[An R And S-Plus Companion To Multivar...
and the Amazon.com link is: [[An R And S-Plus Companion T...
Professor Everitt's prior related work, co-authored with ...
Rabe-Hesketh, is "Analyzing Medical Data Using S-PLUS" al...
Springer, which along with the other related books that I...
a solid reference when I started using R a few years ago.
HTH, ~
Marc Schwartz
//
#comment
**R国際化 [#d314fdd4]
>[[なかま]] (2004-12-14 (火) 18:17:55)~
~
御公儀より密命が下りました.~
http://www.ipa.go.jp/software/open/2004/result.html#shimo...
//
-なかまさんは、この「株式会社COM‐ONE」とはコンタク...
-おめでとうございます。「なかま」さんは先頃よりこの会社の...
-そうですか、ということは、これまでの日本語化Rの知的所有...
-無知的所有権は私に帰属します. もし,何らかの特許侵害があ...
-基本的にアルバイトに手伝ってもらった場合にでも個人の著作...
-そもそも,何らかの権利を主張するつもりもありません.主張す...
-おめでとうございます。この快挙が日本の(小さい小さい -> ...
-無駄な公共事業と揶揄されぬよう勤めまする. -- [[なかま]] ...
-OX方面のあの方が12/28頃より私の中途半端な(すみません......
-[[なかま]]弁を訳注。Ripley 教授らは R に Western Europea...
#comment
**「R 統計関数マニュアル」 [#j0ea03e1]
>[[間瀬茂]] (2004-12-09 (木) 22:17:08)~
~
間瀬です。R 統計関数マニュアルの件ですが、その後強力な助...
//
-はい!いつまででも待ち続けます! -- &new{2004-12-10 (金...
-たった一行へのこだわりが,出版を妨げました.その一行は見付...
-「プロジェクトX」並みの苦労話が隠れているのでは?と推察...
-いかん、mean 関数や var 関数たちのことをすっかり忘れてい...
#comment
**Robert Gentleman 氏によるワークショップ [#s9e80ab8]
>[[間瀬茂]] (2004-12-08 (水) 21:41:46)~
~
統計数理研究所の中野さんから統計関係 ML に流された情報の...
~
このワークショップは,昨年,当研究所で開催された2回の W...
"Modern statistical visualization and related topics" の...
り,今年度に3回予定しているワークショップの2回目のもの...
第3回は, 2005年 3月11-12日
Workshop(5) by Dr. Robert Gentleman and Dr. Martin Th...
の予定です。
//
#comment
**R のマスコットキャラクタ [#ved39614]
>[[間瀬茂]] (2004-12-04 (土) 11:21:58)~
~
昨日の R-help は R のマスコットキャラクターの話題で盛り上...
思い出したのでついでにメモしておきます。Linux の生みの親 ...
//
-追加情報。R. Gentleman 氏が r-help に投稿したところによ...
-WETA だと、同じNZ産のデータマイニングツール WEKA がある...
-マスコット騒ぎが収まったかなとおもったら、実は管理者の設...
#comment
**「R 統計関数マニュアル」近日公開 [#y1680050]
>[[間瀬茂]] (2004-11-24 (水) 00:47:14)~
~
R の基本パッケージ base, stats に含まれる「ほとんどすべて...
//
-ご尽力ありがとうございます!統計自体の勉強も含めまして、...
-Webもいいですが、やはり印刷メディアのものもいいので、船...
-私の拙筆活動は、ただいま校正段階に入っております。残念な...
さすがに [[The R Reference Manual - Base Package -:http:/...
-あんまり期待されるとビビリますね。例により、誤植、誤解の...
-か、覚悟致します。何度見直しても、見直す度に間違いが見つ...
-ユニバーサルバイナリ -- [[まさひと]] &new{2006-01-28 (土...
#comment
終了行:
COLOR(blue){SIZE(20){RjpWiki自体へのコメントでも、雑談...
COLOR(red){注意}:新規記事用の入力欄は以下の目次の直後に...
----
COLOR(red){過去の記事のアーカイブ} 。アーカイブ中の記事へ...
-[[なんでも掲示板アーカイブ(1)]] (元記事が 2003-07-17 ...
-[[なんでも掲示板アーカイブ(2)]] (元記事が 2003-11-27 ...
-[[なんでも掲示板アーカイブ(3)]] (元記事が 2004-01-01 ...
-[[なんでも掲示板アーカイブ(4)]] (元記事が 2004-07-01 ...
----
#contents
----
回答を期待する記事は原則 COLOR(red){質問コーナー [[Q&A...
~
----
** R ユーザー会まとめ [#dd2671fc]
>[[間瀬茂]] (2005-12-11 (日) 07:12:32)~
~
計数理研究所の中野先生の御世話でRに関する講演会が開かれ...
~
今回(10日)の講演は主に RjpWiki の常連寄稿者によるもの...
~
平成17年度統計数理研究所共同利用研究集会~
~
「データ解析環境Rの整備と利用」~
~
プログラム~
~
開催場所:東京都港区麻布4−6−7 統計数理研究所新館2階...
日 : 2005年12月9(金),10(土)日~
~
12月9日(金) (使用言語:英語)~
Talks by Simon Urbanek (AT&T Research Labs), a member of ...
~
これは都合で聞けませんでしたが、聞いた方の感想では非常に...
~
12月10日(土) (使用言語:日本語)~
10:00-10:30 舟尾 暢男 (武田薬品)R 初心者からみた R 初...
Rtips 作者。Rtips 執筆に至る経緯や、Rtips 精選版出版のニ...
製薬業界での統計解析の話も紹介されました。~
10:40-11:10 中間 栄治 (COM-ONE)私的R利用方法~
R の日本語化の話かと思いましたが、内容は初めて聞く、 nama...
11:20-11:50 岡田 昌史 (筑波大学)RjpWikiのこれまでとこ...
RjpWiki 管理者による苦労話、および今後の RjpWiki 運営・仕...
13:30-14:00 久保 拓弥 (北海道大学)生態学分野での R の...
生態学研究者の生態に関するサーベイと、生態学分野での統計...
14:10-14:40 中澤 港 (群馬大学)医学統計教育におけるRの...
医学部生に対する統計学教育の苦労話。時間数の少なさは確か...
14:50-15:20 中野 純司 (統計数理研究所)統計数理研究所...
自ら統計解析システム開発にも携わる研究者の話。研究所自慢...
15:30-16:00 間瀬 茂 (東京工業大学)R の S4 クラスとメ...
気になるけど今一意味不明な S4 (S 言語第四版)クラスとメ...
16:10-16:40 谷村 晋 (長崎大学)Thematic Cartography wit...
疫学研究者による R を用いた主題地図の表現法いくつかの紹介。
-皆さんお疲れ様でした。非常に面白い内容ばっかりでした。特...
-おやまあ。さすがに沖縄から御参加とは思いませんでした。次...
-あぁ、okinawaさんいらしたのに何故声をかけてくださいませ...
-JGRの発表などのまとめがあればいいのですが。 -- [[金曜日...
-谷村先生ごめんなさい.先生があまりにアクティブに質問され...
#comment
**ちょっと面白いかも [#y3d3e8b8]
>[[QDU]] (2005-12-03 (土) 22:32:30)~
~
[[こんな記事みつけました:http://faculty.washington.edu/mt...
//
#comment
**統計解析システム Ox [#g619e958]
>[[間瀬茂]] (2005-12-03 (土) 06:24:52)~
~
京都でひらかれている統計の集会に参加していて、経済関係の...
[[Ox公式サイトはここ:http://www.doornik.com/products.html...
私は R が大好きですが、ただし R だけが唯一無二のソフトで...
//
#comment
**R ユーザー会御案内 [#r2fd9946]
>[[間瀬茂]] (2005-11-21 (月) 16:01:50)~
~
統計数理研究所の中野先生の御世話でRに関する講演会が下記の...
~
私も S 言語第4版のクラスとメソッドについて、自分の勉強が...
~
以下中野先生からのメイルを転載:~
~
みなさま~
~
フリーの統計解析システムRに関する下記の共同利用研究会を開...
は自由で,一日だけの参加も歓迎します。多くの方のご参加を...
~
~
平成17年度統計数理研究所共同利用研究集会~
~
「データ解析環境Rの整備と利用」~
~
プログラム~
~
開催場所:東京都港区麻布4−6−7 統計数理研究所新館2階...
日 : 2005年12月9(金),10(土)日~
~
12月9日(金) (使用言語:英語)~
Talks by Simon Urbanek (AT&T Research Labs),
a member of the R core development team
13:30-14:30 Talk 1:
iPlots - Interactive Graphics for Data Analysis in R
14:45-15:45 Talk 2:
JGR - Java GUI for R and Java/R interfaces
16:00-17:00
Parallel computing in R - Top Trees models space expl...
(それぞれの talk の abstract が下のほうにあります)
12月10日(土) (使用言語:日本語)~
10:00-10:30 舟尾 暢男 (武田薬品)
R 初心者からみた R 初心者の現況
10:40-11:10 中間 栄治 (COM-ONE)
私的R利用方法
11:20-11:50 岡田 昌史 (筑波大学)
RjpWikiのこれまでとこれから
12:00-13:30 昼食
13:30-14:00 久保 拓弥 (北海道大学)
生態学分野での R の使われかた紹介
14:10-14:40 中澤 港 (群馬大学)
医学統計教育におけるRの利用
14:50-15:20 中野 純司 (統計数理研究所)
統計数理研究所でのR
15:30-16:00 間瀬 茂 (東京工業大学)
R の S4 クラスとメソッド入門
16:10-16:40 谷村 晋 (長崎大学)
Thematic Cartography with R
16:50-17:20 総合討論
18:00- 懇親会(広尾近辺)
~
~
----- Abstracts of Simon's talks -----------------------...
Abstract of talk 1:
R is a very flexible and powerful software for statisti...
It extensibility is leveraged by hundreds of packages of...
variety of tools in many areas in applied sciences. Howe...
one aspect that covered only partially and that is graph...
produces high-quality static graphics for publication pu...
it lacks interactive graphics for explorative data analy...
iPlots attempt to remedy this shortcoming by providing ...
independent interactive graphics for R. The iPlots packa...
wide range of fully interactive graphics including scatt...
histograms, barchars, mosaic plots, parallel coordinates...
many others. Moreover iPlots are based on a very flexibl...
extensible engine for creation of arbitrary interactive ...
In this talk we will demonstrate the use of iPlots as a...
exploratory data analysis and discuss the basic concepts...
We will also provide insights into the iBase framework f...
new interactive graphics. All this will demonstrated on ...
real-word examples.
Abstract of talk 2:
R can be made accessible to a broader range of users by...
graphical user interface (GUI) to provide additional sup...
user. JGR - Java GUI for R is a cross-platoform GUI for ...
flattens the learning curve, is valuable for teaching st...
also includes features that will be welcome even by powe...
In this talk we will demonstrate various features of JG...
intelligent console, code editor, object browser, help s...
package installer. In addition we will discuss integrati...
(interactive graphics for R) and iWidgets (custom user i...
elements in R) in JGR.
We will also look behind the scenes and consider severa...
interfaces, their differences and applications. Furtherm...
show how to integrate own Java code into R and use R fun...
within Java.
Abstract of talk 3:
For historical reasons, R is a single-threaded applicat...
in this talk we will show how can R be successfully
leveraged for parallel computing. Most common approaches...
running several R processes using various kinds of inter...
communications.
In this talk we will discuss several different methods ...
computing in R. We will also show step by stop how paral...
can be made easy using the snow package for R. In additi...
present in detail a practical example of model space exp...
tree models that we performed using massive parallel com...
//
-ユーザー会は事前の参加申し込みが必要なのでしょうか? -- ...
-不用と思いますが、中野先生から参加人数の把握のために事前...
-ぜひ参加したいです。 -- [[okinawa]] &new{2005-11-22 (火)...
-okinawa さんも成果物を来年お時間があれば発表されたらどう...
-そうですね。他の先生方と分野が被らなければいいのですが・...
-懇親会はとくに事前に予約するのではなく、その場で有志を募...
#comment
**WinXPとLinuxの速度比較 [#f74a4e8b]
>[[msasaki→佐々木]] (2005-10-25 (火) 23:53:42)~
~
WinXPとLinux(FC4)を同一マシン(Athlon64,3200つまり2GHz,mem...
//
-↑こうした数値計算は基本的に C/FORTRAN サブルーティンに丸...
-おお!!ということは,RをLinuxでお使いの先生方は。特定の計...
-WinXPとFedoraを比較といっても、双方の常駐サービス・デー...
-WinXP(SP2)でパッチはすべて+ソフト少し vs FC4のワークステ...
-libgotoやATLASは入れてますか? 行列演算に劇的な違いが出ま...
-例えば [[ある r-help 記事:http://finzi.psych.upenn.edu/R...
-はい、初心者の佐々木としては、TACCでユーザー登録したので...
-まだLinux版しかTACCには登録されていないのでは。Athlon 64...
#comment
**生物統計ハンドブック [#le01be7e]
>[[濱マイク]] (2005-10-25 (火) 21:12:09)~
~
S-PLUS本なのですが,「実用S-PLUS生物統計ハンドブック」が...
//
#comment
**R の入門的講義 [#vf762172]
>[[間瀬]] (2005-10-18 (火) 15:24:21)~
~
統計数理研究所の公開講座(有料)で R の(入門的)講義が開...
[[http://www.ism.ac.jp/lectures/1711-1.html:http://www.is...
//
-その他にも「R を使った...」 という講義が幾つか。 -- &ne...
#comment
//**さっぱり訳が分かりません・・・・
**確率分布同士の演算の信頼区間 [#t85820e6]
>[[takahashi]] (2005-10-11 (火) 20:54:48)~
~
Rとは直接関係ないのでここに書いてみます(説明はRでしてみま...
-お願いですから、(初級)Q&A コーナーに移動してください...
-だそうなので,移しておきましたよ。あっちでやってね。統計...
//#comment
**Windows R-2.1.1 etc folder の rgb.txt [#v22bce9e]
>[[mitsu5]] (2005-10-05 (水) 12:57:41)~
~
version 2.1,1 を Windows にインストールしてみてしばらくま...
R window の background color を前に使用している色に戻せ...
しばらく試行錯誤をしていて、etc folder に rgb.txt file が...
どの version からこうなったのでしょうか。私のような人のた...
//
#comment
**R ユーザー会? [#l9ea8b95]
>[[間瀬]] (2005-09-21 (水) 09:57:24)~
~
統計数理研究所の中野先生が中心となり R をテーマにした研究...
~
RjpWiki の常連投稿メンバーと ROM メンバー多数の参加を期待...
//
-WOW!関東圏でしたらぜひ参加したいですね。 -- [[okinawa]] ...
-浅野家下屋敷付近なれば,いざ主君Rの仇を打つべく...(あのへ...
-へー、長年通いなれた場所でしたが知らなかった。研究所所員...
~
日本庭園と広場のある「有栖川宮記念公園」(研究所の真ん前で...
~ ...
区境にある日比谷線広尾駅から、港区側にある有栖川宮記念公...
公園名でわかるように、昭和9年に高松宮家から都に寄贈され...
の御用地だった。さらには盛岡藩南部家の下屋敷、忠臣蔵で有...
と公園の歴史は江戸時代にまで遡る。~
-あの坂は南部坂(忠臣蔵の南部坂は赤坂の方)ですけど、有栖...
-表題の集会ですがとりあえず12月10日(土)に決まったと...
#comment
**Rの普及 [#nba85a4d]
>[[匿名]] (2005-09-21 (水) 02:21:01)~
~
結城先生がRを紹介していますね~
http://www.hyuki.com/d/200509.html#i20050921~
~
Rの裾野がちょっと広がった気がします~
//
#comment
** Knoppix 4.0 [#iaad8329]
>[[間瀬]] (2005-09-17 (土) 13:11:37)~
~
Knoppix 4.0 が公開されています。Unix user 誌の10月号付...
//
-KNOPPIXは使ってないのでなんですが,ちかごろのglibcの風習...
-いつもながら、なかまさんの博識にはおどろかされます。せっ...
-あっ,いえ,一知半解な混乱を招いたかも...IPAフォント(ライ...
-原因は単なるインストールスクリプトのバグのようです。すで...
#comment
**マハラノビスの汎距離 [#m17ff6f9]
>[[g]] (2005-09-16 (金) 17:03:36)~
~
Rの操作そのものについてのことではないので,ここに投稿しま...
//
-R に固有の問題ではないですが。。さて。。そもそも,特異行...
-ご回答ありがとうございました.そうですね.データを再検討...
#comment
**記事に協力していただける方を探しています [#cd360512]
>[[石塚朝生]] (2005-09-09 (金) 16:14:58)~
~
弊社のホームページでRを使って、比較言語学の二項検定をやっ...
このプロジェクトは元産業能率大の安本美典先生が考案された...
この記事は現在開発中のWikiに掲載される予定です。~
詳細にご興味ある方は、asao.ishizuka@gmail.comまでご連絡く...
//
#comment
**Statistics with R [#s1fede35]
>[[間瀬]] (2005-09-03 (土) 10:22:12)~
~
最初 [[RjpWiki]] そして r-help で紹介されたとき、その華麗...
公開されました。[[Statistics with R:http://zoonek2.free.f...
//
-これはありがたいです!「Customizing graphics」の章も勿論...
-pdf ダウンロードしましたが,1085ページもあるんですね。と...
->整数は浮動小数点表示でも正確に表されます~
これは本当? -- &new{2005-09-05 (月) 18:16:17};
-IEEEの浮動小数点表示は,例えば 121 は .1111001 × 2^7 (7...
#comment
**c 関数の,こんな使い方 [#t97ba7ff]
>[[青木繁伸]] (2005-08-31 (水) 23:23:34)~
~
関数から数個の値をベクトルで返すとき,それぞれの要素の名...
a <- 1.23; b <- sqrt(a) # 等を定義するとして
result <- c(a, b)
names(result) <- c("a", "sqrt(a)")
return(result)
等としていたが,~
return(c("a"=a, "sqrt(a)"=b)
でよい。~
しかし,ときどき(?)変なことが生じる。"foo"=bar 等とし...
//
-data.frame()のなかで同じ名前の奴が複数あると.1 .2とsuffi...
-ソウでもないようなので,首をひねっているところです。
Gen.Wil <- function(group, event, time)
{
途中略
+ Z <- W/sqrt(Var.W)
+ p <- pnorm(abs(Z), lower=F)*2
+ c("W"=W, "Var(W)"=Var.W, "Z value"=Z, "P value"=p)
+ }
> Gen.Wil(group, event, time)
W Var(W).1 Z value.1 P value.1
6.300000e+01 1.320313e+03 1.733813e+00 8.295134e-02
とまあ,こんな具合なのです。 -- [[青木繁伸]] &new{2005-09...
-上のコードだと再現できない(変数に適当な数値を入れてみた...
-そうなんですよ。普通はうまくいくのですが。[[http://aoki2...
-再現しました@winxp.R2.1.1.何故でしょうかね?(バグでし...
-わかりました.多少ややこしいですが,table()が生成したラ...
- nb <- (n <- length(group))-(na <- table(group)[1]) の時...
-同じ頃書き込んだようで。。。ソウですね。これは,まあ,仕...
-おかげさまで,すっきりしました。Q & A みたいになってしま...
-ラベルtipsとして[[ラベルあれこれ]]作っておきました.いろ...
#comment
**Rは統計解析をする人々の支持を受けているのか [#jc4a1b92]
>[[谷村]] (2005-08-24 (水) 12:04:18)~
~
連日の書き込みを申し訳ありません。Rに関連する解説記事を書...
//
-[[bioconductorのHP:http://www.bioconductor.org/whatisit]...
Use of R. R and the R package system are the main vehicl...
releasing software. R (www.r-project.org) is a widely us...
and environment for statistical computing and graphics -...
provides a high-level programming environment together w...
packaging and testing paradigm. It has a number of mecha...
interact directly with software that has been written in...
languages (see Omega Project). These tools allow users t...
based on other work. Viewed in that context, adopting R ...
exclude other development environments and paradigms. R ...
provide a glue or connectivity linking what might otherw...
products. Finally, R is under very active development by...
researchers with a strong commitment to good documentati...
お役に立ちますでしょうか? -- [[Akira]] &new{2005-08-24 (...
-大変りがとうございました。感謝します。> Akiraさん。特に"...
-お役に立てて光栄です。今分かる範囲ですとBiotechniques. 2...
著作権の関係もあると思いますので原文のリンクはやめておき...
ただ、論文のtitle「Open Source Software for the Analysis ...
-少なくとも日本に限れば「広く使われている」というのは恐ら...
-皆さん、ありがとうございます。Dudoitの論文をさらっと拝見...
#comment
**THE STATISTICAL LAB [#xb79d727]
>[[g]] (2005-08-09 (火) 20:28:29)~
~
"The Statistical Lab"なるRベースの統計教育ツールがあるよ...
//
-最後のかっこがURLに入っていたので修正しておきます -- &n...
-R1.4.1のバイナリは入手可能でしょうか? -- [[通りすがり...
-ソースならCRANに0.49からありますが、バイナリは現在CRANに...
-The Statistical LabのサイトにR1.4.1もおいてあります.た...
-ver3.0が出てました。R2.0.1に対応してるようです。インスト...
#comment
**CRAN のパッケージ数 [#jfcccbff]
>[[MKR]] (2005-08-07 (日) 00:29:03)~
~
暇なので CRAN にあるパッケージの数を数えてみました。プロ...
//
#comment
**実行しないで,考えましょう! [#y90343e4]
>[[間瀬]] (2005-08-04 (木) 21:34:11)~
~
r-help を見ていてしばらく首をかしげてしまった例(解答を書...
~
> sum = 0; for(i in 5:1){ sum[i] = i }; sum
[1] 1 2 3 4 5
> sum = 0; for(i in 5:0){ sum[i] = i }; sum
[1] 1 2 3 4 5
> sum = 0; for(i in 5:-1){ sum[i] = i }; sum
[1] 1 -1 -1 -1 -1
> sum = 0; for(i in 5:-2){ sum[i] = i }; sum
[1] -2 -1 -2 -2 -2
> sum = 0; for(i in 5:-5){ sum[i] = i }; sum
[1] -5 -5 -5 -5 -4
> sum = 0; for(i in 5:-6){ sum[i] = i }; sum
エラー:添え字が許される範囲外です
//
-これは、Rにおけるベクトル操作の基本中の基本ですね。しか...
#comment
**Rの早見表(リファレンスカード) [#b06e2469]
>[[谷村]] (2005-08-04 (木) 18:15:58)~
~
[[こんなもの:http://www.rpad.org/Rpad/R-refcard.pdf]]を見...
//
#comment
**Rの中からWeb検索 [#p54520be]
>[[谷村]] (2005-08-04 (木) 17:53:46)~
~
R 2.1.0から[[http://search.r-project.org:http://search.r-...
追加されたのですが、あまり話題に上りませんね。私個人的に...
便利で大助かりなコマンドなのですが。。。ひょっとしてWinじ...
ンド?~
//
-こんな関数があったのですか!素晴らしいっ!!Windows でも...
#comment
**「R-Tips」のPDF版とその原稿 (05/08/01 修正版) [#q4461919]
>[[舟尾]] (2005-08-03 (水) 23:47:22)~
~
竹澤さん(中央農業総合研究センター)のウェブスペースに置...
~
[[http://cse.naro.affrc.go.jp/takezawa/r-tips.pdf(3Mb・2...
~
-今までに R-Tips について戴いたご意見・間違いのご報告を反...
-「印刷出来ない!」という不具合を解消致しました(多分…で...
-R 2.1.0(とR 2.1.1)に対応しました.
~
よろしかったら御覧下さい.もし,ご意見・間違いのご報告を...
~
//
#comment
----
** 「なんでも」といってもね [#od5a70cc]
>[[間瀬茂]] (2005-07-29 (金) 18:21:16)~
~
一件(真面目だけど)頓珍漢な投稿があったので、消去しました...
maseshigeru@gmail.com
でお願いします。(一応、RjpWiki の読者だけにとどめておい...
//
-SPAMブロックの精度を信じつつも,全角文字で書いてしまうあ...
-↑一瞬の精神的葛藤を見抜かれましたね。スパムをブロックす...
-[[The free gmail inviter:http://www.bytetest.com/]]とい...
-このスレッドは「なんでも」の範囲なんですか。 -- &new{20...
-R に限りませんが、ウェッブで情報を公開していると、メール...
-詳しくないのにネタふりで申し訳ないんですが、最近のスパム...
#comment
**Rに関する演題を出しませんか [#vac81d25]
>[[谷村]] (2005-07-26 (火) 16:43:50)~
~
[[第22回日本コンピュータサイエンス学会学術集会:http://inf...
//
-「地図表現」ですか、こちらの学会では「GIS」とか「GeoComp...
-私以外にもいままでGISに言及する演題もあったように思いま...
-コンピュータサイエンス学会は実装寄りの話もわりと好まれる...
-おぉ、ありがたいです。是非是非。64ビット版を使わないと計...
-演題登録の締め切りは''&color(red){明日(9月30日)};''で...
#comment
**useR! 2006 お知らせ (r-help より) [#ad4bee28]
>[[間瀬茂]] (2005-07-23 (土) 06:10:45)~
~
We are happy to announce that the second R user conference~
~
useR! 2006
~
is scheduled for June 15-17 2006 and will take place at t...
University of Economics and Business Administration.~
~
This second world-meeting of the R user community will fo...
- R as the `lingua franca' of data analysis and statisti...
- providing a platform for R users to discuss and exchan...
be used to do statistical computations, data analysis,...
exciting applications in various fields,
- giving an overview of the new features of the rapidly ...
project.
~
As for the predecessor conference, the program will consi...
keynote lectures and user-contributed sessions (abstract ...
available online starting from October 2005). Prior to th...
will be tutorials on R (proposals for tutorials should be...
2005-09-30).~
~
~
KEYNOTE LECTURES~
~
R becomes the standard computing engine in more and more ...
in academia and the business world. How R is used in diff...
presented in keynote lectures addressing hot topics inclu...
- Marketing
- Teaching
- R on Different Platforms
- Graphics
- History of S and R
~
Speakers will include John M. Chambers, John Fox, Stefan ...
Ligges, Paul Murrell, Peter Rossi, Simon Urbanek and Sanf...
~
~
USER-CONTRIBUTED SESSIONS~
~
The sessions will be a platform to bring together R users...
package maintainers and developers in the S spirit that `...
People from different fields will show us how they solve ...
with R in fascinating applications. The sessions are orga...
members of the program committee, including Claudio Agost...
Bivand, Peter Buehlmann, Ram醇pn D醇^az-Uriarte, Sandrine...
Eddelbuettel, Frank Harrell, Simon Jackman, Roger Koenker...
Martin, Balasubramanian Narasimhan, Peter Rossi, Anthony ...
Tutz and Antony Unwin and will cover topics such as~
- Applied Statistics & Biostatistics
- Bayesian Statistics
- Bioinformatics
- Econometrics & Finance
- Machine Learning
- Marketing
- Robust Statistics
- Spatial Statistics
- Statistics in the Social and Political Sciences
- Teaching
- Visualization & Graphics
- and many more.
~
~
PRE-CONFERENCE TUTORIALS~
~
Before the start of the official program, half-day tutori...
on Wednesday, June 14th, including a lecture on R graphic...
We invite R users to submit proposals for three hour tuto...
topics on R. The proposals should give a brief descriptio...
including goals, detailed outline, justification why the ...
important, background knowledge required and potential at...
proposals should be sent before 2005-09-30 to useR-2006@R...
~
~
~
After the official presentations, Vienna's famous wine an...
and restaurants proofed to be a very stimulating environm...
discussions at previous meetings of the R community like ...
2004'.~
~
We invite all R users to submit abstracts on topics prese...
exciting applications of R. A web page offering more info...
conference, abstract submission, registration and Vienna ...
~
http://www.R-project.org/useR-2006/
~
~
IMPORTANT DATES~
~
- registration: starting October 2005
- online abstract submission: starting October 2005
- submission deadline of tutorial proposals: 2005-09-30
- early registration deadline: 2006-01-31
- submission deadline of abstracts: 2006-02-28
- registration deadline: 2006-05-31
~
~
We hope to meet you in Vienna!~
~
~
The organizing committee:~
~
Torsten Hothorn, Achim Zeileis, David Meyer, Bettina Grue...
Kurt Hornik and Friedrich Leisch~
//
#comment
**ちょっとした正規表現関数 [#q268e516]
>[[takahashi]] (2005-07-15 (金) 04:30:03)~
~
sregex<-function(s,ex,f=NULL,extended=T,...){
ret<-list(m=-1,s=-1)
gm<-regexpr(ex,s,extended=extended,...)
if(gm==-1){return(ret)}
ret$m=substring(s,gm,gm+attr(gm,"match.length")-1)
ret$p=ifelse(gm==1,"",substring(s,1,gm-1))
ret$n=ifelse((gm+attr(gm,"match.length")-1)==nchar(s),...
substring(s,gm+attr(gm,"match.length"),nchar(s)))
ps<-0;exs<-strsplit(ex,"")[[1]]
for(i in 1:(length(exs)-1)){if(ifelse(extended,
exs[i]!="??",exs[i]=="??")
&& exs[i+1]=="("){ps<-ps+1}}
if(ps!=0){ret$s=as.character(lapply(1:ps,function(i){
sub(ex,sprintf("??%d",i),ret$m,extended=extended...
return(ret)
}
###############
> sregex("xxabcdefgyy","a((bc)(d(ef))g)")
$m
[1] "abcdefg"
$s
[1] "bcdefg" "bc" "def" "ef"
$p
[1] "xx"
$n
[1] "yy"
sub-matchを扱うマッチング関数ってありますか?
sub,gsub以外に見当たらないので作ってみましたが...
mはマッチ全体,sはsub-matchの文字ベクトル,pはマッチ以前...
まあ,普通の正規表現ライブラリなんかによくあるやつです.
//
#comment
**実行しないで予想しましょうシリーズ(3) [#r2dab793]
>[[青木繁伸]] (2005-07-11 (月) 18:41:29)~
~
as.integer(factor(c("aa","AA","bb","BB")))
教訓:知っているつもりの関数こそ,help をよく読むべし。~
//
-ASCIIコード順じゃなくて、sort()なんですね... -- &new{20...
#comment
**統計関連学会連合大会のチュートリアル [#affd503a]
>[[間瀬]] (2005-06-29 (水) 22:09:53)~
~
9月の統計関連学会連合大会で以下の~
[[チュートリアル:http://www.jfssa.jp/taikai/tutorial.htm#...
~
日時: 2005年9月12日(月) 13:30〜16:30
* 「Rによる経済・経営データの分析」
o オーガナイザ: 西郷 浩 (早稲田大学)
o 講演者: 山本義郎 (東海大),安川武彦 (金融...
//
#comment
**新しい R 本 [#m8f8a55e]
>[[間瀬茂]] (2005-06-19 (日) 20:52:31)~
~
つい最近ある方から新しい R 本の出版計画(秋頃?)を聞きまし...
//
-Cの落ちこぼれと言えば代表的なものはポインタでしょうか,さ...
-不正確でした。その本は R 本というよりは、S 言語本らしい(...
#comment
**「フリーソフトウェアRによる統計的品質管理入門」 [#q7e80...
>[[舟尾]] (2005-06-09 (木) 21:34:39)~
~
R commander の日本語化といえば関西大学の荒木先生ですが、...
~
[[「フリーソフトウェアRによる統計的品質管理入門」:http://...
~
タイトルは統計的品質管理入門となっておりますが、R のイン...
//
#comment
**google で R コードを見つける tips [#zd2ea98e]
>[[MKR]] (2005-05-26 (木) 17:37:26)~
~
R 関連の URL をインターネット検索するのが困難なことはよく...
filetype:R optim
filetype:R boxplot
等を使うことだそうです。確かにたくさん見つかります。お試...
//
#comment
**R パッケージの作者による解説論文 [#sf580f86]
>[[MKR]] (2005-05-26 (木) 17:20:54)~
~
R パッケージの作者による解説論文多数が [[J. Statistical S...
Firth
Bradley-Terry Models in R
Volume 12, Issue 01
Sturtz, Ligges, and Gelman
R2WinBUGS: A Package for Running WinBUGS from R
Volume 12, Issue 03
Mineo and Ruggieri
A Software Tool for the Exponential Power Distribution: ...
Volume 12, Issue 04
Ritz and Streibig
Bioassay Analysis Using R
Volume 12, Issue 05
Baddeley and Turner
spatstat: An R Package for Analyzing Spatial Point Patte...
Volume 12, Issue 06
Johnstone and Silverman
EbayesThresh: R Programs for Empirical Bayes Thresholding
Volume 12, Issue 08
Nason
pinktoe: Semi-automatic Traversal of Trees
Volume 14, Issue 01
Imai and Van Dyk
MNP: R Package for Fitting the Multinomial Probit Model
Volume 14, Issue 03
Buttrey
Calling the lp_solve Linear Program Software from R, S-P...
Volume 14, Issue 04
Zeileis and Grothendieck
zoo: S3 Infrastructure for Regular and Irregular Time Se...
Volume 14, Issue 06
Terpstra and McKean
Rank-Based Analyses of Linear Models using R
Volume 14, Issue 07
//
#comment
**実行しないで予想しましょうシリーズ(2) [#pb8ee497]
>[[青木繁伸]] (2005-05-25 (水) 15:00:16)~
~
勝手にシリーズ化したりして~
~
以下のプログラム実行するとどうなるでしょう
n <- length(1:1000000)
n*n
n^2
n*(n+1)
#class(n)
n <- 1000000
n*n
#class(n)
ヒント:注釈行を活かせば違いが分かる~
あるライブラリ(fBasic)のプログラムをハッキングしていて...
//
-lengthの知らなくても良い話
# これはベクトルを生成出来ない
a<-1:2^31
# ベクトルは生成出来るがlengthはNAになる(添字の扱いの問...
a<-1:(2^31-1)
length(a)
# 長さはちゃんと帰ってくる
a<-1:(2^31-2)
length(a)
バグなのか仕様なのか...謎は多い.-- [[なかま]] &new{2005-0...
-Macintosh版 R2.1.0a だと,a<-1:(2^31-1) も a<-1:(2^31-2)...
-すみません、64bit-Rじゃないと出来ません.(^_^; 将来はint...
#comment
**R グラフィックス ギャラリ [#n333791a]
>[[間瀬]] (2005-05-20 (金) 06:18:50)~
~
[[R グラフィックス ギャラリ:http://addictedtor.free.fr/gr...
//
#comment
**掲示板のアーカイブをダウンロードできますか? [#gec7459b]
>[[ハマちゃん]] (2005-05-17 (火) 12:51:06)~
~
このHPでいつも勉強させていただいてありがとうございます。...
//
-「Q&Aの内容は結構消されたりしますよね」 =>普通そんなこ...
-失礼。カット&ペーストはしないで下さい。コピー&ペースト...
-[[こんなの:http://web.archive.org/web/*/http://www.okada...
-おお、なつかしい>Web Archive. 質問の件は、もしMacでTiger...
#comment
**R 壁紙 [#a0922967]
>[[間瀬]] (2005-05-11 (水) 17:25:51)~
~
[[R 壁紙:ftp://ftp.ariadna.pl/pub/R-walls/]] を作った人が...
//
-r-project-2-1280.jpg あたりを壁紙にしてみます♪ -- [[舟尾...
#comment
**CRAN Task Views [#if9d674e]
>[[間瀬]] (2005-05-09 (月) 16:38:54)~
~
最新 R News に CRAN のパッケージ(現在 500 あまりだそう...
//
-さらにパッケージ ctv というのを使うと R からこれが覗ける...
#comment
**「R for Mac OS X」 from Apple.COM [#q391d64f]
>[[舟尾]] (2005-05-03 (火) 11:17:48)~
~
最近 Mac デビューした舟尾です.「R for Mac OS X」というタ...
http://www.apple.com/downloads/macosx/math_science/rforma...
//
-おお^^驚きました。Tigerはまだ未入手ですが、動作してい...
-Tiger は,29日14時頃に届き,即,インストールしました。R ...
-Tiger で行列計算をさせると,かなり速そうですねぇ〜!逆に...
-全く関係のない話しですが面白かったので披露しておきます。...
-いや〜,サラリーマンな私にとっては他人事ではないお話です...
-B・S・D! B・S・D! -- [[aki]] &new{2005-05-04 (水) 03:17:...
-うちは,(恥ずかしいので内緒の話ですが,)事務部門(いろ...
MSWでしか処理できないファイルというのも,少なくなりました...
-三刀流になるために,AのとなりはCTRLに統一しました. Noteは...
-アプリの対応待ちでまだTigerにできないのでお教えてほしい...
-自分で64bitコンパイルするしか今のところないかと. -- [[な...
-お返事,どうもです.Tigerにしたらがんばってみます. -- [...
-gcc-4.0によるG5最適化ビルドとか64bitビルドとかについては...
-Panther (10.3.9) 上の R-GUI ですが、環境設定の変更が反映...
-あと、起動後にフォントを拡大しようとすると、1回めは必ず...
-フォントは確かに最初は極小になりますね。ワークスペースブ...
-ワークスペースを消去してみたら件のエラーは出なくなりまし...
#comment
**今ならもれなく R3.1.0 が?? [#f5a345d6]
>[[青木繁伸]] (2005-04-29 (金) 12:25:40)~
~
http://cran.md.tsukuba.ac.jp/bin/macosx/R-2.1.0.dmg から...
実際にダウンロードされたファイル名も R-3.1.0.dmg なのです...
//
-いつの間にか,R 2.1.0 に戻っていました(^_^) -- [[青木繁...
-プリントスクリーンをして記念に取っておこうと思ったのです...
#comment
**VineLinux用のR-2.1.0-0vl1.i386.rpmができました [#vcf04f...
>[[谷村]] (2005-04-27 (水) 15:17:09)~
~
R-2.1.0-0vl1.i386.rpm~
R-devel-2.1.0-0vl1.i386.rpm~
libRmath-2.1.0-0vl1.i386.rpm~
libRmath-devel-2.1.0-0vl1.i386.rpm~
をputしました。しばらくしたら、CRANに反映されるでしょう。~
なかまさんの「make checkはLANG=Cにしろ」というアドバイス...
ちなみに、~
$ rpm -qpl R-devel-2.1.0-0vl1.i386.rpm
/usr/share/doc/R-devel-2.1.0
/usr/share/doc/R-devel-2.1.0/R-exts.pdf
$ rpm -qpl libRmath-2.1.0-0vl1.i386.rpm
/usr/lib/libRmath.so
$ rpm -qpl libRmath-devel-2.1.0-0vl1.i386.rpm
/usr/include/Rmath.h
/usr/lib/libRmath.a
となっています。Descriptionの日本語訳がおかしいときにはど...
国際化もされたことだし、そろそろVinePlusへ本家版をそのま...
# apt-get R
で、最新版のRをインストールできるようになります。
//
-問題は無いと思いますが,安定系で使いたい人は2.1.1まで入れ...
#comment
**gcc-4.0.0 [#id8844a3]
>[[なかま]] (2005-04-23 (土) 15:24:49)~
~
えー,gcc-4.0.0を入れてRのコンパイルを行ってみました.~
実行速度が非常に早くなりました.boot-Exなんかで20%程.~
先頃まで人間オプィマイズしていたrnorm等は60%も高速になり...
手元の環境はアレゲなので,なにか影響があるとなんですので,...
いただければ.(^_^;~
//
-gcc 4 * libgoto * Tierney byte compile -> どこまで早くな...
-書斎*ガレージ*サンルーム => どんな家に住もうか夢は膨らみ...
#comment
//インストローラーとかインストローラーとかなんじゃらほい
**英語版baseのインストーラーの不具合について [#hd0e3096]
>[[Y]] (2005-04-22 (金) 15:46:16)~
~
日本のサーバーからbaseのインストーラーをダウンロードして...
~
どうすればよいのでしょう。~
~
私自身、パソコンの初心者ではないのですが、この事態には困...
//
- インストールが出来ない? インストール後の実行がおかしい...
後者なら cmd.exe を実行し、
set LC_ALL=C
C:?Program Files?R?rw2010?bin?RGui.exe
-- [[なかま]] &new{2005-04-22 (金) 16:34:03};
-あ、インストールの経過表示でRconsoleで止まると言う意味で...
-そうです。インストール経過表示でRconsoleあたりで止まるの...
-念のため, R-2.1.0では日本語版と言うのは存在しません. Win...
-解決いたしました。「ディスクが腐っている」のではなくて、...
インストローラーってなんじゃらほい
#comment
**Postscript出力における日本語の文字化けと対処 [#j82e49ca]
>[[谷村]] (2005-04-22 (金) 11:38:58)~
~
皆様のご尽力のより、R 2.1.0から、本家版でも日本語メッセー...
~
> あ <- runif(10)
> い <- runif(10)
> plot(あ,い,main="日本語タイトル")
~
結果は、~
~
&ref(Screenshot-R2.1.0-x.png); ~
&ref(Screenshot-R2.1.0-gv1.png); ~
~
上側のように正しく日本語が表示されています。しかし、これ...
保存すると、下側のgvでの表示のように文字化けします。~
~
*** 対処方法 [#sfecbc6b]
この文字化けの原因は、日本語の字句自体は正しく処理されて...
日本語で記述されている箇所のフォントを日本語Postscriptフ...
~
#ref(Screenshot-R2.1.0-gv2.png,center)~
~
このように日本語が正しく表示されます。~
具体的な方法は、例えば上記の例で説明すると、epsファイルの...
0.00 0.00 503.60 503.29 cl
/ps 14 def /Font2 findfont 14 s
0 0 0 rgb
266.20 468.75 (日本語タイトル) .5 0 0 t
/ps 12 def /Font1 findfont 12 s
266.20 18.72 (あ) .5 0 0 t
12.96 258.85 (い) .5 0 90 t
とあるのを
0.00 0.00 503.60 503.29 cl
/ps 14 def /Ryumin-Light-EUC-H findfont 14 s
0 0 0 rgb
266.20 468.75 (日本語タイトル) .5 0 0 t
/ps 12 def /Ryumin-Light-EUC-H findfont 12 s
266.20 18.72 (あ) .5 0 0 t
12.96 258.85 (い) .5 0 90 t
とします。Ryumin-Light-EUC-Hは明朝体の日本語標準Postscrip...
*** おまけ [#n125df7d]
上記例をさらにこんな風に編集すると~
~
0.00 0.00 503.60 503.29 cl~
/ps 14 def /&color(red){GothicBBB-Medium-EUC-H}; findfont...
0 0 0 rgb~
266.20 468.75 (日本語タイトル) .5 0 0 t~
/ps 12 def /Ryumin-Light-EUC-H findfont 12 s~
266.20 18.72 (&color(red){横書きテスト};) .5 0 0 t~
&color(red){243 300 (アメリカ) .5 0 0 t};~
&color(red){315 225 (日本国) .5 0 0 t};~
&color(red){/ps 12 def /Ryumin-Light-EUC-V findfont 12 s};~
12.96 &color(red){290}; (&color(red){縦書きテスト};) .5 0...
#ref(Screenshot-R2.1.0-gv3.png,center)~
こんな風に自由自在。Ryumin-Light-EUC-Vは縦書きフォント。...
gvを使うと、マウスポインタの位置座標を表示してくれるので...
//
-長くなりすぎました。なんでも掲示板じゃなくて、独立したペ...
#comment
**CRAN のサイズ [#zb56835f]
>[[MKR]] (2005-04-22 (金) 06:53:02)~
~
単なる好奇心ですが、r-help に CRAN のコンテンツの総サイズ...
~
$ rsync -nrtlvz cran.r-project.org::CRAN | grep "total"
total size is 5114784835 speedup is 13170.59
//
-あれれ、cran.okada.jp.org は 9601056 kB, cran.md.tsukuba...
#comment
**2×2分割表のイエーツの補正 [#j1895ac4]
>[[青木繁伸]] (2005-04-20 (水) 17:07:43)
9 10
9 11
のときに,R でイェーツの補正をしてカイ二乗検定すると,間...
> chisq.test(matrix(c(9,10,9,11),2,2))
Pearson's Chi-squared test with Yates' continuity corre...
data: matrix(c(9, 10, 9, 11), 2, 2)
X-squared = 0.0299, df = 1, p-value = 0.8626
正しい答えは
X-squared = 0, df = 1, p-value = 1
と思われる。
# if (correct && nrow(x) == 2 && ncol(x) == 2) {
# YATES <- 0.5
# METHOD <- paste(METHOD, "with Yates' con...
# }
# else YATES <- 0
# STATISTIC <- sum((abs(x - E) - YATES)^2/E)
## replace begin
if (correct && nrow(x) == 2 && ncol(x) == 2) {
STATISTIC <- if (abs(x[1,1]*x[2,2]-x[1,2...
else sum((abs(x - E) - 0.5)...
METHOD <- paste(METHOD, "with Yates' con...
}
else STATISTIC <- sum((abs(x - E))^2/E)
## replace end
~
-彼(ら)は,Yates の原典に従っているのだから,これで良い...
同じ答えを返すはずの prop.test が以下のような答えを返すの...
> prop.test(matrix(c(9, 10, 9, 11), 2, 2)) # chisq.test ...
2-sample test for equality of proportions with
continuity correction
data: matrix(c(9, 10, 9, 11), 2, 2)
X-squared = 0, df = 1, p-value = 1
alternative hypothesis: two.sided
以下略
ちなみに,SPSS も,このような場合にはカイ二乗値として 0,...
イェーツの補正(連続性の修正)は,しない方が良いという議...
-おそるおそる...出典(コードを書いた人とか)が明らかでない...
-話が長くなってきたので,続きは[[別のところ:http://aoki2....
- R-2.15.1 から修正されました。問題のような場合には「カイ...
#comment
**R. Tierney 氏の R バイトコンパイラー [#cb806f14]
>[[間瀬]] (2005-04-19 (火) 06:28:58)~
~
以前から噂になっている R のバイトコンパイラーですが、すで...
ソースコードに附属の例を実行してみました。それなりに早く...
> source("cmp.R")
> # old R version of lapply
> la1 <- function(X, FUN, ...) {
+ FUN <- match.fun(FUN)
+ if (!is.list(X))
+ X <- as.list(X)
+ rval <- vector("list", length(X))
+ for(i in seq(along = X))
+ rval[i] <- list(FUN(X[[i]], ...))
+ names(rval) <- names(X) # keep `name...
+ return(rval)
+ }
> # a small variation
> la2 <- function(X, FUN, ...) {
+ FUN <- match.fun(FUN)
+ if (!is.list(X))
+ X <- as.list(X)
+ rval <- vector("list", length(X))
+ for(i in seq(along = X)) {
+ v <- FUN(X[[i]], ...)
+ if (is.null(v)) rval[i] <- list(v)
+ else rval[[i]] <- v
+ }
+ names(rval) <- names(X) # keep `name...
+ return(rval)
+ }
> # Compiled versions
> la1c <- cmpfun(la1) # la1 をバイ...
Note: local functions used: FUN
> la2c <- cmpfun(la2) # la2 をバイ...
Note: local functions used: FUN
> # some timings
> x<-1:10
> y<-1:100
> system.time(for (i in 1:10000) lapply(x, is.null))
[1] 7.13 0.00 7.12 0.00 0.00
> system.time(for (i in 1:10000) la1(x, is.null))
[1] 13.68 0.01 13.68 0.00 0.00
> system.time(for (i in 1:10000) la1c(x, is.null)) # 1....
[1] 8.79 0.00 8.79 0.00 0.00
> system.time(for (i in 1:10000) la2(x, is.null))
[1] 13.89 0.00 13.89 0.00 0.00
> system.time(for (i in 1:10000) la2c(x, is.null)) # 1....
[1] 8.75 0.00 8.75 0.00 0.00
> system.time(for (i in 1:1000) lapply(y, is.null))
[1] 0.93 0.00 0.93 0.00 0.00
> system.time(for (i in 1:1000) la1(y, is.null))
[1] 5.57 0.00 5.58 0.00 0.00
> system.time(for (i in 1:1000) la1c(y, is.null)) # 4....
[1] 1.22 0.00 1.23 0.00 0.00
> system.time(for (i in 1:1000) la2(y, is.null))
[1] 5.72 0.00 5.71 0.00 0.00
> system.time(for (i in 1:1000) la2c(y, is.null)) # 4....
[1] 1.21 0.00 1.21 0.00 0.00
ちなみにコンパイル済みのコードは次のようになります。実体...
> la1c
function (X, FUN, ...)
{
FUN <- match.fun(FUN)
if (!is.list(X))
X <- as.list(X)
rval <- vector("list", length(X))
for (i in seq(along = X)) rval[i] <- list(FUN(X[[i]]...
names(rval) <- names(X)
return(rval)
}
<bytecode: 0x8b84878>
「データサイエンス入門」中の qiuck 関数で検査。必ずしもい...
> qiuckc <- cmpfun(quick)
> set.seed(1123); system.time(x <- quick(runif(10000)))
[1] 3.92 0.00 3.92 0.00 0.00
> set.seed(1123); system.time(x <- quickc(runif(10000)))
[1] 3.91 0.00 3.92 0.00 0.00 ...
> set.seed(1123); system.time(x <- quick(runif(100000)))
[1] 180.98 43.33 229.42 0.00 0.00
> set.seed(1123); system.time(x <- quickc(runif(100000)))
[1] 163.52 29.56 193.31 0.00 0.00 ...
//
-disassemble(la1c)で覗けば, パース(構文解析)後のデータに...
-FORTRAN や C のような構文でバリバリにかいたものなら早く...
関数引用をつなげたものなら,早くなりようがない。FORTRAN ...
というか,プログラミング言語的に作った R プログラムっての...
結局,どんな場合も,たいした効果はないというのがオチ? --...
-なるほど、かなり意味不明のコードに変わっていますね。構文...
> disassemble(la1c)
list(.Code, list(4, GETSYMFUN.OP, 1, MAKEPROM.OP, 2, CAL...
3, SETVAR.OP, 4, POP.OP, GETBUILTIN.OP, 5, GETVAR.OP,...
PUSHARG.OP, CALLBUILTIN.OP, 7, NOT.OP, BRIFNOT.OP, 30...
8, MAKEPROM.OP, 9, CALL.OP, 10, SETVAR.OP, 6, GOTO.OP...
LDNULL.OP, POP.OP, GETINTLBUILTIN.OP, 11, PUSHCONSTAR...
12, GETBUILTIN.OP, 13, GETVAR.OP, 6, PUSHARG.OP, CALL...
14, PUSHARG.OP, CALLBUILTIN.OP, 15, SETVAR.OP, 16, PO...
GETSYMFUN.OP, 17, MAKEPROM.OP, 18, SETTAG.OP, 19, CAL...
20, STARTFOR.OP, 21, 93, GETBUILTIN.OP, 22, GETFUN.OP...
MAKEPROM.OP, 23, DODOTS.OP, CALL.OP, 24, PUSHARG.OP, ...
25, STARTASSIGN.OP, 16, 26, GETVAR.OP, 16, STARTSUBAS...
27, 89, GETVAR.OP, 21, PUSHARG.OP, GETVAR.OP, 26, PUS...
SETTAG.OP, 28, DFLTSUBASSIGN.OP, ENDASSIGN.OP, 16, 26...
STEPFOR.OP, 60, ENDFOR.OP, POP.OP, GETSYMFUN.OP, 29, ...
30, CALL.OP, 31, STARTASSIGN.OP, 16, 26, GETSYMFUN.OP...
MAKEPROM.OP, 33, MAKEPROM.OP, 34, SETTAG.OP, 28, CALL...
35, ENDASSIGN.OP, 16, 26, POP.OP, CALLSPECIAL.OP, 36,...
list({
FUN <- match.fun(FUN)
if (!is.list(X))
X <- as.list(X)
rval <- vector("list", length(X))
for (i in seq(along = X)) rval[i] <- list(FUN(X[[...
...))
names(rval) <- names(X)
return(rval)
}, match.fun, list(.Code, list(4, GETVAR.OP, 0, RETUR...
list(FUN)), match.fun(FUN), FUN, is.list, X, is.l...
as.list, list(.Code, list(4, GETVAR.OP, 0, RETURN...
list(X)), as.list(X), vector, "list", length,...
vector("list", length(X)), rval, seq, list(.Code,...
4, GETVAR.OP, 0, RETURN.OP), list(X)), along,...
i, list, list(.Code, list(4, GETVAR.OP, 1, STARTS...
2, 10, GETVAR.OP, 3, PUSHARG.OP, DFLTSUBSET2....
RETURN.OP), list(X[[i]], X, X[[i]], i)), FUN(...
...), list(FUN(X[[i]], ...)), `*ctmp*`, "[<-"...
i, value = `*ctmp*`), value, names, list(.Cod...
4, GETVAR.OP, 0, RETURN.OP), list(X)), names(...
`names<-`, list(.Code, list(4, GETVAR.OP, 0, RETU...
list(rval)), list(.Code, list(4, GETVAR.OP, 0...
list(`*ctmp*`)), "names<-"(rval, value = `*ct...
return(rval)))
-インタープリタとコンパイラという関係なら,圧倒的に早くな...
-R は C 、Fortran サブルーティン集ではありません。「Rはイ...
-固有値・固有ベクトルを求める eigen の心臓部は, z <- .Fo...
-eigenの"rg"はEISPACK(appl/eigen.f)の物です. デフォルトだ...
- R最適化Tips 中のトランプシミュレーションプログラム test...
> test44 <- function (repl) {
x <- matrixc(0, nrow = 10, ncol=repl)
a <- repc(0:3,13)
for (i in 1:repl) x[,i] <- samplec(a, 10)
y <- matrixc(x, nrow=5)
z <- y - matrixc(y[1,], nrow=5, ncol=2*re...
w <- matrix(colSumsc(abs(z)), nrow=2)
pass <- sumc(w[1,]*w[2,]==0)
pass/repl
}
> test44c <- cmpfun(test44) # 本体もバ...
> set.seed(1111); system.time(test4(10000)) # オリジナ...
[1] 1.11 0.01 1.11 0.00 0.00
> set.seed(1111); system.time(test44c(10000)) # バイト...
[1] 0.58 0.01 0.59 0.00 0.00
> set.seed(1111); system.time(test4(100000)) # オリジ...
[1] 10.66 0.08 10.74 0.00 0.00
> set.seed(1111); system.time(test44c(100000)) # バイト...
[1] 5.71 0.07 5.79 0.00 0.00
-しつっこく実験。不思議なことに気づきました。中で使うシス...
> gc(); set.seed(1111); system.time(test4(10000)) # オ...
[1] 1.07 0.02 1.09 0.00 0.00
> gc(); set.seed(1111); system.time(test4c(10000)) # そ...
[1] 0.61 0.01 0.62 0.00 0.00
> gc(); set.seed(1111); system.time(test44(10000)) # 中...
[1] 1.02 0.00 1.02 0.00 0.00
> gc(); set.seed(1111); system.time(test44c(10000)) # そ...
[1] 0.57 0.00 0.57 0.00 0.00
-apply()wo -- &new{2005-12-29 (木) 17:34:26};
-すみません。先のコメントは誤りです。Q&Aコーナーで質問さ...
#comment
**R 2.1.0 リリース [#u0f34bea]
>[[間瀬]] (2005-04-18 (月) 21:52:59)~
~
本日 R 2.1.0 がリリースされたようです。目玉はなんといって...
INTERNATIONALIZATION
o Unix-alike versions of R can now be used in UTF-8 and ...
multi-byte locales on suitably equipped OSes if config...
with option --enable-mbcs (which is the default). [The
changes to font handling in the X11 module are based o...
Japanization patches of Eiji Nakama.]
//
-おー、神よ!。まだ作ってる最中なのにぃ〜。(X11間に合わな...
-素晴らしいっ!なかまさんの名前が入っているっ!!早速、ダ...
-ESSのところにも書きましたが、ESS 2.5.6以前はR 2.1.0で正...
-飛びついてみました! でもRed Hat 7.3では、make checkで
> ## The following two examples use latin1 characters: th...
> ## appear correctly (or be omitted entirely).
> plot(1:10, 1:10, main = "text(...) examples?n~~~~~~~~~~...
>+ sub = "R is GNU , but not ...")
>エラー:mbcs_get_next 中に不正なマルチバイト文字列があり...
>実行が停止されました
というエラーが出てしまった。でも動いてます。 -- [[たか]] ...
-make check は LANG=C LC_ALL=C make check 等としましょう...
-ロケール変えたら、OKでした! ありがとうございます。 -- ...
-Windows XP環境でインストールしてみたら,デフォルトフォン...
- 2.1.0にアップデートしたら、
> update.packages(ask=FALSE, checkBuilt=TRUE)
を実行してパッケージの再インストールをした方がよい? -- [...
-えー,フォント回りは改善せなあきません. *nix系のパッケー...
-R-2.1.0を 'FreeBSD 4.8-RELEASE' でコンパイルしようとした...
-エラーメッセージの内容は? -- [[なかま]] &new{2005-04-20 ...
-FreeBSD 4.9-Rでコンソールから試してみたところ,表示され...
character.c: In function `do_tolower':
character.c:1300: syntax error before `tr'
character.c:1313: `tr' undeclared (first use in this fun...
character.c:1313: (Each undeclared identifier is reporte...
character.c:1313: for each function it appears in.)
*** Error code 1
となりました。gccのバージョンは2.95.4 20020320です。これ...
-gcc-2.95.3でも大丈夫でした. glibcかな? 以下でお茶を濁せ...
--- character.c.orig 2005-04-19 06:30:01.000000000 +0...
+++ character.c 2005-04-20 14:25:22.000000000 +0900
@@ -1297,7 +1297,7 @@
#ifdef SUPPORT_MBCS
if(mbcslocale) {
int nb, nc, j;
- wctrans_t tr = wctrans(ul ? "toupper" : "tolower...
+ const int* tr = wctrans(ul ? "toupper" : "tolowe...
wchar_t * wc;
/* the translated string need not be the same le...
for(i = 0; i < n; i++) {
-なかまさんのご教示があったとおり変更したら*.cのコンパイ...
-もしかして等と調べると, http://www.freebsd.org/projects/...
-./configure --disable-mbcs ではダメでしょうか? (((^-^; -...
-R教授より.解決する(4.xで動く)訳ではないけれど
OK, thanks, we need to add a test for wctrans_t and not ...
I checked the C99 standard and we got it right according...
となりまいた. -- [[なかま]] &new{2005-04-20 (水) 20:40:03};
-なかまさん,ありがとうございます。./configure --disable-...
-なお,これでBuildしたRを起動するときは,setenv LANG Cと...
-shareの下のlocaleをlocale.notuseとかでrenameしとけば,メ...
#comment
**R Graphic Gallery [#q881b05f]
>[[間瀬]] (2005-04-18 (月) 21:29:41)~
~
先にお知らせした R Graphic Gallery が新装オープンしたよう...
//
#comment
**nls と lm における formula で factor を使うこと [#h700a...
>[[青木繁伸]] (2005-04-18 (月) 18:59:52)~
~
nls では,formula 中に factor は使えないというのが,別記...
lm では,使えるしかも,ちゃんとランクを調整してくれる。
> x1 <- c("c","b","b","c","c","a","b","a","c","a","c","b...
> x2 <- c("M","M","F","M","M","M","F","F","M","M","F","M...
> y <- c(7,6,7,7,7,5,7,6,7,5,8,6,7,7,8)
> lm(y ~ x1+x2) # これはエラーになる【あ】
Error in model.frame(formula, rownames, variables, varna...
invalid variable type
> lm(y ~ as.factor(x1)+as.factor(x2)) # factor にすると...
Call:
lm(formula = y ~ as.factor(x1) + as.factor(x2))
Coefficients:
(Intercept) as.factor(x1)b as.factor(x1)c
6 1 2
as.factor(x2)M
-1
x1, x2 が文字列の値を取るとき,それをそのまま使ってもエラ...
as.factor(x1) のように使うとちゃんと解が得られる(【い】...
ところで,x1 が a,b,c のいずれを採るかについて3つの二値...
> x1a <- as.integer(x1=="a")
> x1b <- as.integer(x1=="b")
> x1c <- as.integer(x1=="c")
> x2F <- as.integer(x2=="F")
> x2M <- as.integer(x2=="M")
このうち,x1b, x1c, x2M を使うと,【い】と同じ結果【う】...
> lm(y ~ x1b+x1c+x2M) # 【う】
Call:
lm(formula = y ~ x1b + x1c + x2M)
Coefficients:
(Intercept) x1b x1c x2M
6 1 2 -1
もし,5つの変数全部を使うと,ランク落ちがあるので,結果...
実際に使われる変数が【い】と異なるので,別の結果のように...
> lm(y ~ x1a+x1b+x1c+x2F+x2M) # 【え】
Call:
lm(formula = y ~ x1a + x1b + x1c + x2F + x2M)
Coefficients:
(Intercept) x1a x1b x1c
7 -2 -1 NA
x2F x2M
1 NA
使う変数のセットによって,係数も違うが,本質的に全部同じ...
> lm(y ~ x1a+x1b+x2F) # 【え'】
Call:
lm(formula = y ~ x1a + x1b + x2F)
Coefficients:
(Intercept) x1a x1b x2F
7 -2 -1 1
ところで,lsfit という関数もある。この使い方は
> lsfit(cbind(x1b,x1c,x2M), y) # 【お】
$coefficients
Intercept x1b x1c x2M
6 1 2 -1
用いる変数を同じにすれば,【い】と同じになる。~
もし,5つの変数全部を使うようにしても同じ結果が得られそう...
> lsfit(cbind(x1a,x1b,x1c,x2F,x2M), y)
$coefficients
Intercept x1a x1b x1c x2F
7 -2 -1 1 0
x2M
0
lsfit はこのような事態を想定していないのだな。~
あれこれ書いたが,lm で factor をつかうのは,小細工をしな...
ちなみに,一般化逆行列を使って重回帰分析を行えば,5つの変...
const x1a x1b x1c x2F x2M
6.625 -1.125 -0.125 0.875 0.5 -0.5
//
#comment
**プログラムにおける「名前」の意味するもの [#l112d33c]
>[[青木繁伸]] (2005-04-08 (金) 22:12:38)~
~
list(... foo=bar ...)~
とか,~
lm(y ~ x,....)~
などのとき,foo, bar, y, x が,単なる文字定数(文字変数)...
関数の作者によっては,単なる文字列が指定されたときにも,...
> a <- "2"
> sqrt(a) # こういうエラーをする人はあまりいないだろう
Error in sqrt(a) : Non-numeric argument to mathematical ...
> sqrt(as.numeric(a)) # こういう風にすれば,意図していた...
[1] 1.414214
> my.sqrt <- function(x) # こういう風に関数を定義してく...
+ {
+ sqrt(as.numeric(x))
+ }
> my.sqrt("2") # おっちょこちょいでも,救われる(^_^;)
[1] 1.414214
> my.sqrt(2) # 当然,ちゃんと使っても,ちゃんと使える(^_...
[1] 1.414214
> my.sqrt("abc") # さすがにこれはだめ。
# でも,abc は16進整数の可能性が有るからと救ってやるの...
いやいや,おんぶにだっこにならされたユーザが,厳しい(面...
//
-my.sqrt("0xabc"). my.sqrt(charToRaw("abc")) もうなんでも...
#comment
**メッセージ翻訳作業中の皆様へ [#r29add9c]
>[[なかま]] (2005-03-24 (木) 22:03:45)~
~
~
-- snip --
Thanks. I have merged these, but please note that I had...
changes for msgfmt -c to work:
- Some of the RGui-ja.po ones were missing a final ?n.
- When the order of the formats is changed, the %2$s for...
(I had to guess the order in one class, so please check ...
-- snip --
Could you also please at some point give us a list of na...
po/THANKS file?
と言うわけで,名前(英名) メールアドレスを書き込んでくださ...
ex. MEI SEI <hoge_at_foo.bar.jp>
尚,SPAMが沢山来るようになっても一切の責任は負いませんので...
//
-お譲りします(^_^;) -- [[青木繁伸]] &new{2005-03-24 (木) ...
-参考までに私の過去1年分のSPAM国別?ランキングです. -- [[...
10764 com
2500 net
2111 jp
675 de
575 uk
351 ru
223 ca
217 fr
209 it
200 nl
191 cn
181 ????
169 au
161 br
157
153 ch
136 org
133 pl
115 se
109 cz
104 es
-最近私宛に差出人が私のスパムメールが大量に届くようになり...
-エンベローブ(ほんとの差出人と言うか)を偽られてまだ回線が...
-[[po/THANKS:https://svn.r-project.org/R/trunk/po/THANKS]...
-おっと,私の名前が^^.名前を載せていただいたからには頑張...
#comment
**R のマニュアル日本語訳が CRAN に登録されました [#z6f892...
>[[間瀬茂]] (2005-03-17 (木) 23:05:39)~
~
岡田さんが英語ページにメモして頂いたのが、このところメッ...
//
#comment
**統計数理研究所のワークショップ [#i0f73ec9]
>[[間瀬]] (2005-03-17 (木) 00:55:35)~
~
表記の集会に参加された方はいらっしゃいますか?私は用事で...
//
-すみません,私も私用のため出席できませんでした….情報を...
#comment
**RjpWiki のスポンサー? [#a686a1d3]
>[[MKR]] (2005-03-14 (月) 20:27:57)~
~
いつごろからか、google で RjpWiki をキーワード検索すると...
~
スポンサー
R、S-PLUS、SAS連携機能~
汎用データマイニング、最新技術搭載~
バイオ、医療、製造、通信、金融、CRM~
www.msi.co.jp/vmstudio/~
//
-クリックすると広告主に請求が行くシステムなのでは...msiさ...
-これは,検索したものに近い,しかも google に何らかの契約...
-googleの貴重な収益源の一つと言うことで.:-):-) -- [[なか...
-キーワード "S-PLUS" でもやはり同じ会社の広告が表示される...
-頻繁に使われるキーワードが多いので検索エンジンにはなかな...
#comment
**Translations progress [#fabd8ba6]
>[[なかま]] (2005-03-14 (月) 19:41:04)~
~
With the release of 2.1.0 scheduled for April 18, just o...
month away,
I thought I would give an update on the progress of tran...
known to me. (`fuzzy' translations are ignored, and are...
due to small
changes in the messages or wild guesses by msgmerge.)
Translators are continually pointing out small problems in
messages (or we spot them), so the templates are updated
frequently. However, I believe that all the major changes
(to use quotes more consistently and to use
gettextf to make the messages more translatable) are now
finished for 2.1.0.
Updating seems to work well (see po/README for how to do...
R.pot (the C-level messages)
de: 148 translated messages, 49 fuzzy translations, 1450...
it: 886 translated messages, 761 untranslated messages.
pt_BR: 1638 translated messages, 4 fuzzy translations, 5...
zh_CN: 1644 translated messages, 3 untranslated messages.
RGui.pot:
it: 169 translated messages, 7 fuzzy translations, 88 un...
R-base.pot:
it: 335 translated messages, 64 fuzzy translations, 15 u...
R-zh_CN: 411 translated messages, 3 untranslated messages.
R-grDevices.pot:
it: 58 translated messages, 2 fuzzy translations, 2 untr...
grDevices.pot:
it: 107 translated messages.
R-graphics.pot:
it: 69 translated messages, 44 fuzzy translations, 1 unt...
[I can resolve a lot of these as they are just missing q...
To give you some idea of the size of the package catalogs:
base/po/R-en@quot.po: 414 translated messages.
grDevices/po/R-en@quot.po: 62 translated messages.
grDevices/po/en@quot.po: 107 translated messages.
graphics/po/R-en@quot.po: 114 translated messages.
grid/po/R-en@quot.po: 130 translated messages.
grid/po/en@quot.po: 13 translated messages.
methods/po/R-en@quot.po: 216 translated messages.
methods/po/en@quot.po: 26 translated messages.
splines/po/R-en@quot.po: 19 translated messages.
splines/po/en@quot.po: 1 translated message.
stats/po/R-en@quot.po: 632 translated messages.
stats/po/en@quot.po: 40 translated messages.
stats4/po/R-en@quot.po: 6 translated messages.
tcltk/po/R-en@quot.po: 5 translated messages.
tools/po/R-en@quot.po: 87 translated messages.
tools/po/en@quot.po: 3 translated messages.
utils/po/R-en@quot.po: 189 translated messages.
For the MacOS X GUI I see de, it and ja translations in ...
I see from http://www.okada.jp.org/RWiki/index.php?RJapa...
that Japanese translations of R.pot and RGui.pot are in ...
ja.po seems substantially complete (1601 translated mess...
version of a couple of weeks ago).
We now have the concept of `translation packages' (descr...
developer.r-project.org/Translations.html page once it g...
`Writing R Extensions'): please let me know if you would...
translations to be part of the main tarball or to distri...
separately as a package.
I think we should aim to finalize translations to be dis...
2.1.0 by code freeze on April 11th.
Brian Ripley
//
-3/9時点のメッセージを取り込んでWindowsで確認したところ,...
-etc/Rconsole,etc/Rdevga のフォントは手動で(FixedFontがい...
-R.pot と RGui.pot 以外のメッセージ訳はまだ未着手ですね?...
-うっかりこちらに書いてしまいましたが,[[R メッセージ日本...
-なかまさん,ご尽力ありがとうございます!早速インストール...
-日本語化では無く国際化です.:-) -- [[なかま]] &new{2005-0...
-ついででなんですが、nmath系の関数の速度はいかがでしょう...
-baseとstatsが大きいですね...4月に間に合うかな? -- [[岡...
-大きめの R-stats.pot の素訳を私が作ります(もしかしてど...
-国際化作業のほうがまだまだかかりますんで,メッセージもゆ...
-日本語化では無く国際化でしたか!!これは失礼致しました^^...
n <- 100; mean <- 0; p <- 1:n^2/n^2
for (i in 1:n) mean <- mean + system.time(x <- pgamma(qg...
mean/n # R 2.0.1で実行
[1] 0.1208
mean/n # R 2.1.0 devel(国際化版)で実行
[1] 0.0843
メチャメチャ速くなってますねぇ〜。あと、翻訳作業はお手伝...
-Prof.Riplayメールの最後に、「日本語訳はR本体に最初から組...
-組み込んでもらうに一票. -- [[なかま]] &new{2005-03-15 (...
-人柱ビルドなどのご用命がございましたら御申しつけください...
-起動メッセージが日本語化されていないとの R 教授の注があ...
-起動メッセージは現在はメッセージ翻訳ページに入っています...
-意味がわからん -- [[マニア]] &new{2005-03-17 (木) 14:41:...
#comment
**Rwww [#p909dbba]
>[[okinawa]] (2005-03-11 (金) 16:29:52)~
~
RwwwというRをWebで簡単に使うためのCGIのページ作りました。...
//
-バージョンアップしました。かなり高速化しました。 -- [[ok...
-デモサイトはないのでしょうか? -- &new{2005-03-17 (木) ...
-申し訳ございません。サーバーにできそうな筐体もってないで...
-デモサイトみてみたいです。 -- [[たかの]] &new{2005-06-17...
-お返事おそくなりました.デモサイトの件、考えてみます. -- ...
#comment
**日本人修士が作った R パッケージ [#se0c0fe5]
>[[間瀬茂]] (2005-02-25 (金) 19:33:45)~
~
東工大の大学院修士課程を今度修了する鈴木了太さん(一ツ橋大...
~
下平研の鈴木です.本日,修論で作成したRパッケージpvclust...
ので,そのお知らせです.
http://cran.r-project.org/src/contrib/Descriptions/pvclu...
マルチスケール・ブートストラップ法を用いた階層型クラスタ...
値計算)を行うプログラムです.よろしければお使いいただい...
だければ幸いです.すでにinstall.packages("pvclust")でイ...
です.使用例はexample(pvclust)をご覧くださ い.実行結果...
とができます.
http://www.is.titech.ac.jp/~shimo/prog/pvclust/
よろしくお願いします.
//
-間瀬先生,転載ありがとうございます.パッケージpvclustは...
-この方法について3月に講演をさせていただけることになりま...
#comment
**疫学分析パッケージepiのLinux版が公開されました [#t479d4...
>[[谷村]] (2005-02-24 (木) 11:24:31)~
~
[[Dr. Mark Stevenson:http://epicentre.massey.ac.nz/Person...
はWindows版しかありませんでしたが、リクエストしたところLi...
//
#comment
**R の検索を容易にするために別名(alias)を決めません? [#r9...
>[[澤田石 順<jsawa@attglobal.net>]] (2005-02-24 (木) 00:5...
~
R の情報はたくさんあり、容易に見つかりますが、それでも一...
キーワードにするほかなく不便だと思います。皆様はいかが?~
アルファベットで表記されたエイリアスがあれば、検索がずっ...
思います。日本国内のみで通用するエイリアスでなく、世界レ...
のがよいと思います。どうでしょう。そのための手続きのこと...
として考えてみようではありませんか。~
r_statistics_environment、r_stat_envとか.
P.S. 2/19-20 のリハビリテーション関係の学会ではじめて R ...
解析に基づいて発表しました。スライドには R の web pa...
十数名の方々に Windowsなどやめて R with Linux or Mac...
と強調した次第。
//
-賛成です. -- &new{2005-02-24 (木) 18:30:47};
-賛同者がありまして嬉しいです。 -- [[澤田石 順]] &new{200...
#comment
**OS/2 に R 2.0.1 を移植中です。関心のある方は? [#s52fad4d]
>[[澤田石 順]] (2005-02-23 (水) 22:58:04)~
~
澤田石と申します。Microsoftが嫌いで、ずっとOS/2を使い続け...
Linux/FreeBSDも使い易いのですが、OS/2に比べるといま一つ。...
非常にマイナーなOS/2ということでなかなか一緒に移植作業を...
//
-OS/2は見たことすらないのですが,X11が動くんでしょうか? --...
-はい。XFree86 3.x, 4.x とも移植されており、軽快に使えま...
-Xが上手くいかないとは具体的にはどんな状態でしょうか? --...
-いわゆるDLLの読み込み[dlopen()]のOS/2のgcc(emx)ではうま...
-OS2はとんと存じませんのでなんですが、[[これ:http://hobbe...
-「それ」とは関係ないのです。 -- [[澤田石 順]] &new{2005-...
-すると,例えばsolve(1,0)等lapack.soを読む部分等も不都合が...
-モジュールはすべて静的にリンクしているのですが、... gdb ...
#comment
**ユリウス日,などなど [#pe2efabb]
>[[青木繁伸]] (2005-02-23 (水) 22:13:02)~
~
昔(5年ほど前だと思うのだが。。。と思っていたが,実はもっ...
「1582 年の 10 月の 5 日から 13 日までは存在しません」~
ということで,UNIX の cal コマンドを使うとそれが確認でき...
> cal 10 1582
October 1582
S M Tu W Th F S
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
みたいな結果しか表示されない。~
う〜〜ん。勘違いだったのかなぁ。~
~
その当時作ったページで,~
・ 西暦1年1月1日は何曜日かという問題はかなり難しいもの...
(あ,1990年だったんだ)~
・前のプログラムのアルゴリズムでは「月曜日」と表示されま...
・富士通のコンピュータやワープロの中には,「日曜日」だと...
・東京天文台は「土曜日」であるとしているそうです。~
と書いたのだが。~
今日の,[[中澤さんのページ:http://phi.med.gunma-u.ac.jp/]...
私のページに書いているアルゴリズムは昔々の bit に書かれて...
定義が変われば観察される(解釈される)データが変わるとい...
> julian(1,1,1970)
[1] 0 # 1970/1/1が基準日ということ
> J.day(1,1,1970)
[1] 1723395 # 天文学上のユリウス日
> julian(1,1,1)
[1] -719162 # 当然といえば当然
> day.of.week(1,1,1)
[1] 1 # 何曜日かな?
> day.of.week(2,23,2005)
[1] 3 # 水曜日が 3 なら,1 は月曜日か。。。
> dw(J.day(1,1,1))
[1] "Mon" # 同じだな。。。。
//
-cal 9 1752 では? 本来は地域毎にグレゴリオ暦?の採用時期が...
-おっしゃるとおり。なんか,間違えて記憶していたみたいです...
というわけで,
> cal 9 1752
September 1752
S M Tu W Th F S
1 2 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
そうそう,これこれ! [[青木繁伸]] &new{2005-02-23 (水) 22...
-debianのbsdmainutils より
$ ncal -p
AL Albania 1912-11-30 IT Italy 1582...
AT Austria 1583-10-05 *JP Japan 1918...
AU Australia 1752-09-02 LI Lithuania 1918...
BE Belgium 1582-12-14 LN Latin 9999...
BG Bulgaria 1916-03-18 LU Luxembourg 1582...
CA Canada 1752-09-02 LV Latvia 1918...
CH Switzerland 1655-02-28 NL Netherlands 1582...
CN China 1911-12-18 NO Norway 1700...
CZ Czech Republic 1584-01-06 PL Poland 1582...
DE Germany 1700-02-18 PT Portugal 1582...
DK Denmark 1700-02-18 RO Romania 1919...
ES Spain 1582-10-04 RU Russia 1918...
FI Finland 1753-02-17 SI Slovenia 1919...
FR France 1582-12-09 SE Sweden 1753...
GB United Kingdom 1752-09-02 TR Turkey 1926...
GR Greece 1924-03-09 US United States 1752...
HU Hungary 1587-10-21 YU Yugoslavia 1919...
IS Iceland 1700-11-16
日本の日付が違うのは西部標準時の名残か?
$ ncal -s ES 10 1582
10月 1582
月 1 18 25
火 2 19 26
水 3 20 27
木 4 21 28
金 15 22 29
土 16 23 30
日 17 24 31
お昼休みでした。 -- [[なかま]] &new{2005-02-24 (木) 12:56...
#comment
**maptoolsでshapefileの切り出し [#l01f4665]
>[[okinawa]] (2005-02-22 (火) 17:19:37)~
~
maptoolsでshapefileの切り出しに成功したので、ご報告。~
R2.0.1です。
library(maptools)
jpn<-read.shape("japan_jdg.shp")
jpn_poly<-Map2poly(jpn,raw=FALSE)
jpn_df<-jpn$att.data
hokkaido_poly<-subset(jpn_poly,jpn_df$PREF=="北海道")
hokkaido_df<-subset(jpn_df,jpn_df$PREF=="北海道")
hokkaido_df$CITY2<-ifelse(is.na(hokkaido_df$CITY2)," ",...
hokkaido_df$CITY1<-ifelse(is.na(hokkaido_df$CITY1)," ",...
hokkaido_df$TOWN1<-ifelse(is.na(hokkaido_df$TOWN1)," ",...
hokkaido_df$TOWN2<-ifelse(is.na(hokkaido_df$TOWN2)," ",...
write.polylistShape(hokkaido_poly,hokkaido_df,"hokkaido")
注1)・・・is.na(hokkaido_df$TOWN2)," "<=ここは全角空...
注2)当方環境WIN2000SP4では、writeするとRが時々こけます。~
//
-素晴らしいです。[[Epi Infoによる塗り分け地図の作り方:htt...
-あっ。7行目にattach(hokkaido_df)を入れないと動かないかも...
-「北海道」を「群馬県」に変えて試すと,Windows XP+SP2環境...
-書き出しはできませんでしたが,塗り分け地図の作成には成功...
-ちなみに,同じ環境でも「北海道」のまま実行すると,落ちな...
-当方の環境では、群馬県も「何度かやると」うまくいきました...
-XPでは完璧にこけますね。msvcrt.dllでこけているので、dl...
-どうも県によって上記の方法がうまくいくとは限らないようで...
-ひととおり、全都道府県別のshapefileの作成に成功しました...
-ESRIJapan様から公開の許可をいただきました。後日、このサ...
-おお,それは素晴らしいです。楽しみにしています。ESRIJapa...
-Shapefileライブラリという名前でアップしました。が、他の...
-ページ名を"["と"]"で二重に括ればWikiの名前として機能する...
-ありがとうございました。[[Tips紹介]]に登録させていただき...
-R2.0.1J,maptoolsv0.4-13でShapeFileの作成に成功しました。...
library(maptools)
jpn<-read.shape("japan_jdg.shp")
jpn_poly<-Map2poly(jpn)
jpn_df<-jpn$att.data
hokkaido_poly<-subset(jpn_poly,jpn_df$PREF=="北海道")
hokkaido_df<-subset(jpn_df,jpn_df$PREF=="北海道")
write.polylistShape(hokkaido_poly,hokkaido_df,"hokkaido")
実行環境:WINXPSP2,R2.0.1J,maptools v0.4-13
-Rではないのですが、fGISでShapeFileを結合する方法をアップ...
#comment
**R グラッフィクスライブラリ [#u30bf046]
>[[QDU]] (2005-02-21 (月) 19:12:41)~
~
数日前から r-help で R のグラフィックスを集めたサイトを作...
//
#comment
**未承認広告 in r-help [#p206ce62]
>[[間瀬]] (2005-02-18 (金) 06:47:11)~
~
本日 r-help に長い日本語による未承認広告が投稿されていま...
//
-SpamAssassin はデフォルトでは日本語がひっかかりません。...
-ああ!日本発の悪戯が今後増えないといいですが。 -- [[間瀬...
#comment
**不適切記事 [#ifb50a6c]
>[[QDU]] (2005-02-17 (木) 18:13:32)~
~
Wiki は皆の共同作業で成り立っています。明らかに不適切な記...
//
#comment
**書籍「The R Tips」が出来上がりました [#jf0da1e2]
>[[舟尾]] (2005-02-09 (水) 09:34:10)~
~
おかげ様で拙著「The R Tips」が出来上がりましたので、ご報...
タイトルは「The R Tips - データ解析環境 R の基本技・グラ...
出版社は九天社さん、値段は3675円で、2月10日発売予定です。...
一般の書店に並ぶのは半月 〜 1ヶ月ほど後になるのではないか...
表紙、目次等の情報は [[The R Tips サポートページ:http://c...
本を書くにあたって、この「RjpWiki」がもの凄く役に立ちまし...
//
-おめでとうございます。数日前から自分のメモページからはリ...
-完成おめでとうございます!amazonを毎日チェックしなくては...
-嬉しいお言葉,本当にありがとうございます.書籍の方は一段...
-完成おめでとうございます。早速注文しなければ。 -- [[矢野...
-今日発売ですよね。おめでとうございます。注文したいのです...
-ISBN4-86167-039-Xです。奥付によると3月1日初版発行となっ...
-嬉しいお言葉,重ね重ねありがとうございます.そして中澤さ...
-関連学会のMLなどで割引販売とかする予定はありませんか? 業...
-まだ在庫切れですが、[[Amazonにも出ました:http://www.amaz...
-出版界には著者割引制度というのがあるようです。あまり大々...
-aki 様,アドバイスありがとうございます.残念ながら「関連...
「あまり大々的でなければ、舟尾さんに割引購入してもらうと...
-ジュンク堂大阪本店では既に売っておりましたので早速購入し...
-濱マイク様,ご報告・ご購入ありがとうございます! -- [[舟...
-横浜の有隣堂にて購入しました。これから読んでみます。 -- ...
-MS様,ご購入ありがとうございます!いや〜,非常に嬉しいで...
-地元(厚木)の本屋で見かけ、即購入。Amazonの注文はキャン...
-Nautilus様,御報告・御購入,誠にありがとうございます!ボ...
-いよいよ「間違い報告地獄」が始まりますね。経験からご忠告...
-貴重なアドバイスをありがとうございます!うっかりするとこ...
#comment
**RMatlab パッケージ [#l5d1bb21]
>[[MKR]] (2005-02-08 (火) 20:11:24)~
~
r-help 記事で RMatlab という R と Matlab の「対話」を可能...
# r-help 記事を引用
> I came across recently to the Rmatlab package
> (http://www.omegahat.org/RMatlab/) that allows R and M...
> to "talk" to each other. I made several attempts to in...
> it on my Mac but without any success as some headers s...
> to miss. I am just wondering if anyone has already tried
> and successfully used RMatlab. According to the website,
> this should run on unix machines and I was surprised t...
> it couldn't be true for Mac as the OS X, Linux and Unix
> MATLAB architectures are pretty much similar.
Pretend we can't see your screen and include the error m...
in your post. Can we assume you are running 10.3.7 and h...
XCode 1.5 loaded as well?
//
#comment
** P. Murrel さんのグラフィックス集 [#n819acd6]
>[[MKR]] (2005-02-04 (金) 19:03:39)~
~
R コアメンバーの P. Murrel さんが
[[グラフィックス集:http://www.stat.auckland.ac.nz/~paul/R...
//
-こ、これはもの凄いことになっていますねぇ…。[[Figure 1.11...
#comment
**wavelet [#o7232878]
>[[しいたけ]] (2005-01-31 (月) 21:27:09)~
~
Rのwavelet解析のプログラムとかで公表されているのはある...
古いmathematicaを使っているのですが,しょぼい趣味に利用...
//
-トップページの R site search を使って、例えばキーワード ...
-ありがとうございました。m(__)m -- [[しいたけ]] &new{2005...
#comment
**本日の笑える r-help 記事 [#h341e7dc]
>[[間瀬]] (2005-01-29 (土) 10:27:08)~
~
r-help 記事をみている人なら必ず笑える記事がありましたから...
"Marc R. Feldesman" <feldesmanm@pdx.edu> writes:
> At the risk of being flamed for mortal stupidity, I'm ...
> out what could have possibly changed (at my end almost...
> make Brian Ripley's posts (in particular) not show up ...
> server (at least not on the one where I receive my ema...
Did you remember to turn off the Oxford-sarcasm filter? ...
-p
--
Peter Dalgaard
//
#comment
**Rmap [#m43e85ae]
>[[Tappy]] (2005-01-28 (金) 16:43:53)~
~
R初心者です。Rmapなるものに興味を抱き、ダウンロードした...
//
-「初心者です」という印籠は,水戸黄門の印籠ほどは怖れられ...
初心者だからどうだと言うんでしょうかというような感じ。~
お願いですからやさしくしてくださいということでしょうね。~
[[Rmapを使った地図表示]]などを見た上での質問でしょうか。~
プラットフォームは,なんですか(といっても難しいでしょう...
今日は(も?),いささか機嫌が悪いんで(^_^;)~
こういう間の悪い時期に巡り会った初心者様にはお気の毒様で...
-パッケージのインストールは、別途ダウンロードしないで、ス...
#comment
**TeXwiki [#t59d6dca]
>[[QDU]] (2005-01-25 (火) 09:09:19)~
~
日本の TeX 界のドン奥村先生が [[TeX 用の Wiki:http://oku....
//
-今日の[[奥村さんの日記:http://oku.edu.mie-u.ac.jp/~okumu...
-TexWiki でもコメント欄にスパム書き込みが絶えないので、公...
#comment
**統計数理研究所のワークショップの案内 [#m6b46218]
統計数理研究所のワークショップの案内を転載します。 -- [[...
みなさま(重複して受け取られた方はご容赦ください),
"Workshop by Dr. Robert Gentleman and Dr. Martin Theus"...
3月11日(金),12日(土)に統計数理研究所 講堂において,
Workshop "Modern statistical visualization and related t...
Recent developments in Mondrian and R"
を開催いたします。
講演者は,
Dr. Robert Gentleman (Fred Hutchinson Cancer Research ...
Dr. Martin Theus (Augsburg University, Germany)
のお二人です。
Dr. Gentleman は R の作成者のひとりであり、近年は R に基...
ンフォマティックスのためのシステム Bioconductor の作成を...
で、それらの講演をお願いしました。
Dr. Theus はJavaによる対話型データビジュアライゼーション...
Mondrianの作成者であり、そのシステムに関する講演をしてい...
なお、R に関して、その並列化に関する講演があります。
どうぞ,ご参加ください。
なお,参加は無料ですが,準備の都合上,参加予定の方は以下...
ルで,中野(nakanoj@ism.ac.jp)までお送りいただけると幸い...
-------------- 申込書 --------------------------------...
"Workshop by Dr. Martin Theus and Dr. Robert Gentleman" ...
お名前:
所属 :
e-mail:
11日の懇親会に参加: します or しません (どちら...
--------------- 申込書 終わり -----------------------...
このワークショップは,昨年,当研究所で開催された2回の W...
"Modern statistical visualization and related topics" の...
年度に3回予定しているワークショップの最後のものです。今...
2004年11月19-20日
Workshop(3) by Dr. Chun-houh Chen
第2回は,
2004年 12月9-10日
Workshop(4) by Professor Dan Carr and Dr. Juergen Sym...
でした。
なお、各回の内容は独立です。
中野純司(統計数理研究所)
nakanoj@ism.ac.jp
#comment
**「人工知能学会誌」に R の紹介記事 [#dc4b90d8]
>[[間瀬茂]] (2005-01-11 (火) 10:10:41)~
~
編集者からのお勧めで「人工知能学会誌」 Vol.20, No.1, 67-7...
//
-これは必見ですねぇ〜。[[「研究のツールボックス」のサポー...
#comment
**表計算ソフト利用の危険性を検証する団体 EuSpRIG [#y1b880...
>[[MKR]] (2005-01-04 (火) 00:04:09)~
~
(あえて Excel とは限らないでしょうが)表計算ソフト利用の危...
[[European Spreadsheet Risks Interest Group:http://www.eu...
[[表計算ソフトがもたらした損失:http://www.eusprig.org/sto...
//
#comment
**CRAN 登録パッケージ数 [#h66cddd6]
>[[間瀬茂]] (2004-12-30 (木) 22:36:01)~
~
今年も残るところ25時間あまり。CRAN に登録されているパッ...
//
#comment
**パッケージ spdep [#n581ae98]
>[[間瀬茂]] (2004-12-16 (木) 10:18:24)~
~
本日更新情報がでたパッケージ spdep の著者の一人に Hisaji ...
//
#comment
**r-help 記事 [#pec53ad4]
>[[間瀬茂]] (2004-12-14 (火) 23:52:21)~
~
r-help 記事を無断引用。無知でしたが slashdot の英語板があ...
Greetings all,
Just a quick heads up that there is a Slashdot thread thi...
Open Source Math Software for Education, which includes r...
and Dirk's Quantian distribution (among others). The thre...
[[slashdot:http://ask.slashdot.org/askslashdot/04/12/13/2...
The OP's query was targeted for high school to first year...
students, but as is typical with Slashdot, the scope of t...
to wander....
Also, I was reading the latest issue of Amstat News and n...
is a new book from Springer on R/S-PLUS pending by Profes...
Everitt called "An R And S-Plus Companion To Multivariate...
book appears to be due to be release next month. The link...
Springer site is: [[An R And S-Plus Companion To Multivar...
and the Amazon.com link is: [[An R And S-Plus Companion T...
Professor Everitt's prior related work, co-authored with ...
Rabe-Hesketh, is "Analyzing Medical Data Using S-PLUS" al...
Springer, which along with the other related books that I...
a solid reference when I started using R a few years ago.
HTH, ~
Marc Schwartz
//
#comment
**R国際化 [#d314fdd4]
>[[なかま]] (2004-12-14 (火) 18:17:55)~
~
御公儀より密命が下りました.~
http://www.ipa.go.jp/software/open/2004/result.html#shimo...
//
-なかまさんは、この「株式会社COM‐ONE」とはコンタク...
-おめでとうございます。「なかま」さんは先頃よりこの会社の...
-そうですか、ということは、これまでの日本語化Rの知的所有...
-無知的所有権は私に帰属します. もし,何らかの特許侵害があ...
-基本的にアルバイトに手伝ってもらった場合にでも個人の著作...
-そもそも,何らかの権利を主張するつもりもありません.主張す...
-おめでとうございます。この快挙が日本の(小さい小さい -> ...
-無駄な公共事業と揶揄されぬよう勤めまする. -- [[なかま]] ...
-OX方面のあの方が12/28頃より私の中途半端な(すみません......
-[[なかま]]弁を訳注。Ripley 教授らは R に Western Europea...
#comment
**「R 統計関数マニュアル」 [#j0ea03e1]
>[[間瀬茂]] (2004-12-09 (木) 22:17:08)~
~
間瀬です。R 統計関数マニュアルの件ですが、その後強力な助...
//
-はい!いつまででも待ち続けます! -- &new{2004-12-10 (金...
-たった一行へのこだわりが,出版を妨げました.その一行は見付...
-「プロジェクトX」並みの苦労話が隠れているのでは?と推察...
-いかん、mean 関数や var 関数たちのことをすっかり忘れてい...
#comment
**Robert Gentleman 氏によるワークショップ [#s9e80ab8]
>[[間瀬茂]] (2004-12-08 (水) 21:41:46)~
~
統計数理研究所の中野さんから統計関係 ML に流された情報の...
~
このワークショップは,昨年,当研究所で開催された2回の W...
"Modern statistical visualization and related topics" の...
り,今年度に3回予定しているワークショップの2回目のもの...
第3回は, 2005年 3月11-12日
Workshop(5) by Dr. Robert Gentleman and Dr. Martin Th...
の予定です。
//
#comment
**R のマスコットキャラクタ [#ved39614]
>[[間瀬茂]] (2004-12-04 (土) 11:21:58)~
~
昨日の R-help は R のマスコットキャラクターの話題で盛り上...
思い出したのでついでにメモしておきます。Linux の生みの親 ...
//
-追加情報。R. Gentleman 氏が r-help に投稿したところによ...
-WETA だと、同じNZ産のデータマイニングツール WEKA がある...
-マスコット騒ぎが収まったかなとおもったら、実は管理者の設...
#comment
**「R 統計関数マニュアル」近日公開 [#y1680050]
>[[間瀬茂]] (2004-11-24 (水) 00:47:14)~
~
R の基本パッケージ base, stats に含まれる「ほとんどすべて...
//
-ご尽力ありがとうございます!統計自体の勉強も含めまして、...
-Webもいいですが、やはり印刷メディアのものもいいので、船...
-私の拙筆活動は、ただいま校正段階に入っております。残念な...
さすがに [[The R Reference Manual - Base Package -:http:/...
-あんまり期待されるとビビリますね。例により、誤植、誤解の...
-か、覚悟致します。何度見直しても、見直す度に間違いが見つ...
-ユニバーサルバイナリ -- [[まさひと]] &new{2006-01-28 (土...
#comment
ページ名: