--- title: "Put tables on the same page" author: "author" date: May 16, 2020 output: pdf_document: extra_dependencies: ["lipsum"] number_sections: yes toc: yes geometry: margin=1in fontsize: 11pt --- ```{r setup, include=FALSE} knitr::opts_chunk$set(echo = FALSE, cache = TRUE, #include = FALSE, message = FALSE, warning = FALSE, error = TRUE, fig.cap = " ", number_sections = TRUE) ``` ```{r} library(tidyverse) library(pander) library(rmarkdown) #panderOptions('keep.trailing.zeros', TRUE) ``` \lipsum[3-5] ```{r} m5 = lm(log(Volume)~log(Girth)*log(Height)+Girth^2+Girth^3+Girth^4 + Height^2+Height^3+rnorm(31)+rpois(31, 1),data=trees) pander(m5) ```