Function allows to add or replace profile.
1 2 3 4 5 6 7 8 |
profile |
A name of profile. It will be "default" if not specified. |
user |
Username in 'dstack'. |
token |
A token. It can be obtained from https://dstack.ai web site. |
persist |
Persistence level. It can be 'local' - this means that config will be stored in working directory, 'global' - config will be stored in user's home,cor 'in-place' - in this case config will be store in the memory and exists only while R session exists. |
server |
Server to connect. By default it's |
dstack_dir |
Directory where dstack files are stored. By default it is '.dstack', so in the case of global persistence
path to config file will be |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.