This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@phosphene /]# du -ch | ack "^[\d\.]*?G" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rsruby' | |
r = RSRuby.instance | |
# mod of Peter Lane's Ruby for Scientific Research plot example | |
# construct data to plot, graph of x vs exp(x) | |
xs = 10.times.collect {|i| i} | |
ys = xs.collect {|x| r.exp(x)} | |
r.png("exp_example.png") # tell R we will create png file |
NewerOlder