[R] Unexpected result for df column $ subset with non-existent name

2022-10-28 Thread Sergei Ko
Hi All, Just noticed that R returns results for non-existent name if you have another variable with the same beginning when you subset with $. See the code below: name_0 <- "ID" name_1 <- "name" name_2 <- "name1" v0 <- 1:200 v1 <- c(rep(0,100), rep(1,100)) v2 <- c(rep(0,50), rep(1,150)) df <-

[R] select.list cuts results to 100 characters on Win 10 when graphics = TRUE

2018-07-10 Thread Sergei Ko
mstring1 <- c("123456789012345678901234567890123456789012345678901234567890 123456789012345678901234567890123456789012345678901234567890") mstring2 <- c("123456789012345678901234567890123456789012345678901234567890 1234567890123456789012345678901234567890123456789012345678901234567890") vec.in