RDSConnection | R Documentation |
RDSConnection R6 Class
RDSConnection R6 Class
An R6 class representing a connection to a rds file for the chat module.
The full dataset
Save a message to data source
rds_path
The path to the rds file.
Initialize the R6 Object
new()
RDSConnection$new(rds_path)
rds_path
The path to the rds file.
get_data()
Reads the full dataset
RDSConnection$get_data()
insert_message()
RDSConnection$insert_message(message, user, time)
message
The message to be stores
user
The user who entered the message
time
The time when message was submitted
clone()
The objects of this class are cloneable with this method.
RDSConnection$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.