Today

  • HW 1
  • Git (cont’d)
  • RMarkdown
  • Import and tidy data

FAQs

  • Properly quote string in Shell:
    Rscript runSim.R n=100 dist=\"gaussian\" seed=203 reps=50
    
  • Properly quote a string to be passed to an operating system shell:
    arg = paste("n=", n, " dist=", shQuote(shQuote(dist)),
              " seed=", seed, " reps=", reps, sep="")
    sysCall = paste("nohup Rscript runSim.R ", arg, " > ", oFile, sep="")