Save threeBrain widgets to local file system
save_brain(
widget,
directory,
filename = "index.html",
assetpath = "lib/",
datapath = "lib/threebrain_data-0/",
title = "3D Viewer",
as_zip = FALSE
)
generated from function 'threejs_brain'.
directory to save the widget.
default is 'index.html', filename of the widget index file.
where to put css
or JavaScript
to,
must be relative to directory
.
where to store data to, must be relative to directory
.
widget title.
whether to create zip file "compressed.zip".
Zhengjia Wang