Displaying 20 results from an estimated 56 matches for "fabri".
Did you mean:
fabric
2020 Aug 28
2
utils::isS3stdGeneric chokes on primitives and identity
...he
definition of standard s3 generic or not is, I suppose, up for debate, but
I would say that they should, I think.
As before, if desired I can work on a patch for this if desired, or someone
on R-core can just take care of it if that is easier.
Best,
~G
On Thu, Aug 27, 2020 at 11:22 AM Antoine Fabri <antoine.fabri at gmail.com>
wrote:
> Should it work on traced functions ?
>
> As it is now it doesn't.
>
> Best,
>
> Antoine
>
> Le jeu. 20 ao?t 2020 ? 09:58, Kurt Hornik <Kurt.Hornik at wu.ac.at> a ?crit :
>
>> >>>>> Gabriel Beck...
2020 Aug 26
2
trace creates object in base namespace if called on function argument
...why it was designed this way, but it
is documented in detail, and hence the expected behavior.
Debugging is often, and also in R, implemented in the core. Tracing is
implemented on top without specific support, it thus cannot do some
things debugging can do.
Tomas
On 8/26/20 3:31 AM, Antoine Fabri wrote:
> Apologies there is one line missing in my last email, the code should be :
>
> foo <- function() "hello"
> trace2 <- function(fun) trace(fun, quote(print("!!!")))
> trace2(foo) # <- THIS LINE WAS MISSING
> base::fun
>
> Best,
>
> A...
2020 Aug 20
2
utils::isS3stdGeneric chokes on primitives and identity
...now with
- while(as.character(bdexpr[[1L]]) == "{")
+ while(is.call(bdexpr) && (as.character(bdexpr[[1L]]) == "{"))
(the suggested fix does not work on things like
foo <- function(x) {{ x }}
...)
Best
-k
> ~G
> On Wed, Aug 19, 2020 at 3:40 PM Antoine Fabri <antoine.fabri at gmail.com>
> wrote:
>> Dear R-devel,
>>
>> utils::isS3stdGeneric tries to subset the body of the function it's fed,
>> primitives don't like that because they don't have a body, identity doesn't
>> like it either because it&...
2023 Jul 21
1
tools::parseLatex() crashes on "\\verb{}"
...rb{c(c(1)}` and the second to
`\code{c(c(1))}`.
I've opened a ticket there FYI:
https://github.com/r-lib/roxygen2/issues/1503
------------------------------
>
> Message: 2
> Date: Thu, 20 Jul 2023 23:48:44 +0300
> From: Ivan Krylov <krylov.r00t at gmail.com>
> To: Antoine Fabri <antoine.fabri at gmail.com>
> Cc: R-devel <r-devel at r-project.org>
> Subject: Re: [Rd] tools::parseLatex() crashes on "\\verb{}"
> Message-ID: <20230720234844.004b13c2 at Tarkus>
> Content-Type: text/plain; charset="us-ascii"
>
> On Thu, 20...
2023 Mar 04
1
transform.data.frame() ignores unnamed arguments when no named argument is provided
...rrors of your ways and turn that on as you wish, often after something has gone wrong.
-----Original Message-----
From: R-devel <r-devel-bounces at r-project.org> On Behalf Of Martin Maechler
Sent: Friday, March 3, 2023 10:26 AM
To: Gabriel Becker <gabembecker at gmail.com>
Cc: Antoine Fabri <antoine.fabri at gmail.com>; R-devel <r-devel at r-project.org>
Subject: Re: [Rd] transform.data.frame() ignores unnamed arguments when no named argument is provided
>>>>> Gabriel Becker
>>>>> on Thu, 2 Mar 2023 14:37:18 -0800 writes:
> On Th...
2023 Jul 21
1
tools::parseLatex() crashes on "\\verb{}"
...d to just trying to) ?
`parse_Rd() ` is probably what I need indeed, for some reason I hadn't
found it, so that should fix my own issue here thanks a lot.
Le ven. 21 juil. 2023 ? 16:18, Ivan Krylov <krylov.r00t at gmail.com> a ?crit :
> ? Fri, 21 Jul 2023 15:14:09 +0200
> Antoine Fabri <antoine.fabri at gmail.com> ?????:
>
> > On a closer look it seems like roxygen2 introduces those, when using
> > markdown backtick quoting, if the quoted content is not syntactic. For
> > instance:
> >
> > #' `c(c(1)`
> > #' `c(c(1))`
> >...
2020 Aug 25
2
trace creates object in base namespace if called on function argument
Dear R-devel,
I don't think this is expected :
foo <- function() "hello"
trace2 <- function(fun) trace(fun, quote(print("!!!")))
base::fun
# Object with tracing code, class "functionWithTrace"
# Original definition:
# function() "hello"
#
# ## (to see the tracing code, look at body(object))
`untrace()` has the same behavior.
This is
2023 Jul 21
1
tools::parseLatex() crashes on "\\verb{}"
? Fri, 21 Jul 2023 15:14:09 +0200
Antoine Fabri <antoine.fabri at gmail.com> ?????:
> On a closer look it seems like roxygen2 introduces those, when using
> markdown backtick quoting, if the quoted content is not syntactic. For
> instance:
>
> #' `c(c(1)`
> #' `c(c(1))`
>
> Will convert the first line to...
2023 Mar 03
2
transform.data.frame() ignores unnamed arguments when no named argument is provided
>>>>> Gabriel Becker
>>>>> on Thu, 2 Mar 2023 14:37:18 -0800 writes:
> On Thu, Mar 2, 2023 at 2:02?PM Antoine Fabri
> <antoine.fabri at gmail.com> wrote:
>> Thanks and good point about unspecified behavior. The way
>> it behaves now (when it doesn't ignore) is more
>> consistent with data.frame() though so I prefer that to a
>> "warn and ignore"...
2020 Aug 29
0
utils::isS3stdGeneric chokes on primitives and identity
...t is, I suppose, up for debate, but
> I would say that they should, I think.
>
> As before, if desired I can work on a patch for this if desired, or
> someone on R-core can just take care of it if that is easier.
>
> Best,
> ~G
>
> On Thu, Aug 27, 2020 at 11:22 AM Antoine Fabri <antoine.fabri at gmail.com>
> wrote:
>
>> Should it work on traced functions ?
>>
>> As it is now it doesn't.
>>
>> Best,
>>
>> Antoine
>>
>> Le jeu. 20 ao?t 2020 ? 09:58, Kurt Hornik <Kurt.Hornik at wu.ac.at> a
>> ?...
2020 Sep 02
3
sys.call() 's srcref doesn't match the language
Dear R-devel,
I found this behavior disturbing, if `1 + f()` is called, `sys.call()`
called inside of `f` will return a quoted `f()` with a "srcref" that prints
"1 + f()".
I don't know which one is good but I don't think they can be correct at the
same time.
Here's a reproducible example:
f <- function(){
sc <- sys.call()
print(sc)
attr(sc,
2023 Mar 02
1
transform.data.frame() ignores unnamed arguments when no named argument is provided
On Thu, Mar 2, 2023 at 2:02?PM Antoine Fabri <antoine.fabri at gmail.com>
wrote:
> Thanks and good point about unspecified behavior. The way it behaves now
> (when it doesn't ignore) is more consistent with data.frame() though so I
> prefer that to a "warn and ignore" behaviour:
>
> data.frame(a = 1, b = 2,...
2020 Aug 19
2
utils::isS3stdGeneric chokes on primitives and identity
Dear R-devel,
utils::isS3stdGeneric tries to subset the body of the function it's fed,
primitives don't like that because they don't have a body, identity doesn't
like it either because it's body is a symbol.
According to the doc, any function is a legal input.
See below:
identity
#> function (x)
#> x
#> <bytecode: 0x0000000013d6da28>
#> <environment:
2020 Aug 26
0
trace creates object in base namespace if called on function argument
...s documented in detail, and hence the expected behavior.
>
> Debugging is often, and also in R, implemented in the core. Tracing is
> implemented on top without specific support, it thus cannot do some
> things debugging can do.
>
> Tomas
>
>
> On 8/26/20 3:31 AM, Antoine Fabri wrote:
> > Apologies there is one line missing in my last email, the code should be
> :
> >
> > foo <- function() "hello"
> > trace2 <- function(fun) trace(fun, quote(print("!!!")))
> > trace2(foo) # <- THIS LINE WAS MISSING
> > ba...
2007 Mar 21
3
lock file on embedded device
...for some routers . So actually my aim looks like get dovecot working with little hardware resources (32 MB of Ram, 8 MB of disk mem.)
I've cross compiled it well(it looks like).
the login against vpopmail works.
using mmap it cannot even select the inbox, the log says:
Error: IMAP(test at fabri-fibra.org): file_dotlock_create() failed with file
/home/vpopmail/domains/mydomain.org/test/Maildir/dovecot.index.log: No such file or directory
And an impressive Kernel page fault:
Mar 21 17:38:48 (none) kern.alert kernel: Unable to handle kernel paging request at virtual address 00000008, epc...
2023 Mar 28
1
[External] subfolders in the R folder
...s in the "inst" folder of
a package so if you have scripts you can arrange them there.
Given that most of my students seem to keep all their 23,420 files in one
folder called "Stuff" I think we can manage like this for a bit longer.
B
On Tue, Mar 28, 2023 at 4:43?PM Antoine Fabri <antoine.fabri at gmail.com>
wrote:
> This email originated outside the University. Check before clicking links
> or attachments.
>
> Dear R-devel,
>
> Packages don't allow for subfolders in R with a couple exceptions. We find
> in "Writing R extensions" :...
2019 Oct 05
6
should base R have a piping operator ?
Dear R-devel,
The most popular piping operator sits in the package `magrittr` and is used
by a huge amount of users, and imported /reexported by more and more
packages too.
Many workflows don't even make much sense without pipes nowadays, so the
examples in the doc will use pipes, as do the README, vignettes etc. I
believe base R could have a piping operator so packages can use a pipe in
2020 Nov 13
3
exists, get and get0 accept silently inputs of length > 1
Dear R-devel,
The doc of exists, get and get0 is unambiguous, x should be an object given
as a character string. However these accept longer inputs. It can lead an
uncareful user to think these functions are vectorized when they're not,
and generally lets through bugs that one might have preferred to trigger
earlier failure.
``` r
exists("d")
#> [1] FALSE
exists(c("c",
2019 Oct 05
4
should base R have a piping operator ?
.../journal.r-project.org/archive/2018/RJ-2018-042/index.html
> ).
>
> For documentation Bizarro pipe has the advantage that one can work out how
> it works from the application itself, with out reference to a defining
> function.
>
> On Oct 5, 2019, at 7:34 AM, Ant F <antoine.fabri at gmail.com> wrote:
>
> Dear R-devel,
>
> The most popular piping operator sits in the package `magrittr` and is used
> by a huge amount of users, and imported /reexported by more and more
> packages too.
>
> Many workflows don't even make much sense without pipes no...
2023 Mar 28
1
[External] subfolders in the R folder
...ckage so if you have scripts you can arrange them there.
>
> Given that most of my students seem to keep all their 23,420 files in one
> folder called "Stuff" I think we can manage like this for a bit longer.
>
> B
>
>
>
> On Tue, Mar 28, 2023 at 4:43?PM Antoine Fabri <antoine.fabri at gmail.com>
> wrote:
>
> > This email originated outside the University. Check before clicking links
> > or attachments.
> >
> > Dear R-devel,
> >
> > Packages don't allow for subfolders in R with a couple exceptions. We find
>...