Displaying 2 results from an estimated 2 matches for "graph_nam".
Did you mean:
graph_name
2007 Sep 12
0
: Error on tomcat...
...t, from there i am taking input value's and using the
following way to create a graph using R and accessing that graph to attach
it on webpage:
....
....
my $to_run = "/usr/local/bin/R --vanilla --slave --args $selected_host
$graph_start $graph_end < ..\/..\/..\/page\/R\/" . $graph_name . ".r ";
system("$to_run");
....
....
My R file looks like this...
.....
.....
files <- "/u/Docs/tomcat/webapps/page/Web/img/tmp.png"
bitmap(file = files, type = "png256", height = 8, width = 12, res = 72)
plot(strptime(dat[,1],"%Y-%m-%...
2006 May 14
1
send_file, RRDtool, require or session problem
Hi all,
I am new to RoR and ruby, but am a very experience PHP developer. Let
me give an overview of the problem.
I have a model Latency, which contains username, graph_name so the
logged in user can see his/her latency graphs.
In my ViewController I have a fuction view_latency which pulls the
correct latency object and runs latency.overview. latency.overview
creates a .png file in /tmp, and view_latency then sends this using
send_file to an image tag on the man pag...