<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt"><div id="yiv7138328548"><div><div style="background-color: rgb(255, 255, 255); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt;"><div id="yiv7138328548yui_3_13_0_ym1_8_1394630299491_13" style="color: rgb(0, 0, 0);">Desculpe-me Rodrigo é mesmo 6.</div><div id="yiv7138328548yui_3_13_0_ym1_8_1394630299491_13" style="color: rgb(0, 0, 0);"><br></div><div id="yiv7138328548yui_3_13_0_ym1_8_1394630299491_13" style="color: rgb(0, 0, 0);">Valeu, vou testar aqui. </div><div id="yiv7138328548yui_3_13_0_ym1_8_1394630299491_13" style="color: rgb(0, 0, 0);"><br></div><div id="yiv7138328548yui_3_13_0_ym1_8_1394630299491_13" style="color: rgb(0, 0, 0);">Obrigada</div><div id="yiv7138328548yui_3_13_0_ym1_8_1394630299491_15" style="color:
rgb(0, 0, 0);"></div><div id="yiv7138328548yui_3_13_0_ym1_8_1394630299491_17" style="color: rgb(0, 0, 0);"> </div><div id="yiv7138328548yui_3_13_0_ym1_1_1394630299491_23502" style="color: rgb(0, 0, 0);"><span class="yiv7138328548yui_3_13_0_ym1_8_1394630299491_18" id="yiv7138328548yui_3_13_0_ym1_8_1394630299491_19" style="color: rgb(0, 0, 255); font-style: italic; font-weight: bold; font-family: 'times new roman', 'new york', times, serif;">Waldelene Moura</span><br clear="none" style="color:rgb(0, 0, 255);font-style:italic;font-family:times new roman, new york, times, serif;"><span class="yiv7138328548yui_3_13_0_ym1_8_1394630299491_22" id="yiv7138328548yui_3_13_0_ym1_8_1394630299491_23" style="color: rgb(0, 0, 255); font-style: italic; font-family: 'times new roman', 'new york', times, serif;">Analista de Sistemas</span><br clear="none" class="yiv7138328548yui_3_13_0_ym1_8_1394630299491_24" id="yiv7138328548yui_3_13_0_ym1_8_1394630299491_25"
style="color: rgb(0, 0, 255); font-style: italic; font-family: 'times new roman', 'new york', times, serif;"><span class="yiv7138328548yui_3_13_0_ym1_8_1394630299491_26" id="yiv7138328548yui_3_13_0_ym1_8_1394630299491_27" style="color: rgb(0, 0, 255); font-style: italic; font-family: 'times new roman', 'new york', times, serif;">Universidade Federal do Maranhão - PROEN</span><br clear="none" class="yiv7138328548yui_3_13_0_ym1_8_1394630299491_28" id="yiv7138328548yui_3_13_0_ym1_8_1394630299491_29" style="color: rgb(0, 0, 255); font-style: italic; font-family: 'times new roman', 'new york', times, serif;"></div><div class="yiv7138328548yui_3_13_0_ym1_8_1394630299491_30" id="yiv7138328548yui_3_13_0_ym1_8_1394630299491_31" style="font-family: 'times new roman', 'new york', times, serif; font-style: italic;"><font color="#0000ff"> </font></div><div class="yiv7138328548yqt1939353626" id="yiv7138328548yqt45411" style="color: rgb(0, 0, 0);"><div
class="yiv7138328548yahoo_quoted" style="display: block;"> <br clear="none"> <br clear="none">
<div class="yiv7138328548yui_3_13_0_ym1_1_1394630299491_23449" style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt;"> <div class="yiv7138328548yui_3_13_0_ym1_1_1394630299491_23450" style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> Em Quarta-feira, 12 de Março de 2014 10:38, Rodrigo Coster <rcoster@gmail.com> escreveu:<br clear="none"> </font> </div> <div class="yiv7138328548y_msg_container"><div id="yiv7138328548"><div><div dir="ltr">Uma função não (pelo menos se tiver eu não conheço), mas da para combinar duas para isso:<div><br clear="none"></div><div>eval(parse(text="2 * 3")) # Tu queria 6 e não 5 né?<br clear="none"></div><div>eval(parse(text="42 + 7"))<br clear="none">
</div></div><div class="yiv7138328548gmail_extra"><br clear="none"><br clear="none"><div class="yiv7138328548gmail_quote">2014-03-12 10:33 GMT-03:00 Waldelene Moura <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:waldelene@yahoo.com.br" target="_blank" href="mailto:waldelene@yahoo.com.br">waldelene@yahoo.com.br</a>></span>:<br clear="none">
<blockquote class="yiv7138328548gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="yiv7138328548yqt9917911786" id="yiv7138328548yqt95748"><div><div class="yiv7138328548yui_3_13_0_ym1_1_1394630299491_23453" style="font-size: 10pt; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"><div>
<span>Sou iniciante do R.</span></div><div class="yiv7138328548yui_3_13_0_ym1_1_1394630299491_23454" style="font-style: normal; font-size: 13.63636302947998px; background-color: transparent; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;">
<span><br clear="none"></span></div><div class="yiv7138328548yui_3_13_0_ym1_1_1394630299491_23455" style="font-style: normal; font-size: 13.63636302947998px; background-color: transparent; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"><span>Estou precisando de uma sugestão para fazer o seguinte: Tenho numa string com uma expressão e desejo obter o resultado desta expressão.</span></div>
<div class="yiv7138328548yui_3_13_0_ym1_1_1394630299491_23456" style="font-style: normal; font-size: 13.63636302947998px; background-color: transparent; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"><span><br clear="none"></span></div><div class="yiv7138328548yui_3_13_0_ym1_1_1394630299491_23457" style="font-style: normal; font-size: 13.63636302947998px; background-color: transparent; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;">
<span> Ex: "2 * 3" me apresenta como resultado 5.</span></div><div class="yiv7138328548yui_3_13_0_ym1_1_1394630299491_23458" style="font-style: normal; font-size: 13.63636302947998px; background-color: transparent; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;">
<span><br clear="none"></span></div><div class="yiv7138328548yui_3_13_0_ym1_1_1394630299491_23459" style="font-style: normal; font-size: 13.63636302947998px; background-color: transparent; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"><span> "42 + 7" me apresenta como resultado 49.</span></div>
<div class="yiv7138328548yui_3_13_0_ym1_1_1394630299491_23460" style="font-style: normal; font-size: 13.63636302947998px; background-color: transparent; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"><span><br clear="none"></span></div><div class="yiv7138328548yui_3_13_0_ym1_1_1394630299491_23461" style="font-style: normal; font-size: 13.63636302947998px; background-color: transparent; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;">
<span>Existe alguma função para isto?</span></div><div class="yiv7138328548yui_3_13_0_ym1_1_1394630299491_23462" style="font-style: normal; font-size: 13.63636302947998px; background-color: transparent; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;">
<span><br clear="none"></span></div><div class="yiv7138328548yui_3_13_0_ym1_1_1394630299491_23463" style="font-style: normal; font-size: 13.63636302947998px; background-color: transparent; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"><span>Agradeço a quem puder me
ajudar.</span></div><span class="yiv7138328548HOEnZb"><font color="#888888"></font></span><div></div><div> </div><div><span class="yiv7138328548yui_3_13_0_ym1_1_1394630299491_23464" style="color: rgb(0, 0, 255); font-style: italic; font-weight: bold; font-family: 'times new roman', 'new york', times, serif;">Waldelene Moura</span><br clear="none" class="yiv7138328548yui_3_13_0_ym1_1_1394630299491_23465" style="color: rgb(0, 0, 255); font-style: italic; font-family: 'times new roman', 'new york', times, serif;">
<span class="yiv7138328548yui_3_13_0_ym1_1_1394630299491_23466" style="color: rgb(0, 0, 255); font-style: italic; font-family: 'times new roman', 'new york', times, serif;">Analista de Sistemas</span><br clear="none" class="yiv7138328548yui_3_13_0_ym1_1_1394630299491_23467" style="color: rgb(0, 0, 255); font-style: italic; font-family: 'times new roman', 'new york', times, serif;">
<span class="yiv7138328548yui_3_13_0_ym1_1_1394630299491_23468" style="color: rgb(0, 0, 255); font-style: italic; font-family: 'times new roman', 'new york', times, serif;">Universidade Federal do Maranhão - PROEN</span><br clear="none" class="yiv7138328548yui_3_13_0_ym1_1_1394630299491_23469" style="color: rgb(0, 0, 255); font-style: italic; font-family: 'times new roman', 'new york', times, serif;">
</div><div class="yiv7138328548yui_3_13_0_ym1_1_1394630299491_23470" style="font-family: 'times new roman', 'new york', times, serif; font-style: italic;"><font color="#0000ff"> </font></div></div></div></div><br clear="none">_______________________________________________<br clear="none">
R-br mailing list<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:R-br@listas.c3sl.ufpr.br" target="_blank" href="mailto:R-br@listas.c3sl.ufpr.br">R-br@listas.c3sl.ufpr.br</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br">https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br</a><br clear="none">
Leia o guia de postagem (<a rel="nofollow" shape="rect" target="_blank" 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.<br clear="none"></blockquote></div><br clear="none"></div></div></div><br clear="none"><br clear="none"></div> </div> </div> </div></div> </div></div></div></div></body></html>