Browse Source

web

master
test2 1 year ago
parent
commit
a2b16f8d00
2 changed files with 8 additions and 2 deletions
  1. +6
    -2
      README.md
  2. +2
    -0
      examples/PieChart.R

+ 6
- 2
README.md View File

@@ -30,9 +30,13 @@ This is a quickstart guide of howto use this *LabInstance*
---
**INFO**

Lab_Instance = the name you wrote [here](http://docs.swarmlab.io/SwarmLab-HowTos/HowTo-create-lab.adoc.html#_step_3_save_lab_instance)
*Lab_Instance Name* = The name you give [here](http://docs.swarmlab.io/SwarmLab-HowTos/HowTo-create-lab.adoc.html#_step_3_save_lab_instance)

info [here](http://docs.swarmlab.io/SwarmLab-HowTos/index.adoc.html#_main_lab_intance_interface)
You can also find [here](http://docs.swarmlab.io/SwarmLab-HowTos/index.adoc.html#_main_lab_intance_interface)

Usage: See examples/PieChart.R

> e.g. png(file = "/var/www/html/examples_r/piechart.png")

---


+ 2
- 0
examples/PieChart.R View File

@@ -8,6 +8,8 @@ labels = c('breakfast', 'brunch', 'lunch', 'snacks', 'dinner')
colors = c('#4286f4','#bb3af2','#ed2f52','#efc023','#ea7441')
# Give the chart file a name.
# Save in Build-in server
# png(file = "/var/www/html/[Lab_Instance Name]/piechart.png")
png(file = "/var/www/html/examples_r/piechart.png")
# Plot the chart.

Loading…
Cancel
Save