Class: Swineherd::Script::RScript

Inherits:
Object
  • Object
show all
Includes:
Common
Defined in:
lib/swineherd/script/r_script.rb

Instance Attribute Summary

Attributes included from Common

#attributes, #input, #options, #output

Instance Method Summary collapse

Methods included from Common

#env, #initialize, #refresh!, #run, #script

Instance Method Details

#cmdObject



9
10
11
# File 'lib/swineherd/script/r_script.rb', line 9

def cmd
  local_cmd
end

#local_cmdObject



5
6
7
# File 'lib/swineherd/script/r_script.rb', line 5

def local_cmd
  "/usr/bin/Rscript --vanilla #{script}"
end