Re: [Rd] Internal codes of the factor

2006-03-14 Thread Gregor Gorjanc
Berwin A Turlach wrote: > G'day Gregor, > > >>"GG" == Gregor Gorjanc <[EMAIL PROTECTED]> writes: > > > GG> I am writing some functions and I repeatedly acces internal > GG> factor codes. I figured out that internal codes are 1:n where > GG> 1 represents 1st level, 2 2nd level et

Re: [Rd] Internal codes of the factor

2006-03-14 Thread Berwin A Turlach
G'day Gregor, > "GG" == Gregor Gorjanc <[EMAIL PROTECTED]> writes: GG> I am writing some functions and I repeatedly acces internal GG> factor codes. I figured out that internal codes are 1:n where GG> 1 represents 1st level, 2 2nd level etc. This is not GG> documented [...] Th

Re: [Rd] Fwd: makeconf issue on R-devel 2006-03-12 r37524

2006-03-14 Thread Prof Brian Ripley
On Tue, 14 Mar 2006, roger koenker wrote: > I sent the message below to r-sig-mac yesterday, but having no reply > I decided to explore a bit myself and found that editing: > > /Library/Frameworks/R.framework/Versions/2.3/Resources/share/make/ > shlib.mk > > yzzy: diff shlib.mk shlib.mk~ > 3c3 > <

[Rd] Fwd: makeconf issue on R-devel 2006-03-12 r37524

2006-03-14 Thread roger koenker
I sent the message below to r-sig-mac yesterday, but having no reply I decided to explore a bit myself and found that editing: /Library/Frameworks/R.framework/Versions/2.3/Resources/share/make/ shlib.mk yzzy: diff shlib.mk shlib.mk~ 3c3 < include $(R_HOME)/etc/Makeconf --- > include $(R_HOME)/e

[Rd] RcppTemplate 2.0 R/C++ interface library update

2006-03-14 Thread Dominick Samperi
The demo package RcppTemplate for the R/C++ interface library Rcpp has been updated for improved portability, with thanks to Brian Ripley for his comments. Please use versions >= 2.0 for maximum portability across platforms. __ R-devel@r-project.org mail

Re: [Rd] New simpleExit() condition (Was: Re: Can example() code stop the example without generating an error?)

2006-03-14 Thread Gabor Grothendieck
I would very much like to see such a feature too. On 3/14/06, Henrik Bengtsson <[EMAIL PROTECTED]> wrote: > On 3/14/06, Uwe Ligges <[EMAIL PROTECTED]> wrote: > > Henrik Bengtsson wrote: > > > > > Hi, > > > > > > does anyone know if it is possible to write example code (in Rd > > > examples) such t

Re: [Rd] Can example() code stop the example without generating an error?

2006-03-14 Thread Prof Brian Ripley
On Tue, 14 Mar 2006, Uwe Ligges wrote: > Henrik Bengtsson wrote: > >> Hi, >> >> does anyone know if it is possible to write example code (in Rd >> examples) such that one can stop the example without generating an >> error? Example: >> >> code A >> if (cond) >> niceStop() >> code B > > > What a

[Rd] New simpleExit() condition (Was: Re: Can example() code stop the example without generating an error?)

2006-03-14 Thread Henrik Bengtsson
On 3/14/06, Uwe Ligges <[EMAIL PROTECTED]> wrote: > Henrik Bengtsson wrote: > > > Hi, > > > > does anyone know if it is possible to write example code (in Rd > > examples) such that one can stop the example without generating an > > error? Example: > > > > code A > > if (cond) > > niceStop() > >

Re: [Rd] Can example() code stop the example without generating an error?

2006-03-14 Thread Uwe Ligges
Henrik Bengtsson wrote: > Hi, > > does anyone know if it is possible to write example code (in Rd > examples) such that one can stop the example without generating an > error? Example: > > code A > if (cond) > niceStop() > code B What about code A if(cond){ code B } But maybe I do not

[Rd] Can example() code stop the example without generating an error?

2006-03-14 Thread Henrik Bengtsson
Hi, does anyone know if it is possible to write example code (in Rd examples) such that one can stop the example without generating an error? Example: code A if (cond) niceStop() code B I know this sounds weird, but I would like some of my Rd examples to run if and only if another package is

Re: [Rd] Undocumented argument na.last in factor()

2006-03-14 Thread Gregor Gorjanc
Martin Maechler wrote: >>"Gregor" == Gregor Gorjanc <[EMAIL PROTECTED]> >>on Tue, 14 Mar 2006 09:58:22 +0100 writes: > > > Gregor> Hello! I just noticed that argument na.last in > Gregor> factor() is not documented. Did I miss something or > Gregor> ...? I just wonder how

Re: [Rd] Undocumented argument na.last in factor()

2006-03-14 Thread Martin Maechler
> "Gregor" == Gregor Gorjanc <[EMAIL PROTECTED]> > on Tue, 14 Mar 2006 09:58:22 +0100 writes: Gregor> Hello! I just noticed that argument na.last in Gregor> factor() is not documented. Did I miss something or Gregor> ...? I just wonder how base package passes then R Gr

[Rd] Internal codes of the factor

2006-03-14 Thread Gregor Gorjanc
Hello! I am writing some functions and I repeatedly acces internal factor codes. I figured out that internal codes are 1:n where 1 represents 1st level, 2 2nd level etc. This is not documented and I wonder if this is on purpose and subject to change or would be a good idea to add this to documenta

[Rd] Undocumented argument na.last in factor()

2006-03-14 Thread Gregor Gorjanc
Hello! I just noticed that argument na.last in factor() is not documented. Did I miss something or ...? I just wonder how base package passes then R CMD check. I checked also in source man page in R-devel. -- Lep pozdrav / With regards, Gregor Gorjanc ---