powered by
Prints an object with its name and with an optional descriptive text string. This is useful for annotating analysis output files and for debugging.
prn(x, txt, file, head=deparse(substitute(x), width.cutoff=500)[1])
any object
optional text string
optional file name. By default, writes to console. append=TRUE is assumed.
append=TRUE
optional heading. Default is derived from the user's expression for x
x
prints
print, cat, printL
print
cat
printL
x <- 1:5 prn(x) # prn(fit, 'Full Model Fit')
Run the code above in your browser using DataLab