getPreferences | Get a summary of the project preferences. |
getProjectSettings | Get a summary of the project settings. |
setPreferences | Set the value of one or several of the project preferences. |
setProjectSettings | Set the value of one or several of the settings of the project. |
Get project preferences
Description
Get a summary of the project preferences. Preferences are:
“relativePath” | (bool) | Use relative path for save/load operations. |
“threads” | (int >0) | Number of threads. |
“timeStamping” | (bool)) | Create an archive containing result files after each run. |
“dpi” | (bool)) | Apply high density pixel correction. |
“imageFormat” | (string)) | Image format used to save pkanalix graphics. |
“delimiter” | (string)) | Character use as delimiter in exported result files. |
“exportCharts” | (bool)) | Should graphics images be exported. |
“exportChartsData” | (bool)) | Should graphics data be exported. |
Usage
getPreferences(...)
Arguments
…
[optional] (string) Name of the preference whose value should be displayed. If no argument is provided, all the preferences are returned.
Value
An array which associates each preference name to its current value.
See Also
setGeneralSettings
Click here to see examples
## Not run:
getPreferences() # retrieve a list of all the general settings
getPreferences(“imageFormat”,”exportCharts”) # retrieve a list containing only the value of the preferences whose name has been passed in argument
## End(Not run)
Top of the page, PKanalix-R functions.
Get project settings
Description
Get a summary of the project settings. Associated settings are:
“directory” | (string) | Path to the folder where simulation results will be saved. It should be a writable directory. |
“dataAndModelNextToProject” | (bool)/td> | Should data and model files be saved next to project. |
“grid” | (int)/td> | Number of points for the continuous simulation grid. |
Usage
getProjectSettings(...)
Arguments
…
[optional] (string) Name of the settings whose value should be displayed. If no argument is provided, all the settings are returned.
Value
An array which associates each setting name to its current value.
See Also
Click here to see examples
## Not run:
getProjectSettings() # retrieve a list of all the project settings
getProjectSettings(“directory”, “seed”) # retrieve a list containing only the value of the settings whose name has been passed in argument
## End(Not run)
Top of the page, PKanalix-R functions.
Set preferences
Description
Set the value of one or several of the project preferences. Preferences are:
“relativePath” | (bool) | Use relative path for save/load operations. |
“threads” | (int >0) | Number of threads. |
“timeStamping” | (bool) | Create an archive containing result files after each run. |
“dpi” | (bool) | Apply high density pixel correction. |
“imageFormat” | (string) | Image format used to save pkanalix graphics. |
“delimiter” | (string) | Character use as delimiter in exported result files. |
“exportCharts” | (bool) | Should graphics images be exported. |
“exportChartsData” | (bool) | Should graphics data be exported. |
Usage
setPreferences(...)
Arguments
…
A collection of comma-separated pairs {preferenceName = settingValue}.
See Also
Click here to see examples
## Not run:
setPreferences(exportCharts = FALSE, delimiter = “,”)
## End(Not run)
Top of the page, PKanalix-R functions.
Set project settings
Description
Set the value of one or several of the settings of the project. Associated settings are:
“directory” | (string) | Path to the folder where simulation results will be saved. It should be a writable directory. |
“dataAndModelNextToProject” | (bool) | Should data and model files be saved next to project. |
“grid” | (int) | Number of points for the continuous simulation grid. |
Usage
setProjectSettings(...)
Arguments
…
A collection of comma-separated pairs {settingName = settingValue}.
See Also
Click here to see examples
## Not run:
setProjectSettings(directory = “/path/to/export/directory”)
## End(Not run)
Top of the page, PKanalix-R functions.