2014-08-21から1日間の記事一覧
FILEのパーミッションをrubyでいじる FileUtils.chmod(0777,output_dir) あたまに0がつくのがポイント。
コマンドの基本 R --vanilla --slave --args 12 サンプルRスクリプト test.R args=commandArgs(trailingOnly=T) cat(args[1]); test.R に読み込みと実効権限をつけておけばよい. chmod a+x test.R chmod a+r test.R plot関数をdevをpng(file="test.rb")に変…