write_variables
Overwrites spreadsheet variables in STATISTICA: set numeric values per case, replace text rows partially, and save results only when a destination path is provided.
Instructions
Overwrite whole variables in a spreadsheet. Numeric columns require exactly one value per case; missing values may be null. Text columns accept per-row strings (shorter arrays leave the rest untouched). Changes are only persisted if save is given.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the source file (it is not modified unless `save` is set). | |
| save | No | Optional destination path to persist the result as .sta. | |
| sheet | No | Sheet name or 1-based index. | |
| attach | No | Attach to the already-running STATISTICA instance and edit it live (no new process, the app is not closed). | |
| columns | Yes | Columns to overwrite. |