Open MarieAgosta opened 7 years ago
Hey Marie -- so you want to get rid of the "attaching package" and "please cite as" messages?
In your r code chunk in your markdown document, try adding these messages:
```{r, message=F, warning=F, results ='asis'}
Message = F and Warning = F should suppress these types of messages from showing. Reults='asis' helps ensure the table is formatted correctly by Knittr. Does this help?
Thanks Tori! I appreciate the help. One more if you happen to know… how to stop a table from running off the page when using stargazer? It’s a pretty basic frequency table…
Thanks again,
Marie
From: Tori notifications@github.com<mailto:notifications@github.com> Reply-To: HertieDataScience/SyllabusAndLectures reply@reply.github.com<mailto:reply@reply.github.com> Date: Friday, November 11, 2016 at 11:23 AM To: HertieDataScience/SyllabusAndLectures SyllabusAndLectures@noreply.github.com<mailto:SyllabusAndLectures@noreply.github.com> Cc: Marie M.Agosta@lse.ac.uk<mailto:M.Agosta@lse.ac.uk>, Author author@noreply.github.com<mailto:author@noreply.github.com> Subject: Re: [HertieDataScience/SyllabusAndLectures] messed up output (#114)
Hey Marie -- so you want to get rid of the "attaching package" and "please cite as" messages?
In your r code chunk in your markdown document, try adding these messages:
Message = F and Warning = F should suppress these types of messages from showing. Reults='asis' helps ensure the table is formatted correctly by Knittr. Does this help?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<https://github.com/HertieDataScience/SyllabusAndLectures/issues/114#issuecomment-259927396>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AVA71q-Z17fTfYafstZuazO37T3ST9tXks5q9EIUgaJpZM4Kvmqi>.
A suggestion on the frequency table issue. One easy option is to choose a smaller font size (in stargazer you can choose font.size = 'tiny'
for example.
Generally though, if the are running onto multiple pages with a frequency table it is better to think of a more effective way to visualise the data, e.g. a histogram or other chart.
With this line of code: