[R] sink() output to another directory

Ivan Krylov kry|ov@r00t @end|ng |rom gm@||@com
Fri Sep 14 16:11:10 CEST 2018


В Thu, 13 Sep 2018 15:49:52 -0700 (PDT)
Rich Shepard <rshepard using appl-ecosys.com> пишет:

> sink('stat-summaries/estacada-wnw-precip.txt')
> print(/summary(estacada_wnw_wx))
> sink()

Just remove the slash from your print command (line 25 of
rainfall-dubois-crk-all.r) because it's a syntax error (must be a typo).
I.e. the above should be print(summary(estacada_wnw_wx)), not
print(/summary(estacada_wnw_wx)) (do you notice the difference?). The
rest of your sequence of commands is fine.

-- 
Best regards,
Ivan




More information about the R-help mailing list