Re: [Rd] .C clarification

2012-03-03 Thread Prof Brian Ripley
On 03/03/2012 13:42, Terry Therneau wrote: Does .C duplicate unnecessary arguments? For instance fit<- .C("xxx", as.integer(n), x, y, z=double(15)) The first and fourth arguments would have NAMED = 0. Is my guess that .C won't make yet one more (unnecessary) copy correct? .C's internals (d

Re: [Rd] seeing feedback when R CMD check pkg runs unit tests.

2012-03-03 Thread Paul Gilbert
On 12-03-03 03:56 AM, Mario Frasca wrote: On Fri, 02 Mar 2012 12:15:48 -0500 pgilbert902 at gmail.com (Paul Gilbert) wrote: Mario [...] Examples only need to run, but in tests/ you can do things like if( 2*2 != 4 ) stop("arithmatic is messed up.") problem is: when you do a stop, you stop

Re: [Rd] seeing feedback when R CMD check pkg runs unit tests.

2012-03-03 Thread Mario Frasca
On Fri, 02 Mar 2012 12:15:48 -0500 pgilbert902 at gmail.com (Paul Gilbert) wrote: > Mario > > [...] Examples only need to run, but in tests/ you can > do things like > > if( 2*2 != 4 ) stop("arithmatic is messed up.") > problem is: when you do a stop, you stop, meaning you do not run subsequen

[Rd] .C clarification

2012-03-03 Thread Terry Therneau
Does .C duplicate unnecessary arguments? For instance fit <- .C("xxx", as.integer(n), x, y, z=double(15)) The first and fourth arguments would have NAMED = 0. Is my guess that .C won't make yet one more (unnecessary) copy correct? (Just trying to understand). Terry T

[Rd] Roxygen

2012-03-03 Thread Serdar
Hi, I'm writing documentation using Roxygen and writing in Swedish. But I can't use åäö for instance and I haven't found any encoding option in the R-manual. Is there any one that can help me? Regards Serdar __ R-devel@r-project.org mailing list ht