powered by
Save a list into an ASCII file. in: a list. out: a file.
list2ascii(x, file = paste(deparse(substitute(x)), ".txt", sep = ""))
a list
character. file name
a file
# NOT RUN { alist <- list(a = 1:10, b = letters) list2ascii(alist) # }
Run the code above in your browser using DataLab