You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -49,7 +49,7 @@ The problem with this kind of interface is that we cannot easily parameterize th
### Example
```{r subset_error, error=TRUE}
```{r subset_error, error=TRUE, purl=FALSE}
my_subset = function(data, col, val) {
subset(data, col == val)
}
Expand DownExpand Up
@@ -288,7 +288,7 @@ DT[, j, # the same as above but accepts character vector
Now let's try to pass a list of symbols, rather than list call to those symbols. We'll use `I()` to escape automatic _enlist_-ing but, as this will also turn off character to symbol conversion, we also have to use `as.name`.