[Rd] fortran 90 underscore error

2011-03-14 Thread jgarcia
Hi there, I am preparing a package based on Fortran 90 code. I've put the main code is a MODULE, and I'm having several error messages with the linker: >R CMD SHLIB --output=mylib.so nrtype.f90 topbalmod.f90 runmodels.f90 The several error messages are related with the addition of an underscore

Re: [Rd] Bug in read.table?

2010-11-07 Thread jgarcia
Thanks. Yes, quote="" solves the problem. I would never say, however, from the documentations, that this was causing the duplicate records. Rather, I would have expected some kind of warning/error message. And, yes, I knew that, through duplicate(), R solves gracefully this specific problem. Just

[Rd] Bug in read.table?

2010-11-05 Thread jgarcia
Hi, I'm writting to this list as I'm puzzled about the behaviour of read.table(). It is hard to believe that there is a bug in this utils' function, but for my: R version 2.12.0 alpha (2010-09-28 r53056) I'm using scan and read.table to read a number of files, which are as: --- Project: Mu

Re: [Rd] bulding a package for Windows (path problem?)

2010-09-30 Thread jgarcia
Thanks, Uwe. It now INSTALLs perfectly with Rtools installed. Best wishes, Javier --- > You need a recent version of the Rtools from Duncan Murdoch's web page. > It includes the file.exe required for checking. > > Uwe Ligges > > On 30.09.2010 18:38, jgar...@ija.csic.es wrote: >> Thanks to Duncan Mu

Re: [Rd] bulding a package for Windows (path problem?)

2010-09-30 Thread jgarcia
Thanks to Duncan Murdoch and Prof. Ripley for the previous answers. I apologize as I was not updated with the R version. Now with R 2.12.0 alpha the package builds [Windows XP] but it still fails when checking: --- C:\home\javier\Documents\hydrology\development>R CMD check hydrosim * using log dir

[Rd] bulding a package for Windows (path problem?)

2010-09-30 Thread jgarcia
Hi, I am working on a package with several hydrological functions which builds/checks/INSTALLs gracefully for a Linux box. However, for a Microsoft Windows XP [VersiĆ³n 5.1.2600] I have the error: C:\Archivos de programa\R\R-2.9.2\bin>R CMD build C:\home\javier\Documents\hydrology\development\hydr

Re: [Rd] .Fortran interface error

2010-04-13 Thread jgarcia
lib64/libgfortran.so.2.0.0) ==25824==by 0x50E7A73: (within /usr/lib64/libgfortran.so.2.0.0) ==25824==by 0x5069B37: (within /usr/lib64/libgfortran.so.2.0.0) ==25824==by 0x50F9241: (within /usr/lib64/libgfortran.so.2.0.0) ==25824==by 0x5066CF2: (within /usr/lib64/libgfortran.so.2.0.0) runfile:

Re: [Rd] .Fortran interface error

2010-04-13 Thread jgarcia
Hi, I've stripped all the code, and it seems that any simple attempt to open/close a file from fortran is the cause of the error, and the error appears in f77 as well as in f95 code. Please, find attached a foo package that reproduce the errors, it should build/check/install without any problem (it

[Rd] .Fortran interface error

2010-04-13 Thread jgarcia
Hi all, I'm preparing a package which uses .Fortran to interface a Fortran 95 function. This F95 function simply receives the name of a file from R, opens this file and forwards its content to a F95 module, which, in turn, makes the real computation. The F95 module is a pre-existing one and I'm tr