Untitled


SUBMITTED BY: Guest

DATE: May 12, 2014, 9:11 p.m.

FORMAT: Text only

SIZE: 380 Bytes

HITS: 878

  1. set file="C:\\r_work\\exec\\output.txt"
  2. echo; >>C:\r_work\exec\script.R
  3. echo; >>C:\r_work\exec\script.R
  4. echo fileConn=file(%file%)>>C:\r_work\exec\script.R
  5. echo writeLines(getwd(), fileConn)>>C:\r_work\exec\script.R
  6. echo close (fileConn)>>C:\r_work\exec\script.R
  7. C:\"Program Files"\R\R-2.13.0\bin\i386\R.exe CMD BATCH script.R

comments powered by Disqus