box_source will download a remote R script stored on box.com, and then attempt to execute it, using source().

box_source(file_id)

Arguments

file_id

The box.com id for the file that you'd like to download

See also