Details The capture function uses sink to capture the printed results generated by expression. The function sprint uses capture to redirect the results of calling print on an object to a string. Value A character string, or if collapse==NULL a vector of character strings containing the printed output from the R expression. WARNING R 1.7.0+ includes capture.output, which duplicates the functionalit