EDA code fixes, based on testing via regular R session (with knitr-based environment disabled).