Re: [R-pkg-devel] Unable to load Windows NETIO.SYS and WINSPOOL.DRV DLLs

2023-02-14 Thread David Sterratt
On Mon, 2023-02-13 at 19:08 +0100, Tomas Kalibera wrote: > For reference, there is an old patch for RGtk2 package that I had > created when working on Rtools42, though I am not very optimistic it > will help in this case: > >

Re: [R-pkg-devel] Unable to load Windows NETIO.SYS and WINSPOOL.DRV DLLs

2023-02-12 Thread David Sterratt
On Sat, 2023-02-11 at 18:11 +0300, Ivan Krylov wrote: > On Sat, 11 Feb 2023 11:19:42 + > David Sterratt wrote: > > > WinDbg output reveals errors loading "NETIO.SYS" and "WINSPOOL.DRV" > > when running "library(RGtk2)": > > > >

Re: [R-pkg-devel] Unable to load Windows NETIO.SYS and WINSPOOL.DRV DLLs

2023-02-12 Thread David Sterratt
(2) have RGtk4 dev libraries installed on build servers (I'm assuming that they are not currently installed). Best wishes, David -- David Sterratt, Lecturer https://www.ed.ac.uk/profile/sterratt Institute for Adaptive and Neural Computation tel: +44 131 651 1739 School of Informatics, U

[R-pkg-devel] Unable to load Windows NETIO.SYS and WINSPOOL.DRV DLLs

2023-02-11 Thread David Sterratt
set). The package can be installed, but the shared object created can't be loaded: > library(RGtk2) Error in inDL(x, as.logical(local), as.logical(now), ...) : unable to load shared object 'C:/Users/David Sterratt/AppData/Local/R/win-library/4.3/RGtk2/libs/x 64/RGtk2.

[Rd] Unable to load Windows NETIO.SYS and WINSPOOL.DRV DLLs

2023-02-11 Thread David Sterratt
cal(now), ...) : unable to load shared object 'C:/Users/David Sterratt/AppData/Local/R/win-library/4.3/RGtk2/libs/x 64/RGtk2.dll': LoadLibrary failure: The specified module could not be found. WinDbg output reveals errors loading "NETIO.SYS" and "WINSPOOL.DRV" when

Re: [R-pkg-devel] Cannot submit package due to misspell note

2018-04-07 Thread David Sterratt
|On the subject of spell-checking, to avoid false positives when I'm checking the package, in the directory above the package directory I create a file called .spell_ignore with one word per line, and then run|: |||devtools::spell_check("pkg/", dict="en_GB", ignore=read.table(".spell_ignore",

Re: [Rd] Catching errors from solve() with near-singular matrices

2012-12-12 Thread David Sterratt
Dear all, many thanks to Jon Ravi for their help on this, and apologies if r-help would have been a more appropriate forum. On Tue, 2012-12-11 at 15:43 +, Jon Clayden wrote: Strategy 1: Some code like this: if (det(X) epsilon) { warning(Near singular

[Rd] Catching errors from solve() with near-singular matrices

2012-12-11 Thread David Sterratt
Dear all, The background is that I'm trying to fix this bug in the geometry package: https://r-forge.r-project.org/tracker/index.php?func=detailaid=1993group_id=1149atid=4552 Boiled down, the problem is that there exists at least one matrix X for which det(X) != 0 and for which solve(X) fails

Re: [Rd] Replacements for stdout and stderr guaranteed to be open in all versions of R

2012-05-12 Thread David Sterratt
On Fri, 2012-05-11 at 18:36 -0400, Duncan Murdoch wrote: On 12-05-11 5:36 PM, David Sterratt wrote: Looking at http://svn.r-project.org/R/trunk/src/gnuwin32/system.c it would appear that R_Consolefile and R_Outputfile only point to open files when CharacterMode == RTerm, not in GUI mode

[Rd] Replacements for stdout and stderr guaranteed to be open in all versions of R

2012-05-11 Thread David Sterratt
I maintain the geometry package, which integrates the Qhull C library (http://qhull.org) into R. The Qhull function I hook into requires an open FILE handle as one of its arguments. I had set this file handle to stdout, but now R check NOTEs the presence of stdout, and the CRAN maintainers asked