(APPENDIX) Appendix {-}

R Session Information {#cha-r-session-information}

If you ever try to communicate with someone about an error you are having with R, then you should include your session information in the message. Here is how to do that, and below is what the output looks like.

sessionInfo()
input  = knitr::current_input()  # filename of input document
output = paste(tools::file_path_sans_ext(input), 'R', sep = '.')
knitr::purl(input,output,documentation=1,quiet=TRUE)


Try the IPSUR package in your browser

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

IPSUR documentation built on May 2, 2019, 9:15 a.m.