Re: [Rd] packages with DLLs under 2.12.0

2010-04-02 Thread Prof Brian Ripley
That may have been true in r51520, but we are at r51566 and that does work as documented AFAICS. Note though that this is only a temporary workaround, and it will go away once repositories are rebuilt for 2.12.0, and simply bulding the packages from sources would have worked. On Fri, 2 Apr 2

Re: [Rd] inject html code into Rd file

2010-04-02 Thread Duncan Murdoch
On 02/04/2010 8:06 AM, Duncan Murdoch wrote: On 02/04/2010 7:13 AM, Romain Francois wrote: Le 02/04/10 13:07, Duncan Murdoch a écrit : On 02/04/2010 6:17 AM, Romain Francois wrote: Hello, I'm trying to inject html code into an Rd file. For example : \name{test} \alias{test} \title{test} \des

[Rd] packages with DLLs under 2.12.0

2010-04-02 Thread Peter Ehlers
I realize that R-core must be busy with the imminent release of 2.11.0, so please consider this not urgent. The NEWS file for 2.12.0 (Windows-specific) says, in part: For now, 32-bit packages with compiled code built under 2.{10,11}.x can be used, but this will be disabled before release.

Re: [Rd] as(1:4, "numeric") versus as.numeric(1:4, "numeric")

2010-04-02 Thread Hervé Pagès
Hi John, John Chambers wrote: The problem that you have exposed is that if one uses the *standard* form of selectMethod() on function "coerce", this could corrupt the intended set of methods used by as(). Of course, no one was expected to do this, but it's not caught or warned (as opposed to

Re: [Rd] as(1:4, "numeric") versus as.numeric(1:4, "numeric")

2010-04-02 Thread John Chambers
One more (final?) note on this example. A simpler change that would eliminate the inconsistent result from as(): 1. Change the warning on direct calls to coerce() to an error. 2. Move the caching of inherited methods to the actual dispatch code, so selectMethod() itself has no side effect.

Re: [Rd] inject html code into Rd file

2010-04-02 Thread Duncan Murdoch
On 02/04/2010 7:13 AM, Romain Francois wrote: Le 02/04/10 13:07, Duncan Murdoch a écrit : On 02/04/2010 6:17 AM, Romain Francois wrote: Hello, I'm trying to inject html code into an Rd file. For example : \name{test} \alias{test} \title{test} \description{ \if{html}{ \Sexpr[stage=render,resul

Re: [Rd] inject html code into Rd file

2010-04-02 Thread Romain Francois
Le 02/04/10 13:07, Duncan Murdoch a écrit : On 02/04/2010 6:17 AM, Romain Francois wrote: Hello, I'm trying to inject html code into an Rd file. For example : \name{test} \alias{test} \title{test} \description{ \if{html}{ \Sexpr[stage=render,results=text,echo=FALSE]{ "hello" } } } when this f

Re: [Rd] inject html code into Rd file

2010-04-02 Thread Duncan Murdoch
On 02/04/2010 6:17 AM, Romain Francois wrote: Hello, I'm trying to inject html code into an Rd file. For example : \name{test} \alias{test} \title{test} \description{ \if{html}{ \Sexpr[stage=render,results=text,echo=FALSE]{ "hello" } } } when this file is rendered, instead of having "h

[Rd] inject html code into Rd file

2010-04-02 Thread Romain Francois
Hello, I'm trying to inject html code into an Rd file. For example : \name{test} \alias{test} \title{test} \description{ \if{html}{ \Sexpr[stage=render,results=text,echo=FALSE]{ "hello" } } } when this file is rendered, instead of having "hello" in bold, I get hello, i.e. characters <