Displaying 20 results from an estimated 103 matches for "suharto_anggono".
2012 Dec 06
2
factor(x, exclude=y) if x is a factor
I found this part in the documentation of 'factor'.
'factor(x, exclude=NULL)' applied to a factor is a no-operation
unless there are unused levels: in that case, a factor with the
reduced level set is returned. If 'exclude' is used it should
also be a factor with the same level set as 'x' or a set of codes
for the levels to be excluded.
2016 Sep 26
2
Undocumented 'use.names' argument to c()
By "an argument named 'use.names' is included for concatenation", I meant something like this, that someone might try.
> c(as.Date("2016-01-01"), use.names=FALSE)
use.names
"2016-01-01" "1970-01-01"
See, 'use.names' is in the output. That's precisely because 'c.Date' doesn't have 'use.names', so
2017 Nov 04
1
ans[nas] <- NA in 'ifelse' (was: ifelse() woes ... can we agree on a ifelse2() ?)
Removal of
ans[nas] <- NA
from the code of function 'ifelse' in R is not committed (yet). Why?
--------------------------------------------
On Mon, 28/11/16, Martin Maechler <maechler at stat.math.ethz.ch> wrote:
Subject: Re: [Rd] ifelse() woes ... can we agree on a ifelse2() ?
Cc: R-devel at r-project.org, maechler at stat.math.ethz.ch
Date: Monday, 28 November, 2016, 10:00
2019 Oct 06
2
Strange "no-echo" in place of "slave"
SVN revision replaces "slave" with "no-echo" in R devel.
In each of the following, "no-echo" is rather strange to me.
- src/gnuwin32/README.Rterm
3) As a no-echo process for ESS mode in NTEmacs with flag --ess.
- src/library/grDevices/src/qdCocoa.m
/* the no-echo thread work until this is NO */
2016 Sep 26
0
Undocumented 'use.names' argument to c()
>>>>> Suharto Anggono Suharto Anggono <suharto_anggono at yahoo.com>
>>>>> on Mon, 26 Sep 2016 14:51:11 +0000 writes:
> By "an argument named 'use.names' is included for concatenation", I meant something like this, that someone might try.
>> c(as.Date("2016-01-01"), use.names=FALSE)...
2019 Oct 06
1
Strange "no-echo" in place of "slave"
...far as I know, not being involved with the effort at all, they are
> removing the term 'slave' and replacing it with 'no-echo' which is intended
> to be fully synonmyous with the meaning of the old 'slave' term.
>
> ~G
>
> On Sun, Oct 6, 2019 at 10:56 PM suharto_anggono--- via R-devel <
> r-devel at r-project.org> wrote:
>
>> SVN revision replaces "slave" with "no-echo" in R devel.
>>
>>
>> In each of the following, "no-echo" is rather strange to me.
>>
>> - src/gnuwin32/README.Rterm...
2018 Mar 24
1
Function 'factor' issues
...again.
By just changing
f <- match(xlevs[f], nlevs)
to
f <- match(xlevs, nlevs)[f]
, function 'factor' in R devel could be made more consistent and back-compatible. Why not picking it?
--------------------------------------------
On Sat, 25/11/17, Suharto Anggono Suharto Anggono <suharto_anggono at yahoo.com> wrote:
Subject: Re: [Rd] Function 'factor' issues
To: r-devel at r-project.org
Date: Saturday, 25 November, 2017, 6:03 PM
>From commits to R devel, I saw attempts to speed up subsetting and 'match', and to cache results of conversion of small nonnegative int...
2017 Aug 19
1
Issues of R_pretty in src/appl/pretty.c
Yes, they work now.
I mentioned them partly because the commit description said overflow for large n and partly to be considered for regression tests.
--------------------------------------------
On Sat, 19/8/17, Martin Maechler <maechler at stat.math.ethz.ch> wrote:
Subject: Re: [Rd] Issues of R_pretty in src/appl/pretty.c
Cc: r-devel at r-project.org
Date: Saturday, 19 August, 2017,
2010 May 07
0
A fix that for 'bquote' that may work (PR#14031)
--- On Fri, 6/11/09, tlumley at u.washington.edu <tlumley at u.washington.edu> wrote:
> From: tlumley at u.washington.edu <tlumley at u.washington.edu>
> Subject: Re: [Rd] A fix that for 'bquote' that may work? (PR#14031)
> To: suharto_anggono at yahoo.com
> Cc: r-devel at stat.math.ethz.ch, R-bugs at r-project.org
> Date: Friday, 6 November, 2009, 11:42 PM
> On Thu, 5 Nov 2009, suharto_anggono at yahoo.com
> wrote:
>
> > This is a fix for 'bquote' that may work.
> >
> > function (expr, where =3...
2013 Jan 28
1
Suggestions for 'diff.default'
I have suggestions for function 'diff.default' in R.
Suggestion 1: If the input is matrix, always return matrix, even if empty.
What happens in R 2.15.2:
> rbind(1:2) # matrix
[,1] [,2]
[1,] 1 2
> diff(rbind(1:2)) # not matrix
integer(0)
> sessionInfo()
R version 2.15.2 (2012-10-26)
Platform: i386-w64-mingw32/i386 (32-bit)
locale:
[1] LC_COLLATE=English_United
2020 May 15
2
paste(character(0), collapse="", recycle0=FALSE) should be ""
...gives a single empty string and collapse=NULL gives a zero long character
> vector.
>> paste()
> character(0)
>> paste(collapse=", ")
> [1] ""
>
> Bill Dunlap
> TIBCO Software
> wdunlap tibco.com
>
>
> On Thu, Apr 30, 2020 at 9:56 PM suharto_anggono--- via R-devel <
> r-devel at r-project.org> wrote:
>
>> Without 'collapse', 'paste' pastes (concatenates) its arguments
>> elementwise (separated by 'sep', " " by default). New in R devel and R
>> patched, specifying recycle0 = FALSE...
2016 Aug 15
1
table(exclude = NULL) always includes NA
>>>>> Martin Maechler <maechler at stat.math.ethz.ch>
>>>>> on Mon, 15 Aug 2016 11:07:43 +0200 writes:
>>>>> Suharto Anggono Suharto Anggono <suharto_anggono at yahoo.com>
>>>>> on Sun, 14 Aug 2016 03:42:08 +0000 writes:
>> useNA <- if (missing(useNA) && !missing(exclude) && !(NA %in% exclude)) "ifany"
>> An example where it change 'table' result for non-factor input, from h...
2010 Jul 08
2
strsplit("dia ma", "\\b") splits characterwise
\b is word boundary.
But, unexpectedly, strsplit("dia ma", "\\b") splits character by character.
> strsplit("dia ma", "\\b")
[[1]]
[1] "d" "i" "a" " " "m" "a"
> strsplit("dia ma", "\\b", perl=TRUE)
[[1]]
[1] "d" "i" "a" " "
2013 Feb 01
1
Was confused with options(error = expression(NULL)) in example(stop)
In example for function 'stop' in R, there is
options(error = expression(NULL))
with comment
# don't stop on stop(.) << Use with CARE! >>
I was interested, wanted to know how "don't stop on stop(.)" was. So, I tried it.
Typing
example(stop)
at the R prompt and pressing ENTER give this.
> example(stop)
stop> options(error = expression(NULL))
2017 Jun 14
1
[bug] droplevels() also drop object attributes (comment…)
.../17, Martin Maechler <maechler at stat.math.ethz.ch> wrote:
Subject: Re: [Rd] [bug] droplevels() also drop object attributes (comment?)
To: "R Development" <R-devel at r-project.org>
Cc: "Serge Bibauw" <sbibauw at gmail.com>, "Suharto Anggono" <suharto_anggono
Date: Saturday, 10 June, 2017, 5:54 AM
>>>>> Suharto Anggono Suharto Anggono via R-devel <r-devel at r-project.org>
>>>>>? ?? on Thu, 8 Jun 2017 16:43:48 +0000 writes:
? ? > * Be careful with "contrasts" attribute. If the number of levels is reduc...
2020 May 15
3
paste(character(0), collapse="", recycle0=FALSE) should be ""
...=http-3A__tibco.com&d=DwMFaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=BK7q3XeAvimeWdGbWY_wJYbW0WYiZvSXAJJKaaPhzWA&m=cC2qctlVXd0qHMPvCyYvuVMqR8GU3DjTTqKJ0zjIFj8&s=rXIwWqf4U4HZS_bjUT3KfA9ARaV5YTb_kEcXWHnkt-c&e=>
> >
> >
> > On Thu, Apr 30, 2020 at 9:56 PM suharto_anggono--- via R-devel <
> > r-devel at r-project.org <mailto:r-devel at r-project.org>> wrote:
> >
> >> Without 'collapse', 'paste' pastes (concatenates) its arguments
> >> elementwise (separated by 'sep', " "...
2016 Aug 14
2
table(exclude = NULL) always includes NA
useNA <- if (missing(useNA) && !missing(exclude) && !(NA %in% exclude)) "ifany"
An example where it change 'table' result for non-factor input, from https://stat.ethz.ch/pipermail/r-help/2005-April/069053.html :
x <- c(1,2,3,3,NA)
table(as.integer(x), exclude=NaN)
I bring the example up, in case that the change in result is not intended.
2016 Aug 15
0
table(exclude = NULL) always includes NA
>>>>> Suharto Anggono Suharto Anggono <suharto_anggono at yahoo.com>
>>>>> on Sun, 14 Aug 2016 03:42:08 +0000 writes:
> useNA <- if (missing(useNA) && !missing(exclude) && !(NA %in% exclude)) "ifany"
> An example where it change 'table' result for non-factor input, from https://s...
2018 Mar 30
0
Nice names in deparse
...c(one = "1")))
is still
"1"
in R 3.5.0 alpha, could
as.character(list(c(one = 1)))
be
"1"
, too, as before?
The case here is the list component is atomic with length 1.
--------------------------------------------
On Sat, 16/12/17, Suharto Anggono Suharto Anggono <suharto_anggono at yahoo.com> wrote:
Subject: Nice names in deparse
To: r-devel at r-project.org
Date: Saturday, 16 December, 2017, 11:09 PM
Tags (argument names) in call to 'list' becomes names of the result. It is not necessarily so with call to 'c'. The default method of 'c' has...
2019 Jun 03
0
stopifnot
...e change should happen - would probably prefer something
like 'is.language' or 'expr.is.language' or similar..
Could we get any other readers' opinions ?
Martin
> --------------------------------------------
> On Mon, 15/4/19, Suharto Anggono Suharto Anggono <suharto_anggono at yahoo.com> wrote:
> Subject: Re: [Rd] stopifnot
> To: "Martin Maechler" <maechler at stat.math.ethz.ch>
> Cc: r-devel at r-project.org
> Date: Monday, 15 April, 2019, 2:56 AM
> Also, in current definition of function 'stopifnot' in...