********************************************************************* Comprehensive list of improvements and modifications to the Area and Time Above and Under the Curve (ATAUC) ********************************************************************* Area and Time Above and Under the Curve (ATAUC) is a front end to R: the calculations are done by the ATAUC R script, which is shipped encrypted, and R (free of charge) must be installed from http://www.r-project.org. ATAUC is written by Luis Orlindo Tedeschi and distributed by NutritionModels.com. The versions up to 1.0.9215.28194 (version 1.x) were published without a list of changes, except for the short message of the update check. Their entries below were reconstructed in November 2026 from the setup files kept for each version, so they list what can be seen in the installed files (new options, new or removed files, updated libraries and R scripts) and not every correction made inside the program or the R script. Version 2.x =========== ATAUC 2 is a major upgrade of both the program and the R script, and it may require (re)registration. Everything the R script used to ask in its own windows (the workbook, the worksheet, the variables, the thresholds and the options) is now on the main window of ATAUC, and R runs in the background. ATAUC remains a front end to R: the calculations are done by the ATAUC R script, and R (free of charge) must be installed from http://www.r-project.org. 2.0.9827.26301 (2026-12-01) --------------------------- THIS VERSION MAY REQUIRE (RE)REGISTRATION DUE TO CHANGES IN THE LICENSING. (1) Licensing: from version 2.0 an ATAUC license has a term of 365 days, counted from the date of registration, and version 2.0 uses a new registration code, as in the other programs of NutritionModels.com. When the term ends ATAUC asks for a new registration code only if the code has changed since the copy was registered; while it has not changed, the copy stays registered and nothing is asked. A registration made with version 1.0 is recognized. (2) New main window. The Excel workbook and its worksheet, the time (X), the measured value (Y), the sensor and the class variables, the thresholds, the integration and spline methods, the sensor smoothing and the chart options are chosen on the main window, with the checks of version 1.0 (a column that does not suit its role is reported when it is chosen). R reads the workbook to list the worksheets and the columns. (3) An Excel workbook or an ATAUC project can be dropped anywhere on the ATAUC window: the workbook is used as by Browse, the project is opened. Projects: the file, variables and options of an analysis are saved as an ATAUC project (.atauc) with File, Save and opened with File, Open; the ten most recent projects are listed under File, Recent Files. The settings files saved by the 1.0 R script open in version 2.0. A project moved with its workbook to another folder or computer finds the workbook beside it. The sample workbook is now sample.xlsx (data.xlsx of version 1.0, renamed; the old file can be deleted), and a sample project (sample.atauc) is installed with it in Documents\NutritionModels\ATAUC Files: double-click it to open the sample analysis. (4) New R script (2.0.0). It no longer opens windows of its own and runs in the background while ATAUC shows its progress and messages; Stop (Shift+F5) ends a run at once. Every run writes its results in a new folder beside the workbook, in a folder named after the workbook, one folder per run named by when it ran (\Run 2026-11-09 20-45, ...; the summary tables in \Summary 2026-11-09 21-15, ...): the combined table (final_output.csv), the data used (dataframe.csv), and one folder per threshold with the charts, the interval and daily tables of each group and the table of all groups. A log.txt records the options, the R version, every warning of R and the groups that could not be computed. (5) Corrections of the R script: a reading without Y is left out (in version 1.0 one missing value made the whole group empty); turning off the charts no longer stops the run; a time (X) given as a number is read in the unit chosen (hours by default) instead of as seconds; the time of each group starts at its first reading after sorting, so it is never negative; repeated times are averaged before the area is integrated; the integration methods offered are those that work (linear and spline); a periodic spline is used only when the curve ends where it starts; names of groups with characters Windows does not allow in a file name are made safe; thresholds that are not numbers are refused, and a repeated threshold is computed once; the charts and file names name the Y variable instead of always saying ruminal pH. (6) Charts: PNG, JPEG, BMP or TIFF (TIFF as before), drawn with one engine on every computer (smoother lines and text when the ragg package is installed), with the resolution stored in the file; TIFF files are compressed without loss. (7) Every run makes the table of summary statistics of the worksheet (minimum, mean, standard deviation and maximum of every numeric column by class and sensor), shows it in the report and keeps it as summary.csv, without the downloads the 1.0 Summary button needed. (8) R packages: the script needs only readxl, dplyr, rootSolve and MESS (ragg optional), installs a missing one without asking, and no longer goes to the Internet at every start. Run, Install R Packages installs them ahead of the first run. (9) A menu bar (File, Run, Settings, Help), laid out as in the other programs of NutritionModels.com, with the recent projects, the results folder, the R engine, Always on Top, twelve color schemes (Clear Sky, the light blue of version 1.0, is the default), the logs and the start-up report, a copy of the system information for a support request, a reset of the settings and the manual (F1). Run is F5. Update, Register, Website and System Information are in the Help menu and in the About window. (10) New start-up screen and About window, with the registration, this computer and the notice. ATAUC checks its folders, the R script, R and its settings at start-up and saves a report; an unexpected error no longer closes ATAUC, it is reported and kept in an error log (Documents\NutritionModels\ATAUC Files\Logs). Settings, Logs can turn off the error log and the start-up reports. (11) Registration and updates: ATAUC is rebuilt with the current registration and web update libraries; the update check runs in the background and gives up after 15 seconds when the website cannot be reached. (12) A new license agreement, the same as for the other programs of NutritionModels.com. The setup is smaller: the program folder no longer receives libraries ATAUC does not use, debugging files or library documentation. (13) Several worksheets of one workbook can be analyzed together as one table (More... beside the worksheet), for sensor data split into sheets. (14) Tools, Convert CSV to Excel splits a large CSV file of sensor readings into an Excel workbook with one sheet per group (for example, per animal and bolus), sorted and cleaned of unreadable values at one of three levels, with a cleaning log; Tools, Convert Excel to CSV joins the sheets of a workbook into one CSV file. Dates and times stay dates and times. The file to convert can be dropped anywhere on the Convert window. (15) Settings, Check Every Row: when it is off, the kind of each column (number, date and time, category) is judged on 10,000 rows drawn at random, which is faster with very large workbooks. (16) A report with every run (report.html in the results folder; the Report button and Run, Open Report open it): a summary of the run; the data by class and sensor, with a chart of Y by each class variable; for each threshold, the results of every group, charts of the areas and times above and under the threshold by each class variable, and each group's charts, shown small and opened full size by a click; the methods and references; the warnings of the run. It opens without the Internet. The output shown in the ATAUC window is kept as console.txt in the same folder. (17) When a workbook is opened, ATAUC proposes the columns: the date and time as X, pH (or the first measured value) as Y, a column named like sensor or bolus as the sensor, and the other categorical columns as class variables. A column has one role: the columns used as X, Y or sensor are greyed in the class variables (now in two columns) and in the other lists. (18) When the data cannot tell ATAUC what to do, it asks: whether two worksheets with readings of the same group at the same times are combined or kept apart, which cleaning level to use for cells that are not plain numbers, and which date order to follow for dates such as 03/04/2020; the analysis then runs with the answer. Settings, Data Questions keeps the answers. (19) The area of each interval integrates the spline chosen (version 1.0 always integrated a natural spline); the intervals below the threshold are counted as well as those above it; the results table keeps every digit; a class variable that looks continuous is reported. (20) R is found wherever it was installed (from the records of the R installer, R_HOME and PATH), not only in the usual folders. When no R is found, Run offers to choose Rscript.exe at once or to open the R download page, and ATAUC starts without an error. A message shown while ATAUC starts is no longer hidden behind the start-up screen. (21) R packages: before ATAUC reads a workbook, runs or converts a file, it checks that the chosen R has the packages ATAUC needs (and the packages these need) and offers to install the missing ones at once; Run, Install R Packages shows what R says, and a download that fails is tried again from other CRAN mirrors. (22) Windows stay sharp on every monitor: they are drawn at each monitor's own resolution and keep the size they have on the main monitor when they are moved to a monitor with another display scale or when the scale is changed while ATAUC runs, so no text is cut or blurred; on a small screen the main window scrolls. Version 1.x =========== 1.0.9215.28194 (2025-03-25) -------------- (1) Fixed the date used for registration. (2) New icons in the registration window. (3) Updated registration and web update libraries. 1.0.9213.14553 (2025-03-23) -------------- (1) When the Update button finds a newer version, the question that offers to download it also lists the changes in the new version, formatted as numbered or bulleted items. 1.0.9200.34194 (2025-03-10) -------------- (1) New web downloader: an update is downloaded with a progress bar, can be canceled, and is checked before it is installed. A website that does not answer no longer holds the program. (2) New icons in the update window. 1.0.9184.35203 (2025-02-22) -------------- (1) Improved search for R engines: ATAUC now also looks in the R folder at the root of the system drive (for example C:\R), besides Program Files and the AppData folder. (2) The list of R engines is kept between runs. When it exists, ATAUC asks whether to update it; answering No (the default) uses the saved list without searching again. (3) The Installed R Engines window has two new buttons: Browse adds an RScript.exe chosen by hand (one on a network share is stored with its mapped drive letter), and Delete removes an engine from the list. Engines added by hand are kept when the list is updated. (4) The main window shows the full version number (four parts). (5) The list of the Available Scripts window is larger. (6) New R script, version 0.61: modern-looking buttons; closing the window with the X button now asks before exiting and offers to save the settings, like the Close button; the window title shows the script version. (7) The setup file and the program are digitally signed. (8) The installer no longer includes the Microsoft .NET Framework 4.8.1 installer; it downloads it from Microsoft when it is needed, so an Internet connection is required during installation. 1.0.9183.13547 (2025-02-21) -------------- (1) Improved search for R engines: ATAUC now also looks in the AppData folder (AppData\Local\Programs\R), where R can be installed without administrator rights. (2) New R script, version 0.60: more reliable first-time installation of the R packages (checks that a CRAN mirror is reachable, waits longer for downloads, and keeps an installation log). (3) New installer. (4) Refreshed program icons and button images. (5) Updated third-party controls. 1.0.9094.22334 (2024-11-24) -------------- (1) New R script, version 0.59: new About window with author and web page; the package installation page appears only when packages must be installed and is saved as a log; optional CRAN mirror choice by country. (2) Updated third-party controls and registration library. 1.0.9076.36531 (2024-11-06) -------------- (1) New R script, version 0.57: new Summary button with a table of descriptive statistics (n, minimum, mean, SD, maximum) by class and sensor, saved as HTML and TIFF; the class variable list marks each column as categorical or numerical and asks before using a continuous one; package installation progress page. (2) When several R engines are installed, the engine that runs is the one chosen in the list (in version 1.0.9075.17577 the sorted list could start a different engine). 1.0.9075.17577 (2024-11-05) -------------- (1) Files with the extension .ATAUC (the settings saved by the R script) open in ATAUC: double-clicking one starts the program, shows the file name on the main window, and passes the file to the R script. (2) A sample data file (data.xlsx) is installed with the R scripts in Documents\NutritionModels\ATAUC Files. (3) The R engines are listed newest first, and when several R scripts are installed the newest is listed first. (4) The output and warnings of R are read as UTF-8, so accented and other special characters are shown correctly. (5) ATAUC uses U.S. number and date formats whatever the regional settings of Windows. (6) New R script, version 0.56: trend line (linear regression) on the plots and its intercept, slope, p-values, R² and MSE in the results; new plot with cumulative area and cumulative time above and under the threshold; sensor changes marked on the plots; save and load settings (.ATAUC files), opened automatically by the program; worksheet can be changed without choosing the file again; checks of the X, Y, class and sensor columns; all records analyzed as one group when no class variable is chosen; About box and exit confirmation. 1.0.8947.25724 (2024-06-30) -------------- (1) First published version: a Windows program that runs the ATAUC R script (version 0.52, shipped encrypted both as R code and as a saved R workspace, which starts faster) in an R engine installed on the computer. The script (0.52) asks for the Excel workbook and worksheet, the class, X, Y and sensor variables, several thresholds, the smooth transition between sensors, the spline and interpolation methods and the plot options, and writes the plots, the interval and daily tables, the table of all groups and the final results table. (2) ATAUC finds R in the Program Files folders and lets you choose the R engine, and the R script when there are several in Documents\NutritionModels\ATAUC Files. (3) The output and the warnings of R are shown in two windows while R runs, and the output is saved as output.txt (numbered when the file exists) in the ATAUC Files folder and opened in Notepad. The option Use CMD runs R in a command window instead. (4) Registration, with evaluation runs before the program is registered; a check for updates at start-up and an Update button; Website and SysInfo buttons. (5) Requires Microsoft .NET Framework 4.8.1, which the installer can download. Shortcuts on the desktop and in the Start menu.