write.as.binary: Save text data as binary to save used encoding.

View source: R/functions.R

write.as.binaryR Documentation

Save text data as binary to save used encoding.

Description

Save text data as binary to save used encoding.

Usage

write.as.binary(df, file.name, sep = "\t", row.names = TRUE, col.names = TRUE)

Arguments

df

is 'data.frame' or 'matrix' to save.

sep

separator of fields.

row.names

write row names.

col.names

write column names.

Details

This function was created as a workaround for Windows users to properly save text files with UTF-8 encoding.

Value

nothing.


DrrDom/pfpp documentation built on April 17, 2024, 10:24 a.m.