Re: [Rd] Roxygen: @example tag does not work for me

2010-11-04 Thread Janko Thyson
> -Ursprüngliche Nachricht- > Von: h.wick...@gmail.com [mailto:h.wick...@gmail.com] Im Auftrag von > Hadley Wickham > Gesendet: Donnerstag, 4. November 2010 19:00 > An: Janko Thyson > Cc: r-de...@r-project. org > Betreff: Re: [Rd] Roxygen: @example tag does not work for me > > > I thought

Re: [Rd] Roxygen: @example tag does not work for me

2010-11-04 Thread Hadley Wickham
> I thought that @example would take the R code in "tests/foo.R" (this file > also exists) and append it to the .Rd-file. However, there is no > \examples{...} section in my roxygen-processed .Rd-file after running > roxygenize(). It just seems as if @example is just neglected. Should I put > the f

Re: [Rd] Using sample() to sample one value from a single value?

2010-11-04 Thread Henrik Bengtsson
Hi. On Thu, Nov 4, 2010 at 7:42 AM, Tim Hesterberg wrote: > On Wed, Nov 3, 2010 at 3:54 PM, Henrik Bengtsson wrote: > >> Hi, consider this one as an FYI, or a seed for further discussion. >> >> I am aware that many traps on sample() have been reported over the >> years.  I know that these are als

Re: [Rd] inst/ and hidden files/directories, especially inst/.svn/?

2010-11-04 Thread Henrik Bengtsson
2010/11/4 Uwe Ligges : > > > On 03.11.2010 19:26, Henrik Bengtsson wrote: >> >> On Wed, Nov 3, 2010 at 9:50 AM, Uwe Ligges >>  wrote: >>> >>> Yes, ".svn" is special cased. >> >> Good. >> >> Note that it does not seem to be the case for the *.zip archive, only >> for the *.tar.gz archive, as I show

Re: [Rd] [Roxygen-devel] Roxygen: @example tag does not work for me

2010-11-04 Thread Janko Thyson
> -Ursprüngliche Nachricht- > Von: Vinh Nguyen [mailto:vqngu...@uci.edu] > Gesendet: Donnerstag, 4. November 2010 17:15 > An: Janko Thyson > Cc: r-de...@r-project. org > Betreff: Re: [Roxygen-devel] Roxygen: @example tag does not work for me > > I didn't know @example path/to/file.R was av

Re: [Rd] [Roxygen-devel] Roxygen: @example tag does not work for me

2010-11-04 Thread Vinh Nguyen
I didn't know @example path/to/file.R was available until you mentioned the UseR! 2010 presentation. If that's the case, I'm going to guess that you have to specify use.Rd2=TRUE in roxygenize(), as I've found most of the new features mentioned in that presentation to require it. On Thu, Nov 4, 2

Re: [Rd] Using sample() to sample one value from a single value?

2010-11-04 Thread Tim Hesterberg
On Wed, Nov 3, 2010 at 3:54 PM, Henrik Bengtsson wrote: > Hi, consider this one as an FYI, or a seed for further discussion. > > I am aware that many traps on sample() have been reported over the > years. I know that these are also documents in help("sample"). Still > I got bitten by this while

Re: [Rd] [Roxygen-devel] Roxygen: @example tag does not work for me

2010-11-04 Thread Janko Thyson
> -Ursprüngliche Nachricht- > Von: roxygen-devel-boun...@lists.r-forge.r-project.org [mailto:roxygen- > devel-boun...@lists.r-forge.r-project.org] Im Auftrag von Vinh Nguyen > Gesendet: Donnerstag, 4. November 2010 04:04 > An: roxygen-de...@r-forge.wu-wien.ac.at > Betreff: Re: [Roxygen-dev

Re: [Rd] [R] Logical vectors

2010-11-04 Thread Stephen Liu
Hi Ted, Thanks for your advice and the correction on the document concerned. B.R. Stephen L - Original Message From: "ted.hard...@wlandres.net" To: r-h...@r-project.org Cc: Stephen Liu ; R-Devel Sent: Thu, November 4, 2010 5:08:42 PM Subject: Re: [R] Logical vectors On 04-Nov-10 08

Re: [Rd] Roxygen: @example tag does not work for me

2010-11-04 Thread Janko Thyson
> -Ursprüngliche Nachricht- > Von: baptiste auguie [mailto:baptiste.aug...@googlemail.com] > Gesendet: Donnerstag, 4. November 2010 07:43 > An: Janko Thyson > Cc: r-de...@r-project. org > Betreff: Re: [Rd] Roxygen: @example tag does not work for me > > Hi, > > I think you could achieve th

Re: [Rd] inst/ and hidden files/directories, especially inst/.svn/?

2010-11-04 Thread Uwe Ligges
On 03.11.2010 19:26, Henrik Bengtsson wrote: On Wed, Nov 3, 2010 at 9:50 AM, Uwe Ligges wrote: Yes, ".svn" is special cased. Good. Note that it does not seem to be the case for the *.zip archive, only for the *.tar.gz archive, as I showed. Henrik, I do not see how it can go at all int

Re: [Rd] [R] Logical vectors

2010-11-04 Thread Ted Harding
On 04-Nov-10 08:56:42, Gerrit Eichner wrote: > On Thu, 4 Nov 2010, Stephen Liu wrote: > [snip] >> In; >> >> 2.4 Logical vectors >> http://cran.r-project.org/doc/manuals/R-intro.html#R-and-statistics >> >> It states:- >> >> The logical operators are <, <=, >, >=, == for exact equality and != >> for