mirror of
https://github.com/dchakro/shared_Rscripts.git
synced 2026-05-18 09:14:44 -07:00
improve snippet names
This commit is contained in:
parent
dcbc8f4d82
commit
eaecaf95f1
1 changed files with 2 additions and 2 deletions
|
|
@ -15,11 +15,11 @@ snippet comment_date
|
||||||
`r paste("#", date(), "------------------------------\n")`
|
`r paste("#", date(), "------------------------------\n")`
|
||||||
${0}
|
${0}
|
||||||
|
|
||||||
snippet rmObj
|
snippet rmObject
|
||||||
rm(list=ls()[!ls() %in% c("${1:Obj1}","${2:Fun2}")])
|
rm(list=ls()[!ls() %in% c("${1:Obj1}","${2:Fun2}")])
|
||||||
${0}
|
${0}
|
||||||
|
|
||||||
snippet rmCol
|
snippet rmColumn
|
||||||
${1:DF}[,!colnames(${1}) %in% ${2:columnsToRemove}]
|
${1:DF}[,!colnames(${1}) %in% ${2:columnsToRemove}]
|
||||||
${0}
|
${0}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue