[R-pkg-devel] Closing a display window from a program

2024-11-19 Thread J C Nash
In answer to my own posting about this, I found the following partially answers what I need. The task is to display a file (in my case a pdf, for which 'xdisp' contains the string for the command to do this. See below for the reason this is a variable. The displayed file has information I will ne

Re: [R-pkg-devel] Closing a display window from a program

2024-11-19 Thread Serguei Sokol
Le 19/11/2024 à 14:41, J C Nash a écrit : In answer to my own posting about this, I found the following partially answers what I need. The task is to display a file (in my case a pdf, for which 'xdisp' contains the string for the command to do this. See below for the reason this is a variable. T

[R-pkg-devel] Simple way to run code during package install

2024-11-19 Thread Duncan Murdoch
I have some code in rgl and rgl2gltf that should be run during the package install process, and not later. (It's a call to rgl::makeDependency, which does some stuff with Javascript files and writes into the package installation directory, saving the paths of the files it wrote.) Currently r