Re: [Rd] Question about writing portable packages

2013-06-08 Thread Gray
Kevin Ushey: (12:10AM on Fri, Jun 07) I think the key word here is _other_ packages. It's entirely okay to call your package's own compiled code through the .Call interface (and the code you write may link to other packages; the obvious example being Rcpp code you write); however, it is not

[Rd] Compile error gfortran-4.6

2013-06-08 Thread Fabio Mathias Corrêa
Dears, I am writing a code in Fortran using OpenMP directives. When compiling the code in gfortran 4.4 does not occur any problem. When compiling the code in gfortran 4.6, an error message appears. In other compilers the error does not occur. A small example. ## Code in Fortran        

[Rd] Compile error with gfortran-4.6

2013-06-08 Thread Fabio Mathias Corrêa
Dears, I am writing a code in Fortran using OpenMP directives. When compiling the code in gfortran 4.4 does not occur any problem. When compiling the code in gfortran 4.6, an error message appears. In other compilers the error does not occur. A small example. ## Code in Fortran        

Re: [Rd] Compile error with gfortran-4.6

2013-06-08 Thread Prof Brian Ripley
This is not gfortran-help, but note that you are not doing this correctly. See 'Writing R Extensions' §1.2.1. The linking step needs a flag too. Beyond that, you failed to tell us your OS, and in fact there are no such versions of gfortran (4.6.0 != 4.6). The posting guide does ask you to

[Rd] Problem with gfortran-4.6

2013-06-08 Thread Fabio Mathias Corrêa
Dears, I am writing a code in Fortran using OpenMP directives. When compiling the code in gfortran 4.4 does not occur any problem. When compiling the code in gfortran 4.6, an error message appears. In other compilers the error does not occur. A small example. ## Code in Fortran        

[Rd] R CMD INSTALL and file permission settings

2013-06-08 Thread Dirk Eddelbuettel
Summary: The directory /usr/local/lib/R/site-library can be used for site-wide multi-user installations of R. This is even the default on Debian and Ubuntu (following a suggestion by Kurt and Fritz a decade ago over beers -- what could be better). However, R enforces wrong

Re: [Rd] R CMD INSTALL and file permission settings

2013-06-08 Thread Andreas Leha
Hi all, Dirk Eddelbuettel e...@debian.org writes: Summary: The directory /usr/local/lib/R/site-library can be used for site-wide multi-user installations of R. This is even the default on Debian and Ubuntu (following a suggestion by Kurt and Fritz a decade ago over beers --