Skip to contents

This function takes a string as input and returns a compressed version of the string in Base64 format.

Usage

compressToBase64(string)

Arguments

string

A character string to be compressed.

Value

A character string representing the compressed input string in Base64 format.

Examples

compressToBase64("Hello, world!")
#> [1] "BIUwNmD2A0AEDukBOYAmBCIA"