ほかの人の参考になるとは思えないのだが、折角なので(いったい何が折角なのだろう、と書いてる本人が言っちゃいけないのでしょう。だから言わない)。

#contents

*2005年1月17日 (月) メビウスのインストールのメモ [#sb13d7fd]

とにかくインストールしたもの。ダウンロードした順 ≒ インストールした順設定など細かなことは後日記入予定

Dec 27 15:44 Firefox Setup 1.0.exe ← インストールはあとでした~
Dec 27 15:44 Thunderbird Setup 1.0.exe ← インストールはあとでした~
Dec 27 17:00 setup-ja.exe ← meadowのネットインストーラ~
Dec 27 17:21 setup.exe ← cygwinのネットインストーラ~
Dec 27 18:25 R~
Dec 27 18:27 ffftp~
Dec 27 18:33 Lhaca~
Dec 28 16:18 jpeg2ps~
Dec 28 18:35 ActivePerl~
Dec 28 20:50 skkime~
Dec 28 21:29 Microsoft Office ← これはCDからのインストール~
Dec 28 22:38 OOo~
Dec 28 22:42 weyes101.lzh~
Dec 29 02:50 rmail-mime-1.13.0~
Dec 29 05:08 cygwin-X~
Dec 29 13:26 lineno.sty~
Dec 29 13:07 yatex~
Dec 30 04:10 pLaTeX~
Jan 4 13:32 ispell~
Jan 5 09:49 mew~
Jan 7 22:33 ps-print.tar.gz~
Jan 10 18:49 AltIME~
Jan 10 13:01 w3m~
Jan 15 15:33 QuickTimeFullInstaller.exe~


*BDFフォントを使った日本語の表示 31 Dec 2004 [#w15c8216]

http://meadow.sourceforge.jp/cgi-bin/hiki.cgi?%C6%FC%CB%DC%B8%EC%A4%CB%B4%D8%A4%B9%A4%EB%BE%F0%CA%F3

BDFフォントを使った日本語の表示 Netinstall の intlfonts パッケージ

Netinstall の intlfonts パッケージを使うのが簡単でしょう。 Netinstall で intlfonts と misc パッケージを入れます。 .emacs には次の2行だけです。 default-frame-alist (initial-frame-alist) には好みによって他のパラメータもセットします。

 (setq bdf-use-intlfonts16 t)
 (setq default-frame-alist '((font . "intlfonts16")))

これだけで日本語だけではなく intlfonts の様々なフォントを表示できます。 C-h h (HELLO ファイル) の全てを表示できます。

* ps-print.tar.gz のインストール 09 Jan 2005 [#u733a027]

READMEに従う

展開 ~
make EMACS=meadow ~
すべての*.el*ファイルを c:/Mewdow/site-lispにコピー

; 09 January 2005 ~
; ps-print の READMEより ~
; ~
;If you have a Japanese PostScript printer, you can print ASCII,~
;Latin-1, and Japanese (JISX0208, and JISX0201-Kana) characters by: ~
; (setq ps-multibyte-buffer 'non-latin-printer) ~
; ~
;If you have a Korean PostScript printer, you can print ASCII, Latin-1, ~
;and Korean characters also by: ; (setq ps-multibyte-buffer 'non-latin-printer) ~
;But I didn't tested it. If you have a Korean PostScript printer, ~
;please verify it. ~
;~
;If you have intlfonts (version 1.1 or the later), you can print all~
;multibyte characters by using BDF fonts contained in intlfonts. To ~
;do that, you need the following settings:~

	(setq ps-multibyte-buffer 'bdf-font)

; ~
;If you have intlfonts version 1.2 or the later and want to print only ~
;Latin-1, Vietnamese, and Thai, your can print by Type1 fonts by this: ~
; ~
; (setq ps-multibyte-buffer 'type1)~
~
;ps-print.el より~
~
;On MS-DOS and MS-Windows systems, a string value is taken as the name ~
;of the printer device or port to which PostScript? files are written, ~
;provided `ps-lpr-command' is \"\". By default it is the same as ~
;`printer-name'~
; typical non-default settings would be \"LPT1\" to ~
;\"LPT3\" for parallel printers, or \"COM1\" to \"COM4\" or \"AUX\" for ~
;serial printers, or \"//hostname/printer\" for a shared network printer. ~
;You can also set it to a name of a file, in which case the output gets ~
;appended to that file. \(Note that `ps-print' package already has ~
;facilities for printing to a file, so you might as well use them instead ~
;of changing the setting of this variable.\) If you want to silently ~
;discard the printed output, set this to \"NUL\"."~
~
;(setq ps-lpr-command "c:/cygwin/home/tomaru/meadowprint.ps") ~
;ファイルを作ってからこのコマンドを書いても ~
;gsがエラーと言う……~
~
(setq printer-name "c:/cygwin/home/tomaru/meadowprint.ps")~
;ファイルなしで、M-x ps-print-bufferでOK~
~
;もしかして上手く行くかも ~
;(setq print-buffer ps-print-buffer)~

なぜか、ここまでインストールしたら、infoがふたつのディレクトリに分かれてしまった。meadowを再インストールし直してもだめ。しかたがないので、今読んでいるinfoのあるディレクトリにいろいろコピーして、「dir」を編集して読めるようにした。ふぅ

M-x ps-print-buffer~
または、~
mewでは#~
で、meadowprint.psが作成されるので、ghostview32で開いて印刷。~
このプリントのコマンドを続けて実行すると、meadowprint.psに追加して書いてしまうので、NG。一回ずつmeadowprint.psを消さなきゃならない。

*14 Jan 2005 ユニコードの設定 [#c0751a1c]

mule-ucsをネットインストール~
サンプルのdot.emacs.jaからとってきた下のコードを .emacs に入れた。

;; ;;; Mule-UCS の設定 ~
;; ;; ftp://ftp.m17n.org/pub/mule/Mule-UCS/ ~
;; ;; (set-language-environment) の前に設定します ~
(require 'un-define) ~
(setq bitmap-alterable-charset 'tibetan-1-column) ~
(require 'jisx0213)~

*ESS Emacs Speaks Statistics (Modified 13 Nov 2006) [#k20523df]

インスールは簡単~
http://stat.ethz.ch/ESS/downloads/ess/ 
から
ダウンロードして、解凍。site-lispの下に置く~
 tar xvzpf ess-5.3.3.tgz -C /cygdrive/c/meadow/site-lisp/
%%今回は ess というディレクトリ名に替えた(lispでは何だかわからないので)%%~
こちら http://noplans.org/~1gac/diary/200407.html#23_t7 も参考にした

Windowsの環境設定。 RのバイナリへのPathを追加~
コントロールパネル−システム−詳細設定−環境変数から

http://www.okada.jp.org/RWiki/index.php?ESSUsage ESS --- Emacs Speaks Statistics 使用方法

ESS には (i) R を Emacs から使う iESS モード,(ii) R スクリプト作成支援環境を提供する ESS[R] モード,(iii) R ヘルプから Example を実行したりできる help[R] モードがあります. ~
↑ iESS

R 起動 (M-x R)
~    複数の R を起動することが可能.

R 終了 (C-c C-q)
~   関連するバッファも全て消してくれる

最初からESSモードでemacsを起動する方法

-コマンドラインから
 $ emacs -f R &

コマンド履歴 (M-p, M-n) コマンド履歴の検索 (M-r, M-s) ヘルプ参照 (C-c C-v) オブジェクト一覧 (C-c C-x)

↑ ESS モード (R モード)

バッファから R へ直接コマンドを送る

- バッファ全体 (C-c C-b)
- 選択されている範囲(リージョン) (C-c C-r)
- 関数 (C-c C-f)
- 一行 (C-c C-j)

↑ ESS-help

help(foo) で開いたヘルプのバッファにおいて,Example の各行に対して l で,コンソールバッファにコピーかつ評価される.


|Today:&counter(today); |Yesterday:&counter(yesterday); |Total:&counter(); since 02 April 2006|

トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS