Displaying 3 results from an estimated 3 matches for "hhamid".
Did you mean:
hamid
2015 Mar 17
2
Proposing a change in the base::sink interface for type argument
...tput/message will be redirected.
I'm proposing either a change in the interface so it is a single character
(either output or message) or a loop in the implementation on all values in
type so it will actually be considered a vector. Here is an example change
for the former:
https://github.com/hhamid/r-source/commit/d3cad22e1b9beca0a55004d74fc95059c279d770#diff-498a99501a04c6d9a66ee95ad6614734L19
Just wondering what people think and if this makes sense.
Thanks a lot,
Hamid
[[alternative HTML version deleted]]
2015 Mar 18
1
Proposing a change in the base::sink interface for type argument
...y 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...
2015 Mar 18
0
Proposing a change in the base::sink interface for type argument
...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 character value:...