R/f.printlist.R

Defines functions f.printlist

f.printlist <- function(x){
##
##

.x <- lapply(x, function(y){
	if(is.list(y))return(y)
	else(return(list(y)))
})

.x <- substring(.x, first = 6, last = nchar(.x) - 1)
.x <- paste(names(x), ": ", .x, sep = "")

cat(.x, sep = "\n")

return(invisible(.x))

}

Try the Haplin package in your browser

Any scripts or data that you put into this service are public.

Haplin documentation built on May 20, 2022, 5:07 p.m.