Hi,
I posted around a week ago and I will try this time with a more detailed
description.
I am converting R code to C code to boost speed as currently it takes a few
days to run. Now I will try describe this with as detail as possible.
I have a list of size 47. Each element of the list is itself
On Sat, Apr 21, 2012 at 3:28 PM, Max Kuhn wrote:
> For a package, I need to write a csv version of a data set to an R
> object. Right now, I use:
>
> out <- capture.output(
> write.table(x,
> sep = ",",
>
On Apr 21, 2012, at 1:45 PM, Gabor Grothendieck wrote:
> On Sat, Apr 21, 2012 at 1:38 PM, Simon Urbanek
> wrote:
>>
>> On Apr 21, 2012, at 1:03 PM, Gabor Grothendieck wrote:
>>
>>> args ought to check that its argument is a function:
>>>
max <- 3
args(max)
>>> NULL
>>>
>>> e.g.
>>>
On Sat, Apr 21, 2012 at 2:10 PM, Simon Urbanek
wrote:
>
> On Apr 21, 2012, at 1:45 PM, Gabor Grothendieck wrote:
>
>> On Sat, Apr 21, 2012 at 1:38 PM, Simon Urbanek
>> wrote:
>>>
>>> On Apr 21, 2012, at 1:03 PM, Gabor Grothendieck wrote:
>>>
args ought to check that its argument is a functio
On Sat, Apr 21, 2012 at 1:38 PM, Simon Urbanek
wrote:
>
> On Apr 21, 2012, at 1:03 PM, Gabor Grothendieck wrote:
>
>> args ought to check that its argument is a function:
>>
>>> max <- 3
>>> args(max)
>> NULL
>>
>> e.g.
>>
>>> args <- function(name) {
>> + name <- match.fun(name)
>> + base
On Apr 21, 2012, at 1:03 PM, Gabor Grothendieck wrote:
> args ought to check that its argument is a function:
>
>> max <- 3
>> args(max)
> NULL
>
> e.g.
>
>> args <- function(name) {
> + name <- match.fun(name)
> + base::args(name)
> + }
>> args(max)
> function (..., na.rm = FALSE)
> N
args ought to check that its argument is a function:
> max <- 3
> args(max)
NULL
e.g.
> args <- function(name) {
+ name <- match.fun(name)
+ base::args(name)
+ }
> args(max)
function (..., na.rm = FALSE)
NULL
--
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-87
On 21/04/2012 14:18, Whit Armstrong wrote:
I'm trying to R CMD check a package, and I'm getting the 'checking S3
generic/method consistency' warning.
I have written a function 'gamma.dist' which is _not_ an S3 method,
but happens to collide with the 'gamma' function from the R::base
namespace.
For a package, I need to write a csv version of a data set to an R
object. Right now, I use:
out <- capture.output(
write.table(x,
sep = ",",
na = "?",
fi
I'm trying to R CMD check a package, and I'm getting the 'checking S3
generic/method consistency' warning.
I have written a function 'gamma.dist' which is _not_ an S3 method,
but happens to collide with the 'gamma' function from the R::base
namespace.
Is there a way of telling CMD check that the
10 matches
Mail list logo