# NOT RUN {
# If you only specify a file name, vroom_write() will write
# the file to your current working directory.
vroom_write(mtcars, "mtcars.tsv")
vroom_write(mtcars, "mtcars.csv", ",")
# If you add an extension to the file name, write_()* will
# automatically compress the output.
vroom_write(mtcars, "mtcars.tsv.gz")
vroom_write(mtcars, "mtcars.tsv.bz2")
vroom_write(mtcars, "mtcars.tsv.xz")
# }
Run the code above in your browser using DataCamp Workspace