[ad_1]
Try to look in the .GlobalEnv:
srch = function(srchstr){
print(ls(pattern=srchstr, envir = .GlobalEnv))
}
edit joran was faster…
[ad_2]
solved command ls with pattern in a function is not working in R
[ad_1]
Try to look in the .GlobalEnv:
srch = function(srchstr){
print(ls(pattern=srchstr, envir = .GlobalEnv))
}
edit joran was faster…
[ad_2]
solved command ls with pattern in a function is not working in R