1 / 5

Skills Sharing: Batch files to graph with R

Skills Sharing: Batch files to graph with R. GLEON Fellowship Workshop January 14-18, 2013 Sunapee, NH Hilary Dugan. Batch file to run R script. Any R script can be run. In my example, my R script outputs a . pdf with two barplots

spencer
Télécharger la présentation

Skills Sharing: Batch files to graph with R

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Skills Sharing:Batch files to graph with R GLEON Fellowship Workshop January 14-18, 2013 Sunapee, NH Hilary Dugan

  2. Batch file to run R script • Any R script can be run. • In my example, my R script outputs a .pdf with two barplots • I wanted the .pdf to be updated daily without the user having to open R.

  3. Skill relevance/usefulness • Extremely useful for remotely accessed data • Easiest way to quickly view updated data files

  4. Application to data • The data files are updated daily, but header information remains the same (important) • Challenges: • Different operating systems!

  5. Share and visualize results • Batch file for Windows 7 • Write in notepad. Save as “NAME.bat” "C:\Program Files\R\R-2.15.2\bin\x64\R.exe" CMD BATCH "D:\h.dugan\...\BB_sonar.r" "D:\...\Sonar.out”

More Related