if (FALSE) {
# call sessions function on server side asynchronously
# i.e. each study connection will create a remote R session in parallel
datashield.sessions(conns)
# call sessions function with callback functions
result <- datashield.sessions(conns,
success = function(server) {
# do something with server's success
},
error = function(server, error) {
# do something with server's error
})
}
Run the code above in your browser using DataLab