Rの組み込み定数文字ベクトル、定数値
の編集
http://www.okadajp.org/RWiki/?R%E3%81%AE%E7%B5%84%E3%81%BF%E8%BE%BC%E3%81%BF%E5%AE%9A%E6%95%B0%E6%96%87%E5%AD%97%E3%83%99%E3%82%AF%E3%83%88%E3%83%AB%E3%80%81%E5%AE%9A%E6%95%B0%E5%80%A4
[
トップ
] [
編集
|
差分
|
バックアップ
|
添付
|
リロード
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
-- 雛形とするページ --
(no template pages)
// SIZE(18){COLOR(blue){Rの組み込み定数文字ベクトル、定数値等}} -組込み定数文字ベクトル、定数値 > LETTERS [1] "A" "B" "C" "D" "E" "F" "G" "H" "I" "J" "K" "L" "M" "N" "O" "P" "Q" "R" "S" [20] "T" "U" "V" "W" "X" "Y" "Z" > letters [1] "a" "b" "c" "d" "e" "f" "g" "h" "i" "j" "k" "l" "m" "n" "o" "p" "q" "r" "s" [20] "t" "u" "v" "w" "x" "y" "z" > month.abb [1] "Jan" "Feb" "Mar" "Apr" "May" "Jun" "Jul" "Aug" "Sep" "Oct" "Nov" "Dec" > month.name [1] "January" "February" "March" "April" "May" "June" [7] "July" "August" "September" "October" "November" "December" > options(digits=22); pi [1] 3.141592653589793 -浮動小数演算関連定数値 .Machine > noquote(unlist(format(.Machine))) double.eps double.neg.eps double.xmin 2.2204460492503131e-16 1.1102230246251565e-16 2.2250738585072014e-308 double.xmax double.base double.digits 1.7976931348623157e+308 2 53 double.rounding double.guard double.ulp.digits 5 0 -52 double.neg.ulp.digits double.exponent double.min.exp -53 11 -1022 double.max.exp integer.max sizeof.long 1024 2147483647 4 sizeof.longlong sizeof.longdouble sizeof.pointer 8 12 4 -プラットフォーム仕様(Linux のケース) .Platform > noquote(unlist(format(.Platform))) OS.type file.sep dynlib.ext GUI endian unix / .so X11 little Mac OS X では OS.type file.sep dynlib.ext GUI endian unix / .so AQUA big -コンパイル時の指定 > capabilities() jpeg png tcltk X11 GNOME libz http/ftp sockets TRUE TRUE TRUE TRUE FALSE TRUE TRUE TRUE libxml fifo cledit IEEE754 bzip2 PCRE TRUE TRUE TRUE TRUE TRUE TRUE -Rのバージョン > noquote(unlist(format(R.Version()))) platform arch os system i686-pc-linux-gnu i686 linux-gnu i686, linux-gnu status major minor year 2 0.0 2004 month day language 10 04 R Mac OS X では platform arch powerpc-apple-darwin6.8 powerpc os system darwin6.8 powerpc, darwin6.8 status major 2 minor year 0.0 2004 month day 10 04 language R
タイムスタンプを変更しない
// SIZE(18){COLOR(blue){Rの組み込み定数文字ベクトル、定数値等}} -組込み定数文字ベクトル、定数値 > LETTERS [1] "A" "B" "C" "D" "E" "F" "G" "H" "I" "J" "K" "L" "M" "N" "O" "P" "Q" "R" "S" [20] "T" "U" "V" "W" "X" "Y" "Z" > letters [1] "a" "b" "c" "d" "e" "f" "g" "h" "i" "j" "k" "l" "m" "n" "o" "p" "q" "r" "s" [20] "t" "u" "v" "w" "x" "y" "z" > month.abb [1] "Jan" "Feb" "Mar" "Apr" "May" "Jun" "Jul" "Aug" "Sep" "Oct" "Nov" "Dec" > month.name [1] "January" "February" "March" "April" "May" "June" [7] "July" "August" "September" "October" "November" "December" > options(digits=22); pi [1] 3.141592653589793 -浮動小数演算関連定数値 .Machine > noquote(unlist(format(.Machine))) double.eps double.neg.eps double.xmin 2.2204460492503131e-16 1.1102230246251565e-16 2.2250738585072014e-308 double.xmax double.base double.digits 1.7976931348623157e+308 2 53 double.rounding double.guard double.ulp.digits 5 0 -52 double.neg.ulp.digits double.exponent double.min.exp -53 11 -1022 double.max.exp integer.max sizeof.long 1024 2147483647 4 sizeof.longlong sizeof.longdouble sizeof.pointer 8 12 4 -プラットフォーム仕様(Linux のケース) .Platform > noquote(unlist(format(.Platform))) OS.type file.sep dynlib.ext GUI endian unix / .so X11 little Mac OS X では OS.type file.sep dynlib.ext GUI endian unix / .so AQUA big -コンパイル時の指定 > capabilities() jpeg png tcltk X11 GNOME libz http/ftp sockets TRUE TRUE TRUE TRUE FALSE TRUE TRUE TRUE libxml fifo cledit IEEE754 bzip2 PCRE TRUE TRUE TRUE TRUE TRUE TRUE -Rのバージョン > noquote(unlist(format(R.Version()))) platform arch os system i686-pc-linux-gnu i686 linux-gnu i686, linux-gnu status major minor year 2 0.0 2004 month day language 10 04 R Mac OS X では platform arch powerpc-apple-darwin6.8 powerpc os system darwin6.8 powerpc, darwin6.8 status major 2 minor year 0.0 2004 month day 10 04 language R
テキスト整形のルールを表示する