i'm running r unix , see output without pop-ups. so, example, if in unix run
r -f test.r where test.r
value = pnorm(rnorm(10000)) hist(value,breaks=10) i output include histogram drawn in terminal. possible? i'm assuming need kind of unix plotting package.
there txtplot package. here example manual on how output histogram:
## text based barchart x <- factor(c("orange", "orange", "red", "green", "green", "red", "yellow", "purple", "purple", orange")) txtbarchart(x) if need more complex plots recommend take @ gnuplot , rgnuplot package allows call r. gnuplot has "dumb" terminal type outputs ascii graphics.
Comments
Post a Comment