Displaying 3 results from an estimated 3 matches for "bazzaz".
2015 Mar 17
2
Proposing a change in the base::sink interface for type argument
Hi folks,
Here is the current interface:
sink(file=NULL, append=FALSE, type = c("output", "message"), split=FALSE)
However, reading the implementation there is implicit assumption that type
is a single character value:
https://github.com/wch/r-source/blob/trunk/src/library/base/R/sink.R#L23
I'm finding this very confusing as the interface is giving a default value
of a
2015 Mar 18
1
Proposing a change in the base::sink interface for type argument
...ch.arg() is widely used in R. I find it quite useful in my own
> programming.
>
>
> --
> Don MacQueen
>
> Lawrence Livermore National Laboratory
> 7000 East Ave., L-627
> Livermore, CA 94550
> 925-423-1062
>
>
>
>
>
> On 3/16/15, 10:08 PM, "Hamid Bazzaz" <hhamid at gmail.com> wrote:
>
> >Hi folks,
> >
> >Here is the current interface:
> >
> >sink(file=NULL, append=FALSE, type = c("output", "message"), split=FALSE)
> >
> >However, reading the implementation there is implici...
2015 Mar 18
0
Proposing a change in the base::sink interface for type argument
...ures, otherwise, why bother to have different languages?
And yes, match.arg() is widely used in R. I find it quite useful in my own
programming.
--
Don MacQueen
Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
925-423-1062
On 3/16/15, 10:08 PM, "Hamid Bazzaz" <hhamid at gmail.com> wrote:
>Hi folks,
>
>Here is the current interface:
>
>sink(file=NULL, append=FALSE, type = c("output", "message"), split=FALSE)
>
>However, reading the implementation there is implicit assumption that type
>is a single...