<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt"><div><span>Senhores estou  meio enferrujado aqui no Sweave. Fiz um print aqui e não deu o esperado.</span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span><<>>=<br></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span>setwd("/media/Meus
 arquivos/Pendrive/KINGSTON/sweave/apostilaR2")<br>require(gdata)<br>dad<-read.xls("dados.xls")<br>str(dad)<br>attach(dad)<br>require(xtable)<br>test=xtable(dad, align = "llllll")<br>print(test, table.placement = "H")<br></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;">@</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;">Saida impressa no pdf.</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica
 Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;">\begin{table}[ht]<br>\centering<br>\begin{tabular}{llllll}<br>  \hline<br> & sexo & esc & sal & idad & filhos \\ <br>  \hline<br>1 & masculino  & 1 grau & 4.00 &  26 &   0 \\ <br>  2 & masculino  & 1 grau & 4.56 &  32 &   1 \\ <br>  3 & feminino  & 1 grau & 5.25 &  36 &   2 \\ <br>  4 & masculino  & 2 grau & 5.73 &  20 &   0 \\ <br>  5 & feminino  & 1 grau & 6.26 &  40 &   1 \\ <br>  6 &
 masculino  & 1 grau & 6.66 &  28 &   1 \\ <br>  7 & feminino  & 1 grau & 6.86 &  41 &   0 \\ <br>  8 & masculino  & 1 grau & 7.39 &  43 &   0 \\ <br>  9 & feminino  & 2 grau & 7.59 &  34 &   1 \\ <br>  10 & masculino  & 2 grau & 7.84 &  23 &   0 \\ <br>  11 & feminino  & 2 grau & 8.12 &  33 &   2 \\ <br>  12 & masculino  & 1 grau & 8.46 &  27 &   0 \\ <br>  13 & feminino  & 2 grau & 8.74 &  37 &   0 \\ <br>  14 & masculino  & 1 grau & 8.95 &  44 &   3 \\ <br>  15 & feminino  & 2 grau & 9.13 &  30 &   0 \\ <br>  16
 & masculino  & 2 grau & 9.35 &  38 &   3 \\ <br>  17 & feminino  & 2 grau & 9.77 &  31 &   1 \\ <br>  18 & masculino  & 1 grau & 9.80 &  39 &   2 \\ <br>  19 & feminino  & superior & 10.53 &  25 &   1 \\ <br>  20 & masculino  & 2 grau & 10.76 &  37 &   0 \\ <br>  21 & feminino  & 2 grau & 11.06 &  30 &   1 \\ <br>  22 & masculino  & 1 grau & 11.59 &  34 &   2 \\ <br>  23 & feminino  & 2 grau & 12.00 &  41 &   4 \\ <br>  24 & masculino  & superior & 12.79 &  26 &   0 \\ <br>  25 & feminino  & 2 grau & 13.23 &  32 &  
 2 \\ <br>  26 & masculino  & 2 grau & 13.60 &  35 &   2 \\ <br>  27 & feminino  & 1 grau & 13.85 &  46 &   0 \\ <br>  28 & masculino  & 2 grau & 14.69 &  29 &   2 \\ <br>  29 & masculino  & 2 grau & 14.71 &  40 &   5 \\ <br>  30 & masculino  & 2 grau & 15.99 &  35 &   2 \\ <br>  31 & feminino  & superior & 16.22 &  31 &   3 \\ <br>  32 & masculino  & 2 grau & 16.61 &  36 &   1 \\ <br>  33 & feminino  & superior & 17.26 &  43 &   3 \\ <br>  34 & masculino  & superior & 18.75 &  33 &   4 \\ <br>  35 & feminino  & 2 grau & 19.40
 &  48 &   2 \\ <br>  36 & masculino  & superior & 23.30 &  42 &   3 \\ <br>   \hline<br>\end{tabular}<br>\end{table}</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;">Não se espera que imprima uma tabela com linhas? O que fiz de errado?</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica
 Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0,
 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;
 background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span><br></span></div><div> </div><div>André Oliveira Souza</div></div></body></html>