Konrad Rudolph

Results 102 comments of Konrad Rudolph

Ouch, this sounds painful, I hadn’t considered that. However, I think there is only a limited number of cases that need to be considered: - Free assignment of the form...

@DarwinAwardWinner, your version will still try to invoke `

Here’s an MWE: ``` r ` 2 * x) # [1] 2 4 6 8 library(lazyeval) library(magrittr) library(stringr) doAssign = function(lhs, rhs) { lhs = lazy(lhs) rhs = lazy(rhs) assign.expr...

@smbache In a way that ship has sailed, it’s already in pervasive use. To be honest, it’s also because I’m stubborn: I find that `

@lionel- Yes, `%%` should definitely pick up replacement functions; I’m not convinced that it should pick up redefinitions of `

@lionel- > [Replacement functions] don't use assignment internally, at least not in the sense of calling `

> It would be nice if `x$y` went somewhere useful for R6/ReferenceClasses Since R6 is implemented in a package, such an operator `?` could be provided by that package. [klmr/modules](https://github.com/klmr/modules)...

> > which can modify the command line options being passed to the R subprocess (or the environment variables). > > Well, you can already modify environment variables, just set...

* The original working directory is already available (`getwd()` in the child process already yields the correct result but as mentioned it’s unrelated to the script path so it’s not...

For knitr and RStudio, the mere presence is unfortunately not sufficient for my purposes — ‘box’ needs the information provided by `knitr::current_input(dir = TRUE)` and `rstudioapi::getActiveDocumentContext()$path`, respectively. > IDK what...