Displaying 20 results from an estimated 39 matches for "wdun".
Did you mean:
wdfn
2019 Feb 01
0
Runnable R packages
...se" you probably want to set up your own
repository containing
fixed versions of packages instead of using CRAN. Then edd repos="..." to
the install.packages()
call. Of course you can put this into a package and somehow deal with the
bootstrapping issue.
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Thu, Jan 31, 2019 at 8:04 AM David Lindelof <lindelof at ieee.org> wrote:
> Would you care to share how your package installs its own dependencies? I
> assume this is done during the call to `main()`? (Last time I checked, R
> CMD INSTALL would not install a packag...
2019 Mar 09
0
POSIXlt$zone and $gmtoff questions
...ot;2019-03-08", tz="US/Pacific"))
# 2019-03-08, $zone="PST", $gmtoff=NA_integer_
f(as.POSIXlt(as.POSIXct("2019-03-08", tz="US/Pacific")))
# 2019-03-08, $zone="PST", $gmtoff=-28800L
Is this last an efficiency issue?
Bill Dunlap
TIBCO Software
wdunlap tibco.com
[[alternative HTML version deleted]]
2019 Mar 26
0
Discrepancy between is.list() and is(x, "list")
...to SV4 (c. late 1990's). The is.<type> functions
are much older (c. mid 1970's) , from before any class system was in S.
is() and inherits() were introduced with the S4 class system and were meant
to escape from the prison made by ancient design choices.
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Tue, Mar 26, 2019 at 2:11 PM Abs Spurdle <spurdle.a at gmail.com> wrote:
> If I can merge this thread with the one I started yesterday...
>
> > "If the object does not have a class attribute, it has an implicit
> class..."
> > which I take to...
2019 Jul 15
0
Potential bug with data.frame replacement
...quot;GSMc(23,
10, 2, 9, 4, 3, 16, 12, 21, 26, 3, 17, 6, 25, 8, 1, 17, 10| __truncated__
...
- attr(*, "class")= chr [1:3] "simpleError" "error" "condition"
> nchar(deparse(e$call))
[1] 11068 11036 11023 11023 11023 11021 2
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Mon, Jul 15, 2019 at 3:25 AM Benjamin Jean-Marie Tremblay <
b2tremblay at uwaterloo.ca> wrote:
>
> Dear R-devel,
>
> I have encountered a crash-inducing scenario and would like to enquire as
to
> whether this would be considered a bug. To reproduce the crash:...
2019 Aug 15
0
Feature request: non-dropping regmatches/strextract
...0)
[[3]]
[1] "J" "M"
> vapply(.Last.value, function(x)paste(paste0(x, "."),collapse=""), "")
[1] "J.D." "." "J.M."
(We don't want e e cummings initials mapped to "NA.")
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Thu, Aug 15, 2019 at 12:15 AM Cyclic Group Z_1 via R-devel <
r-devel at r-project.org> wrote:
> A very common use case for regmatches is to extract regex matches into a
> new column in a data.frame (or data.table, etc.) or otherwise use the
> extracted strings alon...
2019 Aug 15
0
Feature request: non-dropping regmatches/strextract
...om
2 chico at marx.com
3 Harpo
> str(.Last.value)
'data.frame': 3 obs. of 2 variables:
$ Name : chr "Groucho" "" "Harpo"
$ Address: chr "groucho at marx.com" "chico at marx.com" ""
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Thu, Aug 15, 2019 at 11:31 AM Cyclic Group Z_1 <cyclicgroup-z1 at yahoo.com>
wrote:
> I do think keeping the default behavior is desirable for backwards
> compatibility; my suggestion is not to change default behavior but to add
> an optional argument that allows a...
2019 Sep 08
0
Error: package or namespace load failed for ‘utils
...particular not using *methods*will reduce the
start-up time by a factor of up to two. But it can also be used to
customize R, e.g. for class use. Rscript also checks the environment
variable R_SCRIPT_DEFAULT_PACKAGES; if set, this takes precedence over
R_DEFAULT_PACKAGES.
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Sun, Sep 8, 2019 at 8:42 AM Laurent Gautier <lgautier at gmail.com> wrote:
> Hi,
>
> When starting an embedded R I encounter the following issue under certain
> conditions:
>
> ```
> Error: package or namespace load failed for ?utils? in if (.identC(cla...
2020 Mar 12
0
support of `substitute(...())`
...nd for a long time, but more recently
(slightly after R-3.4.0?) the ...elt(n) and ...length() functions were
introduced so you don't have to use it much. I don't see a ...names()
function that would give the names of the ... arguments -
names(substitute(...())).
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Thu, Mar 12, 2020 at 2:09 AM D?nes T?th <toth.denes at kogentum.hu> wrote:
> Dear R Core Team,
>
> I learnt approx. two years ago in this mailing list that one can use the
> following "trick" to get a (dotted pair)list of the ellipsis arguments
> in...
2020 Apr 16
0
suggestion: "." in [lsv]apply()
...ings like the following.
> wsapply(list(1,2:3), paste(., ":", deparse(s)))
[[1]]
[1] "1 : paste(., \":\", deparse(s))"
[[2]]
[1] "2 : paste(., \":\", deparse(s))" "3 : paste(., \":\", deparse(s))"
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Thu, Apr 16, 2020 at 7:25 AM Sokol Serguei <sokol at insa-toulouse.fr>
wrote:
> Hi,
>
> I would like to make a suggestion for a small syntactic modification of
> FUN argument in the family of functions [lsv]apply(). The idea is to
> allow one-liner expression...
2020 May 15
0
paste(character(0), collapse="", recycle0=FALSE) should be ""
...e of recycle0. This would be
similar to when there are no non-NULL arguments to paste; collapse="."
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...
2020 May 22
1
R-devel's ...names() questions
...to get the unevaluated ... arguments directlly
without having to know about the substitute(...()) trick. Then the user
could get the length, the n'th, or the names using the usual length(), [[,
and names() functions instead of ...length(), ...elt(), and ...names().
Bill Dunlap
TIBCO Software
wdunlap tibco.com
[[alternative HTML version deleted]]
2020 May 18
0
order function called on a data.frame?
...me(df)).
While you are looking at order(), it would be nice if ';decreasing' could
be a vector the the length of list(...) so you could ask to sort some
columns in increasing order and some decreasing. I thought I put this on
bugzilla eons ago, but perhaps not.
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Mon, May 18, 2020 at 8:52 AM Michael Lawrence via R-devel <
r-devel at r-project.org> wrote:
> I guess we could make it do the equivalent of do.call(order, df).
>
> On Mon, May 18, 2020 at 8:32 AM Rui Barradas <ruipbarradas at sapo.pt> wrote:
> >
> &...
2020 Jun 23
1
mget(missingArgument)?
...66
The similar function get0() gives an error in that case.
> b <- (function(x) get0("x", envir=environment(), ifnotfound=666))()
Error in get0("x", envir = environment(), ifnotfound = 666) :
argument "x" is missing, with no default
Bill Dunlap
TIBCO Software
wdunlap tibco.com
[[alternative HTML version deleted]]
2020 Jun 26
1
Change in lapply's missing argument passing
..., function(i, j) c(i=missing(i),j=missing(j), i=)
>From R-2.14.0 (2011-10-31) through R-3.4.4 (2018-03-15) this evaluated to
c(i=TRUE, j=FALSE). From R-3.5.0 (2018-04-23) through R-4.0.0 (2020-04-24)
this evaluated to c(i=FALSE, j=TRUE).
Was this change intentional?
Bill Dunlap
TIBCO Software
wdunlap tibco.com
[[alternative HTML version deleted]]
2020 Jul 22
1
CAR0 vs. EXTPTR_PTR
...bs/Rcpp.so: undefined symbol: EXTPTR_PTR
In addition: Warning message:
package ?Rcpp? was built under R version 4.0.2
It looks like R's include/Rinternals.h was rejiggered so the function
EXTPTR_PTR is called when CAR0 used to be. (I think they do the same
thing.)
Bill Dunlap
TIBCO Software
wdunlap tibco.com
2019 Nov 08
0
improving the performance of install.packages
While developing a package, I often run install.packages() on it many times
in a session without updating its version number. How would your proposed
change affect this workflow?
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Fri, Nov 8, 2019 at 11:56 AM Joshua Bradley <jgbradley1 at gmail.com> wrote:
> I could do this...and I have before. This brings up a more fundamental
> question though. You're asking me to write code that changes the logic of
> the installation process (i.e. wr...
2019 Nov 12
3
calls with comment attribute
...1 2 3
but if the object is a call it prints it in an unusual format
> structure(quote(func(arg)), comment=c("a comment", "another comment"))
a comment
another comment
func(arg)
What is the rationale for the special treatment of calls?
Bill Dunlap
TIBCO Software
wdunlap tibco.com
[[alternative HTML version deleted]]
2019 Feb 20
0
code for sum function
Someone said it used a possibly platform-dependent
higher-than-double-precision type.
By the way, in my example involving rep(1/3, n) I neglected to include the
most precise
way to calculate the sum: n%/%3 + (n%%3)/3.
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Wed, Feb 20, 2019 at 2:45 PM Rampal Etienne <rampaletienne at gmail.com>
wrote:
> Dear Will,
>
> This is exactly what I find.
> My point is thus that the sum function in R is not a naive sum nor a
> Kahansum (in all cases), but what algorithm is it using then...
2019 Sep 19
2
Should slot<-() alter its first argument?
...ot;
Slot "x":
[1] "orig"
>
> `slot<-`(z, "x", value="newest")
An object of class "Z"
Slot "x":
[1] "newest"
> z
An object of class "Z"
Slot "x":
[1] "newest"
Bill Dunlap
TIBCO Software
wdunlap tibco.com
[[alternative HTML version deleted]]
2019 Aug 15
1
Rf_defineVar(symbol, R_UnboundValue, environment) questions
...ALSE)
[1] TRUE
> get("Two", envir=envir, inherits=FALSE) # get fails when exists says ok
Error in get("Two", envir = envir, inherits = FALSE) :
object 'Two' not found
Should Rf_defineVar(sym, R_UnboundValue, envir) remove sym from envir?
Bill Dunlap
TIBCO Software
wdunlap tibco.com
[[alternative HTML version deleted]]