Re: [R-pkg-devel] Windows load error installing package SOLVED - additional note

2021-06-13 Thread Uwe Ligges
On 13.06.2021 12:49, J C Nash wrote: Thanks Uwe. You are welcome. My misunderstanding. I thought the reference was to one of the "src/" directories in the base R tree. However, I found examples in some packages for the location. Windows is alien territory for me, unfortunately. I see.

Re: [R-pkg-devel] Windows load error installing package SOLVED - additional note

2021-06-13 Thread J C Nash
Thanks Uwe. My misunderstanding. I thought the reference was to one of the "src/" directories in the base R tree. However, I found examples in some packages for the location. Windows is alien territory for me, unfortunately. JN On 2021-06-12 7:27 p.m., Uwe Ligges wrote: > > > On 12.06.2021 1

Re: [R-pkg-devel] Windows load error installing package SOLVED - additional note

2021-06-12 Thread Uwe Ligges
On 12.06.2021 16:39, J C Nash wrote: Two minor notes: 1) The Writing R Extensions manual, as far as I can determine, does not inform package developers that Makevars.win needs to be in the src/ subdirectory. I followed the example of some other packages to choose where to put it. I just s

Re: [R-pkg-devel] Windows load error installing package SOLVED - additional note

2021-06-12 Thread J C Nash
Two minor notes: 1) The Writing R Extensions manual, as far as I can determine, does not inform package developers that Makevars.win needs to be in the src/ subdirectory. I followed the example of some other packages to choose where to put it. 2) Also, while I managed to get my package to insta

Re: [R-pkg-devel] Windows load error installing package SOLVED

2021-06-11 Thread J C Nash
After some flailing around, discovered a posting https://stackoverflow.com/questions/42118561/error-in-r-cmd-shlib-compiling-c-code which showed a makevars.win file containing PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS) I had tried several similar such makevars.win files, but trying PKG_LIB

Re: [R-pkg-devel] Windows load error installing package

2021-06-10 Thread J C Nash
Thanks Dirk: It looks like R_Windows isn't setting any BLAS or LAPACK. Here is the output from sessionInfo() on my Win10 (VirtualBox VM) and Linux Mint 20.1 systems. However, I've not got any idea how to fix this. JN >> sessionInfo() > R version 4.1.0 (2021-05-18) > Platform: x86_64-w64-mingw

Re: [R-pkg-devel] Windows load error installing package

2021-06-10 Thread Dirk Eddelbuettel
On 10 June 2021 at 09:22, J C Nash wrote: | Thanks to help from Duncan Murdoch, we have extracted the nls() functionality to a package nlspkg and are building | an nlsalt package. We can then run nlspkg::AFunction() and nlsalt::AFunction() in a single script to compare. | This works great in Li

[R-pkg-devel] Windows load error installing package

2021-06-10 Thread J C Nash
Hi, I'm mentoring Arkajyoti Bhattacharjee for the Google Summer of Code project "Improvements to nls()". Thanks to help from Duncan Murdoch, we have extracted the nls() functionality to a package nlspkg and are building an nlsalt package. We can then run nlspkg::AFunction() and nlsalt::AFunctio