base64 {SparkR}R Documentation

base64

Description

Computes the BASE64 encoding of a binary column and returns it as a string column. This is the reverse of unbase64.

Usage

## S4 method for signature 'Column'
base64(x)

base64(x)

See Also

Other string_funcs: ascii, ascii; concat_ws, concat_ws; concat, concat; decode, decode; encode, encode; format_number, format_number; format_string, format_string; initcap, initcap; instr, instr; length; levenshtein, levenshtein; locate, locate; lower, lower; lpad, lpad; ltrim, ltrim; regexp_extract, regexp_extract; regexp_replace, regexp_replace; reverse, reverse; rpad, rpad; rtrim, rtrim; soundex, soundex; substring_index, substring_index; translate, translate; trim, trim; unbase64, unbase64; upper, upper

Examples

## Not run: base64(df$c)

[Package SparkR version 1.6.0 Index]