Re: [Rd] can't build from source: error: template with C linkage

2016-08-19 Thread Jarrod Hadfield
f not then you have already fixed this. Martyn On Fri, 2016-08-19 at 06:25 -0500, Dirk Eddelbuettel wrote: Jarrod, On 19 August 2016 at 04:43, Jarrod Hadfield wrote: Hi All, Users have contacted me because they can not build MCMCglmm from source. All are using R 3.3.0 on various machines with diffe

[Rd] can't build from source: error: template with C linkage

2016-08-18 Thread Jarrod Hadfield
Hi All, Users have contacted me because they can not build MCMCglmm from source. All are using R 3.3.0 on various machines with different compilers gcc (Ubuntu 5.4.0-6ubuntu1~16.04.2) 5.4.0 g++ (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4 Mac OS X El Capitan (version/compiler unspecified) The issue s

[Rd] gcc optimization

2016-05-18 Thread Jarrod Hadfield
Hi, I have noticed that the run times for MCMCglmm models (mainly written in C/C++) have suddenly jumped up on Linux machines (Ubuntu/Linaro 4.6.4 and Scientific Linux 6.6) yet they have remained stable on Windows where they run much faster than on Linux. I wondered whether something had cha

Re: [Rd] valgrind and C++

2014-03-18 Thread Jarrod Hadfield
old version of your package (2.17) not the new one (2.18). Wait for an update. Martyn On Mon, 2014-03-17 at 17:26 +, Jarrod Hadfield wrote: Hi, I am sorry if this is perceived as a C++ question rather than an R question. After uploading an R library to CRAN (MCMCglmm) the C++ code failed to

[Rd] valgrind and C++

2014-03-17 Thread Jarrod Hadfield
Hi, I am sorry if this is perceived as a C++ question rather than an R question. After uploading an R library to CRAN (MCMCglmm) the C++ code failed to pass the memory checks. The errors come in pairs like: Mismatched free() / delete / delete [] at 0x4A077E6: free (vg_replace_malloc.c:446)

[Rd] Conditional jump or move depends on uninitialised value(s)

2014-03-14 Thread Jarrod Hadfield
Hi, I'm using valgrind to check over some C/C++ code for an R library. I'm getting the report (see below), but can't track down the uninitialised value(s). I tried using --track-origins=yes in valgrind which gives: ==28258== Uninitialised value was created by a stack allocation ==28258==

[Rd] Rinstignore

2012-03-18 Thread Jarrod Hadfield
Hi, My updated CRAN package keeps getting bounced by CRAN because the inst/doc folder is too large. I have included a .Rinstignore file in the top-level directory using both doc/Lecture1-*.*pdf$ and inst/doc/Lecture1-*.*pdf$ The files seem to be removed if I use R --as-cran CMD check p

Re: [Rd] R CMD build wiped my computer

2010-07-28 Thread Jarrod Hadfield
oblem. Perhaps Fedora should not use ~ as its back up file suffixes? Cheers, Jarrod On 28 Jul 2010, at 11:41, Martin Maechler wrote: Jarrod Hadfield on Tue, 27 Jul 2010 21:37:09 +0100 writes: Hi, I ran R (version 2.9.0) CMD build under root in Fedora (9). When it tried to remove "

[Rd] R CMD build wiped my computer

2010-07-28 Thread Jarrod Hadfield
Hi, I ran R (version 2.9.0) CMD build under root in Fedora (9). When it tried to remove "junk files" it removed EVERYTHING in my local account! (See below). Can anyone tell me what happened, and even more importantly if I can I restore what was lost. Panickingly, Jarrod [jar...@localh