From e3395714d1a26d5c67232dc83f6ba65604b3183f Mon Sep 17 00:00:00 2001 From: dchakro <35454738+dchakro@users.noreply.github.com> Date: Tue, 11 Oct 2022 11:14:15 +0300 Subject: [PATCH] add quotes around string --- r.snippets.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r.snippets.txt b/r.snippets.txt index bd3fffc..e4f5246 100644 --- a/r.snippets.txt +++ b/r.snippets.txt @@ -29,7 +29,7 @@ snippet DTrmColumn snippet changeColumnType # define columns to change - changeCols <- c("${1:col1}, ${1:col2}") + changeCols <- c("${1:col1}", "${1:col2}") ${3:DT}[,(changeCols):= lapply(.SD, as.factor), .SDcols = changeCols] snippet mat