File: test.write.fwf.eol.R

package info (click to toggle)
gdata 3.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 964 kB
  • sloc: sh: 27; makefile: 15
file content (5 lines) | stat: -rw-r--r-- 170 bytes parent folder | download | duplicates (7)
1
2
3
4
5
library(gdata)
saveto <- tempfile(pattern = "test.txt", tmpdir = tempdir())

write.fwf(x = data.frame(a=1:length(LETTERS), b=LETTERS),
          file=saveto, eol="\r\n")