Ruby Script Node extension for KNIME Workbench version 0.0.10
This node uses a Ruby-wrapper. See knime.rb at ruby4knime
Also, you can include additional gems from an external jRuby installation. But before that do setup jRuby path in preferences.
$in_data_0.each do |row| $out_data_0 << row end
count = $in_data_0.length $in_data_0.each_with_index do |row, i| $out_data_0 << (row << Cells.new.string('Hi!').int(row.getCell(0).to_s.length)) setProgress "#{i*100/count}%" if i%100 != 0 end
$in_data_0.each do |row| $out_data_0 << Cells.new.string(row[0].to_s.length.to_s) end
To use this node in KNIME, install Ruby Scripting Extension from the following update site:
You don't know what to do with this link? Read our NodePit Product and Node Installation Guide that explains you in detail how to install nodes to your KNIME Analytics Platform.
You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.
Do you have feedback, questions, comments about NodePit, want to support this platform, or want your own nodes or workflows listed here as well? Do you think, the search results could be improved or something is missing? Then please get in touch! Alternatively, you can send us an email to mail@nodepit.com, follow @NodePit on Twitter, or chat on Gitter!
Please note that this is only about NodePit. We do not provide general support for KNIME — please use the KNIME forums instead.