Closed xiangpin closed 1 year ago
> args(utils:::str.default)
function (object, max.level = NA, vec.len = strO$vec.len, digits.d = strO$digits.d,
nchar.max = 128, give.attr = TRUE, drop.deparse.attr = strO$drop.deparse.attr,
give.head = TRUE, give.length = give.head, width = getOption("width"),
nest.lev = 0, indent.str = paste(rep.int(" ", max(0, nest.lev +
1)), collapse = ".."), comp.str = "$ ", no.list = FALSE,
envir = baseenv(), strict.width = strO$strict.width, formatNum = strO$formatNum,
list.len = strO$list.len, deparse.lines = strO$deparse.lines,
...)
NULL
我觉得可以像str()
一样有max.level
参数。
@xiangpin 搞一下这个max.level
参数,因为像这种比如说递归式地列出文件目录,可能嵌套的list很深。
Description
add
as.phylo
forlist
classRelated Issue
Example