linny-r 3.0.3 → 3.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +49 -47
- package/package.json +1 -1
- package/static/index.html +250 -171
- package/static/linny-r.css +30 -7
- package/static/scripts/linny-r-ctrl.js +53 -35
- package/static/scripts/linny-r-gui-controller.js +4 -3
- package/static/scripts/linny-r-gui-dataset-manager.js +12 -5
- package/static/scripts/linny-r-gui-experiment-manager.js +7 -4
- package/static/scripts/linny-r-gui-expression-editor.js +5 -3
- package/static/scripts/linny-r-gui-file-manager.js +29 -3
- package/static/scripts/linny-r-gui-monitor.js +0 -6
- package/static/scripts/linny-r-gui-paper.js +3 -2
- package/static/scripts/linny-r-gui-receiver.js +2 -1
- package/static/scripts/linny-r-model.js +64 -35
- package/static/scripts/linny-r-vm.js +136 -53
package/README.md
CHANGED
|
@@ -35,8 +35,8 @@ Linny-R is developed as a JavaScript package, and requires that **Node.js**
|
|
|
35
35
|
is installed on your computer. This software can be downloaded from
|
|
36
36
|
<a href="https://nodejs.org" target="_blank">https://nodejs.org</a>.
|
|
37
37
|
Make sure that you choose the correct installer for your computer.
|
|
38
|
-
Linny-R is developed using the _current_ release. Presently (
|
|
39
|
-
this is
|
|
38
|
+
Linny-R is developed using the _current_ release. Presently (January 2026)
|
|
39
|
+
this is 25.2.1.
|
|
40
40
|
|
|
41
41
|
Run the installer and accept the default settings.
|
|
42
42
|
There is <u>**no**</u> need to install the optional _Tools for Native Modules_.
|
|
@@ -47,7 +47,7 @@ Verify the installation by typing:
|
|
|
47
47
|
|
|
48
48
|
``node --version``
|
|
49
49
|
|
|
50
|
-
The response should be the version number of Node.js, for example:
|
|
50
|
+
The response should be the version number of Node.js, for example: v25.2.1.
|
|
51
51
|
|
|
52
52
|
## Installing Linny-R
|
|
53
53
|
It is advisable to install Linny-R in a directory on your computer, **not**
|
|
@@ -78,50 +78,6 @@ and then type at the command line prompt:
|
|
|
78
78
|
> [!IMPORTANT]
|
|
79
79
|
> The spacing around the dot is essential. Type the command in lower case.
|
|
80
80
|
|
|
81
|
-
After installation has completed, `Linny-R` should have this directory tree
|
|
82
|
-
structure:
|
|
83
|
-
|
|
84
|
-
<pre>
|
|
85
|
-
Linny-R
|
|
86
|
-
|
|
|
87
|
-
+-node_modules
|
|
88
|
-
|
|
|
89
|
-
+-@xmldom
|
|
90
|
-
|
|
|
91
|
-
+-linny-r
|
|
92
|
-
|
|
|
93
|
-
+-static
|
|
94
|
-
|
|
|
95
|
-
+-fonts
|
|
96
|
-
|
|
|
97
|
-
+-images
|
|
98
|
-
|
|
|
99
|
-
+-scripts
|
|
100
|
-
|
|
|
101
|
-
+-sounds
|
|
102
|
-
</pre>
|
|
103
|
-
|
|
104
|
-
`Linny-R` should contain two JSON files `package.json` and `package-lock.json`
|
|
105
|
-
that should **not** be removed, or you will have to re-install Linny-R.
|
|
106
|
-
It should also contain the launch script. On a macOS machine, this will be
|
|
107
|
-
the shell script `linny-r.command`, on a Windows machine the batch script
|
|
108
|
-
`linny-r.bat`.
|
|
109
|
-
|
|
110
|
-
All other software is contained in the `node_modules` directory. It comprises
|
|
111
|
-
two Node.js packages: `@xlmdom` and `linny-r`.
|
|
112
|
-
|
|
113
|
-
The `linny-r` package directory should contain this file `README.md`, the files
|
|
114
|
-
`server.js` and `console.js` that will be run by Node.js, and the sub-directory
|
|
115
|
-
`static`. This `static` directory should contain two HTML files:
|
|
116
|
-
|
|
117
|
-
* `index.html` (the browser-based GUI)
|
|
118
|
-
* `show-diff.html` (to display differences between two Linny-R models)
|
|
119
|
-
|
|
120
|
-
It should also contain the style sheet `linny-r.css` required by the GUI.
|
|
121
|
-
|
|
122
|
-
The sub-directories of `static` contain files that are served to the browser
|
|
123
|
-
by the script `server.js` when it is running in Node.js.
|
|
124
|
-
|
|
125
81
|
> [!IMPORTANT]
|
|
126
82
|
> Unless you _really_ know what you are doing, do **not** move or rename
|
|
127
83
|
> your Linny-R directory or change its contents. If for some reason Linny-R
|
|
@@ -433,6 +389,52 @@ ways.
|
|
|
433
389
|
> The console-only version is still in development, and does not provide
|
|
434
390
|
> all functions yet.
|
|
435
391
|
|
|
392
|
+
## Checking your Linny-R configuration
|
|
393
|
+
|
|
394
|
+
After installation has completed, `Linny-R` should have this directory tree
|
|
395
|
+
structure:
|
|
396
|
+
|
|
397
|
+
<pre>
|
|
398
|
+
Linny-R
|
|
399
|
+
|
|
|
400
|
+
+-node_modules
|
|
401
|
+
|
|
|
402
|
+
+-@xmldom
|
|
403
|
+
|
|
|
404
|
+
+-linny-r
|
|
405
|
+
|
|
|
406
|
+
+-static
|
|
407
|
+
|
|
|
408
|
+
+-fonts
|
|
409
|
+
|
|
|
410
|
+
+-images
|
|
411
|
+
|
|
|
412
|
+
+-scripts
|
|
413
|
+
|
|
|
414
|
+
+-sounds
|
|
415
|
+
</pre>
|
|
416
|
+
|
|
417
|
+
`Linny-R` should contain two JSON files `package.json` and `package-lock.json`
|
|
418
|
+
that should **not** be removed, or you will have to re-install Linny-R.
|
|
419
|
+
It should also contain the launch script. On a macOS machine, this will be
|
|
420
|
+
the shell script `linny-r.command`, on a Windows machine the batch script
|
|
421
|
+
`linny-r.bat`.
|
|
422
|
+
|
|
423
|
+
All other software is contained in the `node_modules` directory. It comprises
|
|
424
|
+
two Node.js packages: `@xlmdom` and `linny-r`.
|
|
425
|
+
|
|
426
|
+
The `linny-r` package directory should contain this file `README.md`, the files
|
|
427
|
+
`server.js` and `console.js` that will be run by Node.js, and the sub-directory
|
|
428
|
+
`static`. This `static` directory should contain two HTML files:
|
|
429
|
+
|
|
430
|
+
* `index.html` (the browser-based GUI)
|
|
431
|
+
* `show-diff.html` (to display differences between two Linny-R models)
|
|
432
|
+
|
|
433
|
+
It should also contain the style sheet `linny-r.css` required by the GUI.
|
|
434
|
+
|
|
435
|
+
The sub-directories of `static` contain files that are served to the browser
|
|
436
|
+
by the script `server.js` when it is running in Node.js.
|
|
437
|
+
|
|
436
438
|
## Troubleshooting problems
|
|
437
439
|
|
|
438
440
|
If during any of the steps above you encounter problems, please try to
|