Re: [R] How to change print behaviour within a markdown document

2014-08-02 Thread Eduardo M. A. M. Mendes
Dear Duncan Options did the job. Thank you ever so much. I will try the other suggestions too. If they work I will post them as well. Cheers Ed Enviada do meu iPhone > Em 02/08/2014, às 09:26, Duncan Murdoch escreveu: > >> On 01/08/2014, 10:36 PM, Eduardo M. A. M.Mendes wrote: >> Hello >

Re: [R] How to change print behaviour within a markdown document

2014-08-02 Thread Duncan Murdoch
On 01/08/2014, 10:36 PM, Eduardo M. A. M.Mendes wrote: > Hello > > I have the following chunk of code within a rmarkdown document: > > ```{r infoA, echo=FALSE, tidy=FALSE} > print(pAinfo,quote=FALSE,justify="center") > ``` > pAinfo is data.frame with 21 rows and 4 columns. Unfortunately the resul

Re: [R] How to change print behaviour within a markdown document

2014-08-01 Thread Jeff Newmiller
Use one of the various functions out there that generate markdown or html tables, and set the chunk option results='asis'. Google for "kable", "xtable", "pander", or "ascii"... there are probably others as well. --- Jeff New