Re: [Rd] R CMD check and error in an \Sexpr in an Rd file

2011-11-04 Thread Renaud Gaujoux
Thank you Duncan for pointing this out. I did have tried using the command \out with no success, but I finally manage to do what I want with: \if{html}{\Sexpr[results=rd, stage=render]{"out{line\nnewline\n\nother line}"}} \if{text}{\Sexpr[results=rd, stage=render]{"out{line\nnewline\n\

[Rd] Error in documentation of "merge"

2011-11-04 Thread Rainer M Krug
Hi there seems to be an error in the documentation of the "merge" function: Arguments: x, y: data frames, or objects to be coerced to one. by, by.x, by.y: specifications of the common columns. See ‘Details’. all: logical; ‘all = L’ is shorthand for ‘all.x = L’ and ‘all.y =

Re: [Rd] Error in documentation of "merge"

2011-11-04 Thread peter dalgaard
On Nov 4, 2011, at 13:11 , Rainer M Krug wrote: > Hi > > there seems to be an error in the documentation of the "merge" function: > > Arguments: > >x, y: data frames, or objects to be coerced to one. > > by, by.x, by.y: specifications of the common columns. See ŒDetails‚. > > all:

Re: [Rd] Error in documentation of "merge"

2011-11-04 Thread Rainer M Krug
On Fri, Nov 4, 2011 at 1:20 PM, peter dalgaard wrote: > > On Nov 4, 2011, at 13:11 , Rainer M Krug wrote: > > > Hi > > > > there seems to be an error in the documentation of the "merge" function: > > > > Arguments: > > > >x, y: data frames, or objects to be coerced to one. > > > > by, by.x,

Re: [Rd] Error in documentation of "merge"

2011-11-04 Thread Kasper Daniel Hansen
On Fri, Nov 4, 2011 at 8:20 AM, peter dalgaard wrote: > > On Nov 4, 2011, at 13:11 , Rainer M Krug wrote: > >> Hi >> >> there seems to be an error in the documentation of the "merge" function: >> >> Arguments: >> >>    x, y: data frames, or objects to be coerced to one. >> >>  by, by.x, by.y: spec

[Rd] Static R Build

2011-11-04 Thread Michael Yan
Hello, I am trying to build a statically linked R linux binary that can be shipped around to different unknown linux environments without having to rely on its local shared libraries. However, it seems like the configure flag --enable-static doesn't produce the desired effect. How may I d

Re: [Rd] Static R Build

2011-11-04 Thread Daniel Cegiełka
I'm not sure, but this option applies to Rblas and Rlapack. If you want R statically linked you need to add the "-static" to CFLAGS/FFLAGS etc. regards, daniel 2011/11/4 Michael Yan : > Hello, > > I am trying to build a statically linked R linux binary that can be shipped > around to different u

Re: [Rd] Static R Build

2011-11-04 Thread Simon Urbanek
On Nov 4, 2011, at 4:37 PM, Michael Yan wrote: > Hello, > > I am trying to build a statically linked R linux binary that can be shipped > around to different unknown linux environments without having to rely on its > local shared libraries. However, it seems like the configure flag > > --ena

[Rd] Efficiency of factor objects

2011-11-04 Thread Stavros Macrakis
R factors are the natural way to represent factors -- and should be efficient since they use small integers. But in fact, for many (but not all) operations, R factors are considerably slower than integers, or even character strings. This appears to be because whenever a factor vector is subsetted

Re: [Rd] Error in documentation of "merge"

2011-11-04 Thread Steven McKinney
> -Original Message- > From: r-devel-boun...@r-project.org [mailto:r-devel-boun...@r-project.org] > On Behalf Of Kasper Daniel Hansen > Sent: November-04-11 5:26 AM > To: peter dalgaard > Cc: r-devel@r-project.org > Subject: Re: [Rd] Error in documentation of "merge" > > On Fri, Nov 4, 2