python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Problem with non-standard evaluation in disk.frame objects using data.table syntax
Problem
I'm currently trying to write a function that filters some rows of a disk.frame object using regular expressions. I, unfortunately, run into some issues with the evaluation of my search string...
Joshua Entrop
Votes: 0
Answers: 2
Using sample() to sample from nested lists in R
I'm looking for a way to use sample() to sample values from different lists based on a value in another column of a data.table - at the moment I'm getting a recursive indexing failed error - code and ...
davidj444
Votes: 0
Answers: 1
How to calculate maximum value including string?
I want to keep the string while using .SD, max .
data <- data.table(id = c("a", "a", "b", "c"),
s1 = c(1, 3, 2, 2),
s2 ...
ghgh
Votes: 0
Answers: 3
sapply over one data.table column function from other data.table
I am new to data.table, and am trying to switch over.
I have 2 data.tables (variable_sites and dt_bam) and want to use variable_sites$POS (call this refPOS) to perform a function using data from dt_ba...
user2814482
Votes: 0
Answers: 1