<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Quando vc coloca <br>
</p>
<p> \usepackage[utf8]{inputenc}</p>
<p>o que você colocar entre [] deve ser o mesmo que o locale do seu
sistema. <br>
</p>
<p>Elias<br>
</p>
<br>
<div class="moz-cite-prefix">On 30/08/2017 10:15, Carolina Pena via
R-br wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CANwSsyBguzrhi4HJHXEoSP4g9p_gnTF2yrTAwH7NQyZjgiyavw@mail.gmail.com">
<div dir="ltr">
<div
id="gmail-yiv2302188493yui_3_16_0_ym19_1_1504042233183_2584"
style="color:rgb(0,0,0);font-family:標楷體,dfkai-sb;font-size:16px">Bom
dia, </div>
<div
id="gmail-yiv2302188493yui_3_16_0_ym19_1_1504042233183_2584"
style="color:rgb(0,0,0);font-family:標楷體,dfkai-sb;font-size:16px"><br>
</div>
<div
id="gmail-yiv2302188493yui_3_16_0_ym19_1_1504042233183_2584"
dir="ltr"
style="color:rgb(0,0,0);font-family:標楷體,dfkai-sb;font-size:16px">Estou
trabalhando com o R Markdown e preciso fazer uma tabela longa
parecida com o exemplo abaixo.</div>
<div
id="gmail-yiv2302188493yui_3_16_0_ym19_1_1504042233183_2584"
dir="ltr"
style="color:rgb(0,0,0);font-family:標楷體,dfkai-sb;font-size:16px">O
problema é que aparentemente o caption = "Número de
registros" está gerando um erro. Ao retirar o acento, ou seja,
escrever caption = "Numero de registros" o código funciona.
Porém não gostaria de retirar os acentos. Alguém já teve esse
tipo de problema? </div>
<div
id="gmail-yiv2302188493yui_3_16_0_ym19_1_1504042233183_2584"
dir="ltr"
style="color:rgb(0,0,0);font-family:標楷體,dfkai-sb;font-size:16px"><br>
</div>
<div
id="gmail-yiv2302188493yui_3_16_0_ym19_1_1504042233183_2584"
dir="ltr"
style="color:rgb(0,0,0);font-family:標楷體,dfkai-sb;font-size:16px"><br>
</div>
<div
id="gmail-yiv2302188493yui_3_16_0_ym19_1_1504042233183_2804"
style="color:rgb(0,0,0);font-family:標楷體,dfkai-sb;font-size:16px">```{r,
echo=FALSE, result = 'asis'}</div>
<div
id="gmail-yiv2302188493yui_3_16_0_ym19_1_1504042233183_2805"
style="color:rgb(0,0,0);font-family:標楷體,dfkai-sb;font-size:16px">library(kableExtra)</div>
<div
id="gmail-yiv2302188493yui_3_16_0_ym19_1_1504042233183_2806"
style="color:rgb(0,0,0);font-family:標楷體,dfkai-sb;font-size:16px">library(knitr)</div>
<div
id="gmail-yiv2302188493yui_3_16_0_ym19_1_1504042233183_2807"
style="color:rgb(0,0,0);font-family:標楷體,dfkai-sb;font-size:16px">options(knitr.table.format
= "latex")</div>
<div
id="gmail-yiv2302188493yui_3_16_0_ym19_1_1504042233183_2808"
style="color:rgb(0,0,0);font-family:標楷體,dfkai-sb;font-size:16px"><br
id="gmail-yiv2302188493yui_3_16_0_ym19_1_1504042233183_2809">
</div>
<div
id="gmail-yiv2302188493yui_3_16_0_ym19_1_1504042233183_2810"
style="color:rgb(0,0,0);font-family:標楷體,dfkai-sb;font-size:16px">long_dt
<- rbind(mtcars, mtcars)</div>
<div
id="gmail-yiv2302188493yui_3_16_0_ym19_1_1504042233183_2811"
style="color:rgb(0,0,0);font-family:標楷體,dfkai-sb;font-size:16px">kable(long_dt,
longtable = T, booktabs = T, caption = "Número de registros")
%>%</div>
<div
id="gmail-yiv2302188493yui_3_16_0_ym19_1_1504042233183_2812"
style="color:rgb(0,0,0);font-family:標楷體,dfkai-sb;font-size:16px">add_header_above(c("
", "Group 1" = 5, "Group 2" = 6)) %>%</div>
<div
id="gmail-yiv2302188493yui_3_16_0_ym19_1_1504042233183_2813"
style="color:rgb(0,0,0);font-family:標楷體,dfkai-sb;font-size:16px">kable_styling(latex_options
= c("repeat_header"))</div>
<div
id="gmail-yiv2302188493yui_3_16_0_ym19_1_1504042233183_2814"
style="color:rgb(0,0,0);font-family:標楷體,dfkai-sb;font-size:16px"><br
id="gmail-yiv2302188493yui_3_16_0_ym19_1_1504042233183_2815">
</div>
<div dir="ltr"
id="gmail-yiv2302188493yui_3_16_0_ym19_1_1504042233183_2816"
style="color:rgb(0,0,0);font-family:標楷體,dfkai-sb;font-size:16px">```</div>
<div dir="ltr"
id="gmail-yiv2302188493yui_3_16_0_ym19_1_1504042233183_2816"
style="color:rgb(0,0,0);font-family:標楷體,dfkai-sb;font-size:16px"><br>
</div>
<div dir="ltr"
id="gmail-yiv2302188493yui_3_16_0_ym19_1_1504042233183_3021"
style="color:rgb(0,0,0);font-family:標楷體,dfkai-sb;font-size:16px">No
cabeçalho o R Markdown incluí os seguintes pacotes do Latex,
mas o erro se manteve. </div>
<div dir="ltr"
id="gmail-yiv2302188493yui_3_16_0_ym19_1_1504042233183_3022"
style="color:rgb(0,0,0);font-family:標楷體,dfkai-sb;font-size:16px"><br
id="gmail-yiv2302188493yui_3_16_0_ym19_1_1504042233183_3023">
</div>
<div dir="ltr"
id="gmail-yiv2302188493yui_3_16_0_ym19_1_1504042233183_3024"
style="color:rgb(0,0,0);font-family:標楷體,dfkai-sb;font-size:16px">---</div>
<div dir="ltr"
id="gmail-yiv2302188493yui_3_16_0_ym19_1_1504042233183_3025"
style="color:rgb(0,0,0);font-family:標楷體,dfkai-sb;font-size:16px">output: </div>
<div dir="ltr"
id="gmail-yiv2302188493yui_3_16_0_ym19_1_1504042233183_3026"
style="color:rgb(0,0,0);font-family:標楷體,dfkai-sb;font-size:16px">
pdf_document:</div>
<div dir="ltr"
id="gmail-yiv2302188493yui_3_16_0_ym19_1_1504042233183_3027"
style="color:rgb(0,0,0);font-family:標楷體,dfkai-sb;font-size:16px">
keep_tex: true</div>
<div dir="ltr"
id="gmail-yiv2302188493yui_3_16_0_ym19_1_1504042233183_3028"
style="color:rgb(0,0,0);font-family:標楷體,dfkai-sb;font-size:16px">
fig_caption: true</div>
<div dir="ltr"
id="gmail-yiv2302188493yui_3_16_0_ym19_1_1504042233183_3029"
style="color:rgb(0,0,0);font-family:標楷體,dfkai-sb;font-size:16px">
latex_engine: pdflatex</div>
<div dir="ltr"
id="gmail-yiv2302188493yui_3_16_0_ym19_1_1504042233183_3030"
style="color:rgb(0,0,0);font-family:標楷體,dfkai-sb;font-size:16px">header-includes:<br>
</div>
<div dir="ltr"
id="gmail-yiv2302188493yui_3_16_0_ym19_1_1504042233183_3033"
style="color:rgb(0,0,0);font-family:標楷體,dfkai-sb;font-size:16px">
- \usepackage[brazilian]{babel} # idioma</div>
<div dir="ltr"
id="gmail-yiv2302188493yui_3_16_0_ym19_1_1504042233183_3034"
style="color:rgb(0,0,0);font-family:標楷體,dfkai-sb;font-size:16px">
- \usepackage[utf8]{inputenc} # acento</div>
<div dir="ltr"
id="gmail-yiv2302188493yui_3_16_0_ym19_1_1504042233183_3035"
style="color:rgb(0,0,0);font-family:標楷體,dfkai-sb;font-size:16px">--</div>
<div dir="ltr"
id="gmail-yiv2302188493yui_3_16_0_ym19_1_1504042233183_3035"
style="color:rgb(0,0,0);font-family:標楷體,dfkai-sb;font-size:16px"><br>
</div>
<div dir="ltr"
id="gmail-yiv2302188493yui_3_16_0_ym19_1_1504042233183_3035"
style="color:rgb(0,0,0);font-family:標楷體,dfkai-sb;font-size:16px">Muito
obrigada, </div>
<div dir="ltr"
id="gmail-yiv2302188493yui_3_16_0_ym19_1_1504042233183_3035"
style="color:rgb(0,0,0);font-family:標楷體,dfkai-sb;font-size:16px"><br>
</div>
<div dir="ltr"
id="gmail-yiv2302188493yui_3_16_0_ym19_1_1504042233183_3035"
style="color:rgb(0,0,0);font-family:標楷體,dfkai-sb;font-size:16px">Carolina
Pena </div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
R-br mailing list
<a class="moz-txt-link-abbreviated" href="mailto:R-br@listas.c3sl.ufpr.br">R-br@listas.c3sl.ufpr.br</a>
<a class="moz-txt-link-freetext" href="https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br">https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br</a>
Leia o guia de postagem (<a class="moz-txt-link-freetext" href="http://www.leg.ufpr.br/r-br-guia">http://www.leg.ufpr.br/r-br-guia</a>) e forne�a c�digo m�nimo reproduz�vel.</pre>
</blockquote>
<br>
</body>
</html>