[R-pkg-devel] Using FORTRAN libraries and compiler options

2019-11-11 Thread Rampal S. Etienne
Hello, I am using FORTRAN code with the deSolve package. However, the code still runs slowly. Googling tells me that there are two options to speed up my code: 1. Compile with option -O3 2. Use the library dgemm. I understand that this can be set in makevars. However, as I have limited

Re: [R-pkg-devel] problems with .mod files

2019-02-28 Thread Rampal S. Etienne
t; > Best, > > Remi > > > On 2/26/19 10:00 PM, r-package-devel-requ...@r-project.org wrote: >> Date: Mon, 25 Feb 2019 17:13:51 +0100 >> From: "Rampal S. Etienne" >> To:R-package-devel@r-project.org >> Subject: [R-pkg-devel] problems with .mod fil

[R-pkg-devel] problems with .mod files

2019-02-25 Thread Rampal S. Etienne
Hello, I have been trying for weeks to get a package on CRAN, but keep receiving warnings and notes, and errors using R-hub. The problems started when I used FORTRAN code to speed up some functions. This FORTRAN code introduces .mod files which are not accepted in the src folder. I followed

Re: [R-pkg-devel] avoiding .mod files

2018-11-21 Thread Rampal S. Etienne
That helps. Thanks! Rampal On 21-11-2018 3:03, Avraham Adler wrote: > On Tue, Nov 20, 2018 at 4:45 AM Rampal Etienne > wrote: >> Dear Thomas, >> >> My FORTRAN code to be used with deSolve contains a module dimmod. During >> build a file called dimmod.mod is created in the src directory. I can

Re: [R-pkg-devel] nativeRoutines error when using roxygen2 in RStudio

2018-11-07 Thread Rampal S. Etienne
The problem was resolved by installing again a new version of devtools. However, this new version gives other problems: devtools::check() says the DESCRIPTION file is missing a License field, but there IS a license field in this file. On 7-11-2018 16:59, William Dunlap wrote: > After installing

Re: [R-pkg-devel] nativeRoutines error when using roxygen2 in RStudio

2018-11-07 Thread Rampal S. Etienne
Dear Georgi, Thanks for the suggestion, but that does not work either. I can send the code if that would help. But note that the code was working fine until I installed a new R-devel version. But perhaps there is an update in how the routines should be registered. I am doing it like this:

[R-pkg-devel] registering native routines

2018-04-10 Thread Rampal S. Etienne
Dear all, I am using Fortran code with the deSolve package in my package called "DDD". When checking my package I get the message: checking compiled code ... NOTE File 'DDD/libs/x64/DDD.dll': Found no calls to: 'R_registerRoutines', 'R_useDynamicSymbols' It is good practice to register native

Re: [R-pkg-devel] Exited with status -1073741819.

2017-11-29 Thread Rampal S. Etienne
11-2017 11:16, Martin Maechler wrote: >>>>>> Rampal S Etienne <rampaletie...@gmail.com> >>>>>> on Wed, 29 Nov 2017 09:19:29 +0100 writes: > > Dear Dason, > > I don't get this error, but it crashes anyway. > > and you don't s

Re: [R-pkg-devel] Exited with status -1073741819.

2017-11-29 Thread Rampal S. Etienne
Dear Dason, I don't get this error, but it crashes anyway. I've that if I use the stable version of R (3.4.2) I do NOT get the error anymore, so I assume there is something wrong with the current R-devel. Regards, Rampal Etienne On 29-11-2017 0:36, Dason Kurkiewicz wrote: > Do you get the

Re: [R-pkg-devel] building binary gives error when trying to load

2016-11-04 Thread Rampal S. Etienne
Thanks from my side as well! Rampal On 1-11-2016 21:53, Henric Winell wrote: > Den 2016-11-01 kl. 21:24, skrev Duncan Murdoch: >> On 01/11/2016 9:49 AM, Rampal Etienne wrote: >>> Dear all, >>> >>> When I try to build a Windows binary in RStudio using R-devel, >>> everything goes well until the