When I command ./generate_figures.py, the following output is generated on the command line.
============================================
['rm', '-r', 'results']
['mkdir', 'results']
['rm', 'scripts/allfigure.r']
['chmod', '+x', 'scripts/allfigure.r']
['/usr/bin/env', 'Rscript', './scripts/compute_time.r']
The following objects are masked from data (pos = 3):
Warning messages:
1: In xy.coords(x, y, xlabel, ylabel, log) :
1 y value <= 0 omitted from logarithmic plot
2: In plot.window(...) :
nonfinite axis limits [GScale(-inf,-inf,2, .); log=1]
Error: unexpected symbol in:
"legend(1, g_range[2], c("example"), cex=2, lwd=2.5
col"
Execution halted
['mv', 'Rplots.pdf', 'results/compute_time.pdf']
['/usr/bin/env', 'Rscript', './scripts/compute_time_per_service_node.r']
The following objects are masked from data (pos = 3):
Warning messages:
1: In xy.coords(x, y, xlabel, ylabel, log) :
1 y value <= 0 omitted from logarithmic plot
2: In plot.window(...) :
nonfinite axis limits [GScale(-inf,-inf,2, .); log=1]
Error: unexpected symbol in:
"legend(1, g_range[2], c("example"), cex=2, lwd=2.5
col"
Execution halted
['mv', 'Rplots.pdf', 'results/compute_time_per_service_node.pdf']
['/usr/bin/env', 'Rscript', './scripts/migration_avg_duration.r']
The following objects are masked from data (pos = 3):
Error: unexpected symbol in:
"legend(1, g_range[2], c("example"), cex=2, lwd=2.5
col"
Execution halted
['mv', 'Rplots.pdf', 'results/migration_avg_duration.pdf']
['/usr/bin/env', 'Rscript', './scripts/migration_count.r']
The following objects are masked from data (pos = 3):
Error: unexpected symbol in:
"legend(1, g_range[2], c("example"), cex=2, lwd=2.5
col"
Execution halted
['mv', 'Rplots.pdf', 'results/migration_count.pdf']
['/usr/bin/env', 'Rscript', './scripts/migration_time.r']
The following objects are masked from data (pos = 3):
Error: unexpected symbol in:
"legend(1, g_range[2], c("example"), cex=2, lwd=2.5
col"
Execution halted
['mv', 'Rplots.pdf', 'results/migration_time.pdf']
['/usr/bin/env', 'Rscript', './scripts/reconfigure_failure_count.r']
The following objects are masked from data (pos = 3):
Warning messages:
1: In xy.coords(x, y, xlabel, ylabel, log) :
1 y value <= 0 omitted from logarithmic plot
2: In plot.window(...) :
nonfinite axis limits [GScale(-inf,-inf,2, .); log=1]
Error: unexpected symbol in:
"legend(1, g_range[2], c("example"), cex=2, lwd=2.5
col"
Execution halted
['mv', 'Rplots.pdf', 'results/reconfigure_failure_count.pdf']
['/usr/bin/env', 'Rscript', './scripts/reconfigure_noreconf_count.r']
The following objects are masked from data (pos = 3):
Warning messages:
1: In xy.coords(x, y, xlabel, ylabel, log) :
1 y value <= 0 omitted from logarithmic plot
2: In plot.window(...) :
nonfinite axis limits [GScale(-inf,-inf,2, .); log=1]
Error: unexpected symbol in:
"legend(1, g_range[2], c("example"), cex=2, lwd=2.5
col"
Execution halted
['mv', 'Rplots.pdf', 'results/reconfigure_noreconf_count.pdf']
['/usr/bin/env', 'Rscript', './scripts/reconfigure_success_count.r']
The following objects are masked from data (pos = 3):
Warning messages:
1: In xy.coords(x, y, xlabel, ylabel, log) :
1 y value <= 0 omitted from logarithmic plot
2: In plot.window(...) :
nonfinite axis limits [GScale(-inf,-inf,2, .); log=1]
Error: unexpected symbol in:
"legend(1, g_range[2], c("example"), cex=2, lwd=2.5
col"
Execution halted
['mv', 'Rplots.pdf', 'results/reconfigure_success_count.pdf']
['/usr/bin/env', 'Rscript', './scripts/success_psize.r']
The following objects are masked from data (pos = 3):
Error in plot.window(...) : Logarithmic axis must have positive limits
Calls: plot -> plot.default -> localWindow -> plot.window
In addition: Warning message:
In xy.coords(x, y, xlabel, ylabel, log) :
1 y value <= 0 omitted from logarithmic plot
Execution halted
['mv', 'Rplots.pdf', 'results/success_psize.pdf']
['/usr/bin/env', 'Rscript', './scripts/total_time.r']
The following objects are masked from data (pos = 3):
Warning messages:
1: In xy.coords(x, y, xlabel, ylabel, log) :
1 y value <= 0 omitted from logarithmic plot
2: In plot.window(...) :
nonfinite axis limits [GScale(-inf,-inf,2, .); log=1]
Error: unexpected symbol in:
"legend(1, g_range[2], c("example"), cex=2, lwd=2.5
col"
Execution halted
['mv', 'Rplots.pdf', 'results/total_time.pdf']
['/usr/bin/env', 'Rscript', './scripts/violation_time.r']
The following objects are masked from data (pos = 3):
Error: unexpected symbol in:
"legend(1, g_range[2], c("example"), cex=2, lwd=2.5
col"
Execution halted
['mv', 'Rplots.pdf', 'results/violation_time.pdf']
In the results directory, there are pdf files but the contents are empty; they contain legend ("example") and labels only.

When I command ./generate_figures.py, the following output is generated on the command line.
============================================
['rm', '-r', 'results']
['mkdir', 'results']
['rm', 'scripts/allfigure.r']
['chmod', '+x', 'scripts/allfigure.r']
['/usr/bin/env', 'Rscript', './scripts/compute_time.r']
The following objects are masked from data (pos = 3):
Warning messages:
1: In xy.coords(x, y, xlabel, ylabel, log) :
1 y value <= 0 omitted from logarithmic plot
2: In plot.window(...) :
nonfinite axis limits [GScale(-inf,-inf,2, .); log=1]
Error: unexpected symbol in:
"legend(1, g_range[2], c("example"), cex=2, lwd=2.5
col"
Execution halted
['mv', 'Rplots.pdf', 'results/compute_time.pdf']
['/usr/bin/env', 'Rscript', './scripts/compute_time_per_service_node.r']
The following objects are masked from data (pos = 3):
Warning messages:
1: In xy.coords(x, y, xlabel, ylabel, log) :
1 y value <= 0 omitted from logarithmic plot
2: In plot.window(...) :
nonfinite axis limits [GScale(-inf,-inf,2, .); log=1]
Error: unexpected symbol in:
"legend(1, g_range[2], c("example"), cex=2, lwd=2.5
col"
Execution halted
['mv', 'Rplots.pdf', 'results/compute_time_per_service_node.pdf']
['/usr/bin/env', 'Rscript', './scripts/migration_avg_duration.r']
The following objects are masked from data (pos = 3):
Error: unexpected symbol in:
"legend(1, g_range[2], c("example"), cex=2, lwd=2.5
col"
Execution halted
['mv', 'Rplots.pdf', 'results/migration_avg_duration.pdf']
['/usr/bin/env', 'Rscript', './scripts/migration_count.r']
The following objects are masked from data (pos = 3):
Error: unexpected symbol in:
"legend(1, g_range[2], c("example"), cex=2, lwd=2.5
col"
Execution halted
['mv', 'Rplots.pdf', 'results/migration_count.pdf']
['/usr/bin/env', 'Rscript', './scripts/migration_time.r']
The following objects are masked from data (pos = 3):
Error: unexpected symbol in:
"legend(1, g_range[2], c("example"), cex=2, lwd=2.5
col"
Execution halted
['mv', 'Rplots.pdf', 'results/migration_time.pdf']
['/usr/bin/env', 'Rscript', './scripts/reconfigure_failure_count.r']
The following objects are masked from data (pos = 3):
Warning messages:
1: In xy.coords(x, y, xlabel, ylabel, log) :
1 y value <= 0 omitted from logarithmic plot
2: In plot.window(...) :
nonfinite axis limits [GScale(-inf,-inf,2, .); log=1]
Error: unexpected symbol in:
"legend(1, g_range[2], c("example"), cex=2, lwd=2.5
col"
Execution halted
['mv', 'Rplots.pdf', 'results/reconfigure_failure_count.pdf']
['/usr/bin/env', 'Rscript', './scripts/reconfigure_noreconf_count.r']
The following objects are masked from data (pos = 3):
Warning messages:
1: In xy.coords(x, y, xlabel, ylabel, log) :
1 y value <= 0 omitted from logarithmic plot
2: In plot.window(...) :
nonfinite axis limits [GScale(-inf,-inf,2, .); log=1]
Error: unexpected symbol in:
"legend(1, g_range[2], c("example"), cex=2, lwd=2.5
col"
Execution halted
['mv', 'Rplots.pdf', 'results/reconfigure_noreconf_count.pdf']
['/usr/bin/env', 'Rscript', './scripts/reconfigure_success_count.r']
The following objects are masked from data (pos = 3):
Warning messages:
1: In xy.coords(x, y, xlabel, ylabel, log) :
1 y value <= 0 omitted from logarithmic plot
2: In plot.window(...) :
nonfinite axis limits [GScale(-inf,-inf,2, .); log=1]
Error: unexpected symbol in:
"legend(1, g_range[2], c("example"), cex=2, lwd=2.5
col"
Execution halted
['mv', 'Rplots.pdf', 'results/reconfigure_success_count.pdf']
['/usr/bin/env', 'Rscript', './scripts/success_psize.r']
The following objects are masked from data (pos = 3):
Error in plot.window(...) : Logarithmic axis must have positive limits
Calls: plot -> plot.default -> localWindow -> plot.window
In addition: Warning message:
In xy.coords(x, y, xlabel, ylabel, log) :
1 y value <= 0 omitted from logarithmic plot
Execution halted
['mv', 'Rplots.pdf', 'results/success_psize.pdf']
['/usr/bin/env', 'Rscript', './scripts/total_time.r']
The following objects are masked from data (pos = 3):
Warning messages:
1: In xy.coords(x, y, xlabel, ylabel, log) :
1 y value <= 0 omitted from logarithmic plot
2: In plot.window(...) :
nonfinite axis limits [GScale(-inf,-inf,2, .); log=1]
Error: unexpected symbol in:
"legend(1, g_range[2], c("example"), cex=2, lwd=2.5
col"
Execution halted
['mv', 'Rplots.pdf', 'results/total_time.pdf']
['/usr/bin/env', 'Rscript', './scripts/violation_time.r']
The following objects are masked from data (pos = 3):
Error: unexpected symbol in:
"legend(1, g_range[2], c("example"), cex=2, lwd=2.5
col"
Execution halted
['mv', 'Rplots.pdf', 'results/violation_time.pdf']
In the results directory, there are pdf files but the contents are empty; they contain legend ("example") and labels only.