Displaying 20 results from an estimated 157 matches for "suharto".
2016 Sep 26
2
Undocumented 'use.names' argument to c()
...--------------------------
On Sun, 25/9/16, Martin Maechler <maechler at stat.math.ethz.ch> wrote:
Subject: Re: [Rd] Undocumented 'use.names' argument to c()
Cc: "R-devel" <R-devel at r-project.org>
Date: Sunday, 25 September, 2016, 10:14 PM
>>>>> Suharto Anggono Suharto Anggono via R-devel <r-devel at r-project.org>
>>>>> on Sun, 25 Sep 2016 14:12:10 +0000 writes:
>> From comments in
>> http://stackoverflow.com/questions/24815572/why-does-function-c-accept-an-undocumented-argument/24815653
>>...
2017 Nov 04
1
ans[nas] <- NA in 'ifelse' (was: ifelse() woes ... can we agree on a ifelse2() ?)
...------------------------
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 PM
>>>>> Suharto Anggono Suharto Anggono via R-devel <r-devel at r-project.org>
>>>>> on Sat, 26 Nov 2016 17:14:01 +0000 writes:
...
> On current 'ifelse' code in R:
> * The part
> ans[nas] <- NA
> could be omitted because NA's are already in p...
2019 May 30
2
stopifnot
Here is a patch to function 'stopifnot' that adds 'evaluated' argument and makes 'exprs' argument in 'stopifnot' like 'exprs' argument in 'withAutoprint'.
--- stop.R 2019-05-30 14:01:15.282197286 +0000
+++ stop_new.R 2019-05-30 14:01:51.372187466 +0000
@@ -31,7 +31,7 @@
.Internal(stop(call., .makeMessage(..., domain = domain)))
}
2017 Aug 19
1
Issues of R_pretty in src/appl/pretty.c
...or 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, 7:47 PM
>>>>> Suharto Anggono Suharto Anggono via R-devel <r-devel at r-project.org>
>>>>> on Fri, 18 Aug 2017 15:44:06 +0000 writes:
> Examples similar to
> pretty(c(-1,1)*1e300, n = 1e9, min.n = 1)
> with smaller 'n':
> pretty(c(-1,1)*1e304, n = 1e5, min.n...
2019 Jun 03
0
stopifnot
>>>>> Suharto Anggono Suharto Anggono
>>>>> on Thu, 30 May 2019 14:45:22 +0000 writes:
>>>>> Suharto Anggono Suharto Anggono
>>>>> on Thu, 30 May 2019 14:45:22 +0000 writes:
> Here is a patch to function 'stopifnot' that adds 'evaluated...
2017 Aug 18
1
Issues of R_pretty in src/appl/pretty.c
...tty.c
To: "Martin Maechler" <maechler at stat.math.ethz.ch>
@r-project.org
Date: Tuesday, 15 August, 2017, 3:55 PM
>>>>> Martin Maechler <maechler at stat.math.ethz.ch>
>>>>>? ?? on Mon, 14 Aug 2017 11:46:07 +0200 writes:
>>>>> Suharto Anggono Suharto Anggono via R-devel <r-devel at r-project.org>
>>>>>? ?? on Fri, 11 Aug 2017 17:11:06 +0000 writes:
>>>>> Suharto Anggono Suharto Anggono via R-devel <r-devel at r-project.org>
>>>>>? ?? on Fri, 11 Aug 2017 17:11:06 +0000 writ...
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.
2017 May 18
2
stopifnot() does not stop at first non-TRUE argument
...E, FALSE)
--------------------------------------------
On Thu, 18/5/17, Martin Maechler <maechler at stat.math.ethz.ch> wrote:
Subject: Re: [Rd] stopifnot() does not stop at first non-TRUE argument
Cc: r-devel at r-project.org
Date: Thursday, 18 May, 2017, 3:03 PM
>>>>> Suharto Anggono Suharto Anggono via R-devel <r-devel at r-project.org>
>>>>> on Tue, 16 May 2017 16:37:45 +0000 writes:
> switch(i, ...)
> extracts 'i'-th argument in '...'. It is like
> eval(as.name(paste0("..", i))) .
Yes, that'...
2018 Mar 24
1
Function 'factor' issues
I am trying once 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 re...
2019 Nov 18
2
Inappropriate class(o)[!inherits(o,"AsIs")] in get_all_vars
>>>>> Martin Maechler
>>>>> on Mon, 18 Nov 2019 12:15:38 +0100 writes:
>>>>> suharto anggono--- via R-devel
>>>>> on Sun, 17 Nov 2019 10:34:31 +0000 writes:
>> SVN revision 77401 changes
>> x[isM] <- lapply(x[isM], function(o) `class<-`(o, class(o)[class(o) != "AsIs"]))
>> to
>> x[isM] <- lapply(x[isM],...
2019 Mar 05
2
stopifnot
...on(exprs))
??? ??? as.call(c(quote(expression), exprs))
--------------------------------------------
On Mon, 4/3/19, Martin Maechler <maechler at stat.math.ethz.ch> wrote:
Subject: Re: [Rd] stopifnot
Cc: r-devel at r-project.org
Date: Monday, 4 March, 2019, 4:59 PM
>>>>> Suharto Anggono Suharto Anggono via R-devel
>>>>>? ? on Sat, 2 Mar 2019 08:28:23 +0000 writes:
>>>>> Suharto Anggono Suharto Anggono via R-devel
>>>>>? ? on Sat, 2 Mar 2019 08:28:23 +0000 writes:
? ? > A private reply by Martin made me realize that I was w...
2016 Sep 13
1
R-intro: function 'stderr' and 'sd'
...might change its name from 'stderr'
to standardError (or standard_error, etc.) so as not to conflict with
base::stderr().
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Tue, Sep 13, 2016 at 8:55 AM, Martin Maechler <maechler at stat.math.ethz.ch
> wrote:
> >>>>> Suharto Anggono Suharto Anggono via R-devel <r-devel at r-project.org>
> >>>>> on Fri, 9 Sep 2016 16:52:01 +0000 writes:
>
> > In "An Introduction to R" Version 3.3.1, in "4.2 The function
> tapply() and ragged arrays", after
> > std...
2016 Sep 09
2
R-intro: function 'stderr' and 'sd'
In "An Introduction to R" Version 3.3.1, in "4.2 The function tapply() and ragged arrays", after
stderr <- function(x) sqrt(var(x)/length(x)) ,
there is a note in brackets:
Writing functions will be considered later in [Writing your own functions], and in this case was unnecessary as R also has a builtin function sd().
The part "in this case was unnecessary as R also
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 Aug 14
2
table(exclude = NULL) always includes NA
...s NA
To: "Martin Maechler" <maechler at stat.math.ethz.ch>
@r-project.org
Date: Saturday, 13 August, 2016, 4:29 AM
>>>>> Martin Maechler <maechler at stat.math.ethz.ch>
>>>>> on Fri, 12 Aug 2016 10:12:01 +0200 writes:
>>>>> Suharto Anggono Suharto Anggono via R-devel <r-devel at r-project.org>
>>>>> on Thu, 11 Aug 2016 16:19:49 +0000 writes:
>> I stand corrected. The part "If set to 'NULL', it implies
>> 'useNA="always"'." is even in the documen...
2019 Mar 05
0
stopifnot
>>>>> Suharto Anggono Suharto Anggono
>>>>> on Tue, 5 Mar 2019 17:29:20 +0000 writes:
> Another possible shortcut definition:
> assert <- function(exprs)
> do.call("stopifnot", list(exprs = substitute(exprs), local = parent.frame()))
Thank you. I think th...
2017 Aug 11
2
Issues of R_pretty in src/appl/pretty.c
See https://stat.ethz.ch/pipermail/r-devel/2017-August/074746.html for the origin of the example here.
That
pretty(c(-1,1)*1e300, n = 1e9, min.n = 1) gave 20 intervals, far from 1e9, but
pretty(c(-1,1)*1e300, n = 1e6, min.n = 1) gave 1000000 intervals
(on a machine), made me trace through the code to function 'R_pretty' in https://svn.r-project.org/R/trunk/src/appl/pretty.c .
*lo is
2017 May 19
1
stopifnot() does not stop at first non-TRUE argument
...g(6,3,4)
you would see
Error in f(y, z) : x > y is not TRUE
instead of the less informative
Error: x > y is not TRUE
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Fri, May 19, 2017 at 5:31 AM, Martin Maechler <maechler at stat.math.ethz.ch
> wrote:
> >>>>> Suharto Anggono Suharto Anggono via R-devel <r-devel at r-project.org>
> >>>>> on Thu, 18 May 2017 16:27:09 +0000 writes:
>
> >> From an example in
>
> >> http://www.uni-muenster.de/ZIV.BennoSueselbeck/s-html/
> helpfiles/nargs.html
> &g...
2019 Feb 18
1
Extract.data.frame.Rd about $.data.frame
...tchDollar is TRUE.
--------------------------------------------
On Fri, 15/2/19, Martin Maechler <maechler at stat.math.ethz.ch> wrote:
Subject: Re: [Rd] Extract.data.frame.Rd about $.data.frame
Cc: r-devel at r-project.org
Date: Friday, 15 February, 2019, 4:15 PM
>>>>> Suharto Anggono Suharto Anggono via R-devel
>>>>> on Sun, 10 Feb 2019 16:33:25 +0000 writes:
> In R devel, data.frame method of '$' has been removed, but this part of "Details" section of Extract.data.frame.Rd still implies existence of the method.
> The...
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 'ta...