Repository navigation
Releases
Releases · iain-buchan/statsdirect
StatsDirect 5.3.20
Immutable
release. Only release title and notes can be modified.
StatsDirect 5.3.20 (25 November 2026)
This update also brings everything in 5.3.19, released on 24 November 2026.
Added
- Learn opens the course from the worksheet toolbar. AI Assist helps you choose an analysis and can answer questions about a workbook you choose to share. It asks about the measurement scale, study design and comparison goal when it needs more detail. Choose a method opens the same list as Analyse. Check the method and report destination in chat, then select Continue to analysis. StatsDirect opens the usual controls or runs the method with the available settings. AI Assist can also provide R code in a collapsible section. After you run the code locally, Add output to report keeps the results and charts in your report.
Changed
- Script AI and Report AI now ask you to confirm sharing for each script and report. The Learning tutor asks again when you choose to share a document it has not already listed for confirmation.
- Worksheet AI remembers confirmation for each workbook as you move between open workbooks. When data sharing is restricted, you can still ask for guidance and review a suggested analysis to run locally.
- AI Assist follows the active workbook after any reply finishes, restoring that workbook’s conversation and sharing choice. Its workbook sharing and confirmation checkboxes work like those in Script AI.
- In Script AI, Run in this R session runs the suggested code in your current R window, where you can keep using its variables and see the output.
Fixed
- The R console stays responsive when commands print large amounts of output. Before, a long loop that printed many lines could stop the console answering for minutes.
StatsDirect 5.3.19
Immutable
release. Only release title and notes can be modified.
StatsDirect 5.3.19 (24 November 2026)
Added
- Learn opens the course from the worksheet toolbar. AI Assist helps you choose an analysis and can answer questions about a workbook you choose to share. It asks about the measurement scale, study design and comparison goal when it needs more detail. Choose a method opens the same list as Analyse. Check the method and report destination in chat, then select Continue to analysis. StatsDirect opens the usual controls or runs the method with the available settings. AI Assist can also provide R code in a collapsible section. After you run the code locally, Add output to report keeps the results and charts in your report.
Changed
- Script AI and Report AI now ask you to confirm sharing for each script and report. The Learning tutor asks again when you choose to share a document it has not already listed for confirmation.
- Worksheet AI remembers confirmation for each workbook as you move between open workbooks. When data sharing is restricted, you can still ask for guidance and review a suggested analysis to run locally.
- AI Assist follows the active workbook after any reply finishes, restoring that workbook’s conversation and sharing choice. Its workbook sharing and confirmation checkboxes work like those in Script AI.
- In Script AI, Run in this R session runs the suggested code in your current R window, where you can keep using its variables and see the output.
StatsDirect 5.3.18
Immutable
release. Only release title and notes can be modified.
StatsDirect 5.3.18 (22 November 2026)
Fixed
- An R script saved with its worksheet data keeps a comment of your own on its first line when that comment begins "# StatsDirect worksheet data:". Before, StatsDirect took any such line for its own and removed it when the script was opened or saved. The same holds for the second line of a script that begins with #!.
StatsDirect 5.3.17
Immutable
release. Only release title and notes can be modified.
StatsDirect 5.3.17 (22 November 2026)
Changed
- When StatsDirect updates itself, it downloads the installer from the release's page at GitHub, where the installers are now kept. StatsDirect reads the new version from a small file on www.statsdirect.com, together with the installer's address, size and SHA-256, and opens the downloaded installer only if it is exactly that file: of that size and SHA-256, signed by StatsDirect Limited, and the version offered. A download that fails any of these checks is removed and StatsDirect stays open.
- On a network that blocks GitHub, StatsDirect fetches the same installer from www.statsdirect.com instead, and checks it in the same way.
- If the update information cannot be read, StatsDirect says so and gives the address of the download page.
StatsDirect 5.3.16
StatsDirect 5.3.16 (21 November 2026)
Added
- The worksheet toolbar has Analyse, R and R+.
- Analyse searches the Analysis, Data and Graphics commands; their results go to the report you last selected, or to a new report when none is open.
- R opens StatsDirect's own R session, and R+ opens R's own window.
- Both can copy the entire worksheet or the selected cells into R as worksheet_data, as a data frame or a list of vectors, with the first row as column names and optional R-friendly names.
- Worksheet data arrives in R by rules shared with StatsDirect for Mac:
- blank cells, StatsDirect's missing-value marker * and the other markers, and spreadsheet errors are NA;
- numbers arrive exactly;
- dates without a time of day are R dates;
- formulas send their current results, and a workbook set to calculate manually is calculated first.
- The R script window's toolbar has R+, to continue the script in R or RStudio. Each use saves a new file in StatsDirect's R folder, named after the window and the time, so a script handed to R earlier, and the worksheet data beside it, are never replaced. A script holding worksheet data keeps the data in a file beside it when it is saved (analysis.R has analysis.worksheet-data.csv, named in the script's first line). Each R window works on its own copy of its data, so nothing written beside a script later, by another script saved under the same name or by another program, changes what the window runs, saves or hands to R, and StatsDirect asks before saving over a data file that holds other data. A saved script whose data file is missing, or held open by another program, asks you to put the file back or close it before the script opens.
Changed
- StatsDirect reopens at its saved position and size, and hides its window as soon as a close is accepted.
- R's own window, when opened from the R script window, runs your own R start-up file first, as R does.
Fixed
- R processes started from R's own window, opened from the R script window, no longer run the script again. Two such windows opened in quick succession each run their own script, and a script runs whatever R's language setting.
- When closing StatsDirect is stopped by one window (for example by Cancel at its question about saving), the windows asked before it stay open, with their tabs. Before, a clean workbook asked earlier could disappear.
- Close and update starts the installer when a report or an R window is open. StatsDirect closed after the report's question, but the update did not start, so StatsDirect stayed on the earlier version.
StatsDirect 5.3.15
StatsDirect 5.3.15 (20 November 2026)
Changed
- When StatsDirect updates itself, it checks the downloaded installer before starting it: the file must be signed by StatsDirect Limited and be a newer version of StatsDirect than the one running. A download that fails the check is removed and StatsDirect stays open.
- The check for a new version uses a secure (https) connection to www.statsdirect.com from the start.
StatsDirect 5.3.14
StatsDirect 5.3.14 (20 November 2026)
Fixed
- The Copy and Open in R buttons on a code block in an AI conversation now work wherever the block appears. In Script AI they did nothing when the R code was indented with tabs, or sat inside a numbered step or a quotation, and Copy still said "Copied". In Learning, Open in R could open a different block of the same reply. StatsDirect now finds the block that was clicked; where it cannot, it says so, and "Copied" appears only when the code has been copied.
- Copy R code and Open R code in Script AI include R code that a reply placed inside a numbered step or a quotation.
- A code block labelled with options, such as "r echo=FALSE", is shown as R in the conversation, as Copy R code and Open R code already treated it.
StatsDirect 5.3.13
StatsDirect 5.3.13 (17 November 2026)
Fixed
- A large learning record can be exported again. A practice question is given in full the first time it appears in the exported record and referred to on later attempts, with every answer, confidence rating and line of reasoning kept, so a record of many repeated attempts stays within the export size limit. In such a record the attempts are numbered and each question in the PDF carries its identifier. A record in which no question repeats is exported as before.
StatsDirect 5.3.12
StatsDirect 5.3.12 (17 November 2026)
Changed
- Learning makes better use of the window: the tutor and the lesson materials fit wide, narrow and short windows. The study-context and assessment options are clearer, and StatsDirect's own lessons are told apart from an imported course pack.
- Notices in Learning can be dismissed.
- The ChatGPT sign-in messages use the same wording as StatsDirect for Mac and say that the Codex allowance of any ChatGPT plan, including Free, applies. The tip on the Batch option explains that StatsDirect will ask for new data for the next run.
- The Script AI help page inside StatsDirect describes the administrator AI policy, and the kappa help page carries its current worked example.
- StatsDirect's program files no longer record the folder they were built in.
Fixed
- The learning record stays small: each practice question is saved once instead of once with every attempt, so repeated practice no longer reaches the size limit at which the record could not be saved. Records from earlier versions open as before; an earlier version refuses a record saved by this one and leaves it unchanged.
- An exported learning record lists only the answered questions of a practice attempt that was ended early.
StatsDirect 5.3.11
StatsDirect 5.3.11 (15 November 2026)
Added
- Administrators can restrict online AI in Learning, Script AI and Report AI with the Windows policy value AISecurityLevel. Level 2 sends only the typed question, keeping workbooks, scripts, reports and earlier conversation on the computer, and can require an organisation's ChatGPT Enterprise workspace. Level 3 blocks online AI. Restrictions are off unless an administrator sets them.
- Learning has an expanded biostatistics and epidemiology course of 37 lessons and 108 practice questions, up from 12 lessons and 35 questions. New topics include study design, trial appraisal and power, diagnostic evidence, screening, survival with competing risks, regression models, measurement agreement, audit and control charts, causal adjustment, evidence synthesis, comparisons of three or more groups, complex surveys, interrupted time series, small-area rates and health economic evaluation.
Changed
- The study context and R stage are set in Learning Options, and learners can practise every built-in question without changing their study context.