Description Usage Arguments Details Value Examples
To run a SPS app, you need to first create a SPS project, a directory contains the required files.
1 2 3 4 5 6 7 8 9 10 |
app_path |
path, a directory where do you want to create this project, must exist. |
project_name |
Your project name, default is |
database_name |
deprecated in current version. project database name, recommend to use the default name: "sps.db". It is used to store app meta information. |
overwrite |
bool, overwrite the |
change_wd |
bool, when creation is done, change working directory into the project? |
verbose |
bool, do you want additional message? |
open_files |
bool, If |
colorful |
bool, should message from this function be colorful? |
Make sure you have write permission to app_path
.
The database in not used in current version.
creates the project folder
1 2 3 | if(interactive()){
spsInit(change_wd = FALSE)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.