Learn R Programming

SparkR (version 3.1.2)

setCurrentDatabase: Sets the current default database

Description

Sets the current default database.

Usage

setCurrentDatabase(databaseName)

Arguments

databaseName

name of the database

Examples

Run this code
# NOT RUN {
sparkR.session()
setCurrentDatabase("default")
# }

Run the code above in your browser using DataLab