Re: [Rd] NOTE when detecting mismatch in output, and codes for NOTEs, WARNINGs and ERRORs

2014-04-10 Thread Kirill Müller
On 03/26/2014 06:46 PM, Paul Gilbert wrote: On 03/26/2014 04:58 AM, Kirill Müller wrote: Dear list It is possible to store expected output for tests and examples. From the manual: "If tests has a subdirectory Examples containing a file pkg-Ex.Rout.save, this is compared to the output file f

[Rd] ! LaTeX Error: File `zi4.sty' not found.

2014-04-10 Thread Witold E Wolski
R version 3.1.0 beta (2014-03-28 r65330) -- "Spring Dance" When running R CMD check mypackage. the check fails with : ! LaTeX Error: File `zi4.sty' not found. a search for this error forwards to similar errors but with an inconsolata.sty file. -- Witold Eryk Wolski ___

Re: [Rd] ! LaTeX Error: File `zi4.sty' not found.

2014-04-10 Thread Dirk Eddelbuettel
On 10 April 2014 at 10:16, Witold E Wolski wrote: | R version 3.1.0 beta (2014-03-28 r65330) -- "Spring Dance" | | When running R CMD check mypackage. | | the check fails with : | | ! LaTeX Error: File `zi4.sty' not found. You failed to state which OS you're on, so barring contradictory inform

Re: [Rd] R 3.1.0 and C++11

2014-04-10 Thread Dirk Eddelbuettel
On 2 December 2013 at 07:04, Dirk Eddelbuettel wrote: | | Following up on the thread spawned a while back, I just wanted to say that I | appreciate today's RSS serving of R-devel NEWS: | |CHANGES IN R-devel PACKAGE INSTALLATION | |There is _experimental_ support for compiling C++11 code

Re: [Rd] R 3.1.0 and C++11

2014-04-10 Thread Martyn Plummer
On Thu, 2014-04-10 at 07:22 -0500, Dirk Eddelbuettel wrote: > On 2 December 2013 at 07:04, Dirk Eddelbuettel wrote: > | > | Following up on the thread spawned a while back, I just wanted to say that I > | appreciate today's RSS serving of R-devel NEWS: > | > |CHANGES IN R-devel PACKAGE INSTAL

Re: [Rd] R 3.1.0 and C++11

2014-04-10 Thread Gabor Grothendieck
On Tue, Oct 29, 2013 at 1:58 AM, wrote: > Le 2013-10-29 03:01, Whit Armstrong a écrit : > >> I would love to see optional c++0x support added for R. > > > c++0x was the name given for when this was in development. Now c++11 is a > published standard backed by implementations by major compilers. >

Re: [Rd] R 3.1.0 and C++11

2014-04-10 Thread Martyn Plummer
On Thu, 2014-04-10 at 11:14 -0400, Gabor Grothendieck wrote: > On Tue, Oct 29, 2013 at 1:58 AM, wrote: > > Le 2013-10-29 03:01, Whit Armstrong a écrit : > > > >> I would love to see optional c++0x support added for R. > > > > > > c++0x was the name given for when this was in development. Now c++1

Re: [Rd] R 3.1.0 and C++11

2014-04-10 Thread Romain François
Le 10 avr. 2014 à 17:58, Martyn Plummer a écrit : > On Thu, 2014-04-10 at 11:14 -0400, Gabor Grothendieck wrote: >> On Tue, Oct 29, 2013 at 1:58 AM, wrote: >>> Le 2013-10-29 03:01, Whit Armstrong a écrit : >>> I would love to see optional c++0x support added for R. >>> >>> >>> c++0x wa

Re: [Rd] R 3.1.0 and C++11

2014-04-10 Thread Dirk Eddelbuettel
On 10 April 2014 at 15:58, Martyn Plummer wrote: | The R configure script is permissive and will enable "C++11" support if | your compiler accepts -std=c++0x. Obviously you will only get partial | support for the C++11 standard (But this is also true of some compilers | that accept -std=c++11). Yo

[Rd] Is it possible to shrink an R object in place?

2014-04-10 Thread Kevin Ushey
Suppose I generate an integer vector with e.g. SEXP iv = PROTECT(allocVector(INTSXP, 100)); and later want to shrink the object, e.g. shrink(iv, 50); would simply re-set the length to 50, and allow R to reclaim the memory that was previously used. Is it possible to do this while respec