<div dir="ltr">Tu precisa salvar o resultado:<br><br><font id="gmail-m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11704"><b id="gmail-m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11705">idade <- round(idade, digits = 0)</b></font><br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-04-03 15:30 GMT-03:00 Edmar Caldas via R-br <span dir="ltr"><<a href="mailto:r-br@listas.c3sl.ufpr.br" target="_blank">r-br@listas.c3sl.ufpr.br</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:13px"><div id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11325"><span id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11352">Boa Tarde!</span></div><div id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11325"><span><br></span></div><div id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11325"><span id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11354">Tenho uma dúvida, nesse código a variável idade <b id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11497"><font id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11552" color="#cd232c">não é pra ter dígitos. como faço pra tirar isso?</font></b></span></div><div id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11325"><span><b><font color="#ffffff"><br></font></b></span></div><div id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11325"><span id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11762"><b id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11760"><br id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11759"></b></span></div><div id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11666"><font id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11667"><b id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11668"># Chamando o arquivo</b></font></div><div id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11669"><font id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11670"><b id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11671">cadastro_funcionario</b></font></div><div id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11672"><font id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11673"><b id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11674"><br id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11675"></b></font></div><div id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11676"><font id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11677"><b id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11678"><br id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11679"></b></font></div><div id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11680"><font id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11681"><b id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11682">data_atual <- as.Date ("2017-04-03")</b></font></div><div id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11683"><font id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11684"><b id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11685">data_atual</b></font></div><div id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11686"><font id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11687"><b id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11688"><br id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11689"></b></font></div><div id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11690"><font id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11691"><b id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11692">cadastro_funcionario$data_<wbr>atual <- c(data_atual)</b></font></div><div id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11693"><font id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11694"><b id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11695">cadastro_funcionario</b></font></div><div id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11696"><font id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11697"><b id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11698"><br id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11699"></b></font></div><div id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11700"><font id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11701"><b id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11702">idade <-difftime(data_atual,<wbr>datanasc)/365.25</b></font></div><div id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11703"><font id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11704"><b id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11705">round(idade, digits = 0)</b></font></div><div id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11706"><font id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11707"><b id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11708"><br id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11709"></b></font></div><div id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11710"><font id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11711"><b id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11712"><br id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11713"></b></font></div><div id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11714"><font id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11715"><b id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11716">cadastro_funcionario$idade <-c(idade)</b></font></div><div id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11325" dir="ltr"><br></div><div id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11325" dir="ltr"><br></div><div id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11325" dir="ltr">resultado</div><div id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11325" dir="ltr"><br></div><div id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11325" dir="ltr"><img class="m_-229053318065689481ymail-preserve-class m_-229053318065689481inline-image-guid-88a68361-00e9-7ffe-b8d9-afebbb525182 m_-229053318065689481rte-inline-saved-image" src="cid:d9c50238-a548-56f0-d9ad-85851bb5f513@yahoo.com" alt="Alinhar imagem" style="width:100%;max-width:65px;max-height:207px"><span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888"><div></div><div id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11326"> </div><div class="m_-229053318065689481signature" id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11358"><div id="m_-229053318065689481yui_3_16_0_ym19_1_1491241707702_11357"><font color="#0000ff">Edmar</font></div></div></font></span></div></div><br>______________________________<wbr>_________________<br>
R-br mailing list<br>
<a href="mailto:R-br@listas.c3sl.ufpr.br">R-br@listas.c3sl.ufpr.br</a><br>
<a href="https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br" rel="noreferrer" target="_blank">https://listas.inf.ufpr.br/<wbr>cgi-bin/mailman/listinfo/r-br</a><br>
Leia o guia de postagem (<a href="http://www.leg.ufpr.br/r-br-guia" rel="noreferrer" target="_blank">http://www.leg.ufpr.br/r-br-<wbr>guia</a>) e forneça código mínimo reproduzível.<br></blockquote></div><br></div>