search for: missing_arg

Displaying 9 results from an estimated 9 matches for "missing_arg".

Did you mean: missing_args
2017 Apr 07
5
rsync 3.1.1: --ignore-missing-args / --delete-missing args problem
...bably it is not the right way to address this problem, but in the same vein as --ignore-missing-args are implemented, the patch can go as follows: https://gist.github.com/anonymous/96ba8bf10f864a93fd9203f75c43ffe9 . Basically we need to do two changes: (1) in options.c, make sure that the "missing_args" value is transferred when set ; and (2) in rsync.c, in the "missing_args" case, replace FERROR_XFER with something else, since apparently any log message with logcode FERROR_XFER sets the flag 'got_xfer_error' in log.c, and that finally leads to exit code RERR_PARTIAL (...
2018 Nov 29
3
Unexpected argument-matching when some are missing
On Thu, Nov 29, 2018 at 10:51 AM S Ellison <S.Ellison at lgcgroup.com> wrote: > > > When trying out some variations with `[.data.frame` I noticed some (to me) > > odd behaviour, > > Not just in 'myfun' ... > > plot(x=1:10, y=) > plot(x=1:10, y=, 10:1) > > In both cases, 'y=' is ignored. In the first, the plot is for y=NULL (so not
2024 Feb 17
2
Capturing Function Arguments
...ate args as if force() had been called # I've tried many things but haven't found a solution that handled everything args } # In the below example args1 and args2 should be the same a <- 1 args1 <- f(a, z = 1 + 100) args2 <- list( a = 1, y = 202, z = 101, a = NULL, b = rlang::missing_arg() ) If anyone knows how to get this to work, I would appreciate the help. Thanks, Reed -- Reed A. Cartwright, PhD Associate Professor of Genomics, Evolution, and Bioinformatics School of Life Sciences and The Biodesign Institute Arizona State University ================== Address: The Biodesign...
2017 Apr 07
0
rsync 3.1.1: --ignore-missing-args / --delete-missing args problem
...address this problem, but in the > same vein as --ignore-missing-args are implemented, the patch can go as > follows: > https://gist.github.com/anonymous/96ba8bf10f864a93fd9203f75c43ffe9 . > > Basically we need to do two changes: > > (1) in options.c, make sure that the "missing_args" value is transferred > when set ; and > (2) in rsync.c, in the "missing_args" case, replace FERROR_XFER with > something else, since apparently any log message with logcode > FERROR_XFER sets the flag 'got_xfer_error' in log.c, and that finally > leads to exi...
2017 Apr 07
0
rsync 3.1.1: --ignore-missing-args / --delete-missing args problem
...way to address this problem, but in the same > vein as --ignore-missing-args are implemented, the patch can go as follows: > https://gist.github.com/anonymous/96ba8bf10f864a93fd9203f75c43ffe9 . > > Basically we need to do two changes: > > (1) in options.c, make sure that the "missing_args" value is transferred > when set ; and > (2) in rsync.c, in the "missing_args" case, replace FERROR_XFER with > something else, since apparently any log message with logcode FERROR_XFER > sets the flag 'got_xfer_error' in log.c, and that finally leads to exit &gt...
2017 Apr 07
1
rsync 3.1.1: --ignore-missing-args / --delete-missing args problem
...can go > as follows: > https://gist.github.com/anonymous/96ba8bf10f864a93fd9203f75c43ffe9 > <https://gist.github.com/anonymous/96ba8bf10f864a93fd9203f75c43ffe9> . > > Basically we need to do two changes: > > (1) in options.c, make sure that the "missing_args" value is > transferred when set ; and > (2) in rsync.c, in the "missing_args" case, replace FERROR_XFER with > something else, since apparently any log message with logcode > FERROR_XFER sets the flag 'got_xfer_error' in log.c, and that >...
2024 Feb 18
1
Capturing Function Arguments
...mes(args)) assign(n, args[[n]], envir = e) # evaluate everything, default argument or not mget(names(params), e, ifnotfound = list(.makemissing())) } f0 <- function(x, y = 2 * z, z, a = NULL, b) NULL a <- 1 identical( f(a, z = 1 + 100), list(x = 1, y = 202, z = 101, a = NULL, b = rlang::missing_arg()) ) # [1] TRUE -- Best regards, Ivan
2012 Mar 18
1
Converting expression to a function
Previously, I've posted queries about this, and thanks to postings and messages in response have recently had some success, to the extent that there is now a package called nlmrt on the R-forge project https://r-forge.r-project.org/R/?group_id=395 for solving nonlinear least squares problems that include small or zero residual problems via a Marquardt method using a call that mirrors the nls()
2010 Jun 15
3
about rsyncing of block devices
Hiya, I can see it's a regular subject on this list. I, like others wanted to use rsync to synchronise two block devices (as it happens one lvm volume and one nbd device served by qemu-img on a remote host from a qcow2 disk image so that I can keep the old versions) As I couldn't find any report of it being done successfully, I'm just sharing my findings as it might benefit others.