トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS

Top / linux / R examples / R Systemのコマンドを使用する

#author("2017-04-20T14:38:55+09:00","default:kow","kow")
#author("2017-04-20T14:40:48+09:00","default:kow","kow")
**R Systemのコマンドを使用する [#gd3bd440]
~
- ''syntax:''
#pre(soft){{{
 &color(red,){'' system("ls -la") ''};
}}}
-- ''comment:''~
~
&color(red,){'' system("ls -la") ''};
~
~
- ''comment:''~
Rのコンソール内でSystemの外部コマンドを使用します。
~
~
- ''Example:''
~
#highlight(php:nogutter:collapse){{
>
> system("ls -la")
合計 32
drwxr-xr-x. 2 root root 4096  4月 20 13:49 .
drwxr-xr-x. 5 root root 4096  4月 20 13:48 ..
-rw-r--r--. 1 root root 1535  4月 20 13:48 test1.r
-rw-r--r--. 1 root root 1535  4月 20 13:48 test2.r
-rw-r--r--. 1 root root 1535  4月 20 13:48 test3.r
-rw-r--r--. 1 root root 1535  4月 20 13:48 test4.r
-rw-r--r--. 1 root root 1535  4月 20 13:48 test5.r
>
}}
~
#highlight(end)
~
~
&tag(Linux,R);
~
~
[[Goto Top Page>/]]
~

Top / linux / R examples / R Systemのコマンドを使用する