Method: Matrix#barcode
- Defined in:
-
lib/rbbt/matrix/barcode.rb,
lib/rbbt/expression_old/matrix.rb
4 5 6 7 8 9 10 11 12 13 |
# File 'lib/rbbt/matrix/barcode.rb', line 4 def (outfile, factor = 2) FileUtils.mkdir_p File.dirname(outfile) unless outfile.nil? or File.exists? File.dirname(outfile) cmd =<<-EOF source('#{Rbbt.share.R['barcode.R'].find}') rbbt.GE.barcode.mode(#{ R.ruby2R self.data_file }, #{ R.ruby2R outfile }, #{ R.ruby2R factor }) EOF R.run(cmd) end |