<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Lucida Console";
        panose-1:2 11 6 9 4 5 4 2 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang=ES link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Estimado Javier Valdes Cantallopts</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Yo no utilizo libridate, luego de tener muchos inconvenientes con las fechas encontré una forma que dejo de darme dolores de cabeza, básicamente utilizo strptime.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> <a href="https://stat.ethz.ch/R-manual/R-devel/library/base/html/strptime.html">https://stat.ethz.ch/R-manual/R-devel/library/base/html/strptime.html</a></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Es algo más de código pero en mi caso anda (me encontré con código que andaba en la prueba pero no en la producción, strptime no dio inconveniente).</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Javier Rubén Marcuzzi</p><p class=MsoNormal><o:p> </o:p></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='border:none;padding:0cm'><b>De: </b><a href="mailto:javier.valdes@mop.gov.cl">Javier Valdes Cantallopts (DGA)</a><br><b>Enviado: </b>jueves, 1 de junio de 2017 16:55<br><b>Para: </b><a href="mailto:cgb@datanalytics.com">Carlos J. Gil Bellosta </a><br><b>CC: </b><a href="mailto:r-help-es@r-project.org">r-help-es@r-project.org</a><br><b>Asunto: </b>Re: [R-es] errores con openair</p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=ES-CL style='color:#1F497D'>Al parecer está bien el formato, lo trabajé con <b>lubridate..<o:p></o:p></b></span></p><p class=MsoNormal style='line-height:11.6pt;background:#002240;word-break:break-all'><span lang=ES-CL style='font-size:10.0pt;font-family:"Lucida Console";color:#FF9D00'>> str(TOTAL$fecha)<o:p></o:p></span></p><p class=MsoNormal style='line-height:11.6pt;background:#002240;word-break:break-all'><span lang=ES-CL style='font-size:10.0pt;font-family:"Lucida Console";color:white'>POSIXct[1:131478], format: "2014-01-24 04:10:00" "2014-01-24 04:20:00" "2014-01-24 04:30:00" .<o:p></o:p></span></p><p class=MsoNormal><span lang=ES-CL style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=ES-CL style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=ES-CL style='color:#1F497D'><img border=0 width=439 height=129 style='width:4.5729in;height:1.3437in' id="Imagen_x0020_1" src="cid:image001.png@01D2DAEF.9A005E40" alt="Descripción: FIRMA3"></span><span lang=ES-CL style='color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span lang=ES-CL style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma",sans-serif'>De:</span></b><span style='font-size:10.0pt;font-family:"Tahoma",sans-serif'> gilbellosta@gmail.com [mailto:gilbellosta@gmail.com] <b>En nombre de </b>Carlos J. Gil Bellosta <br><b>Enviado el:</b> jueves, 01 de junio de 2017 15:51<br><b>Para:</b> Javier Valdes Cantallopts (DGA)<br><b>CC:</b> r-help-es@r-project.org<br><b>Asunto:</b> Re: [R-es] errores con openair<o:p></o:p></span></p><p class=MsoNormal><span lang=ES-CL style='font-family:"Times New Roman",serif'><o:p> </o:p></span></p><div><p class=MsoNormal><span lang=ES-CL style='font-family:"Times New Roman",serif'>Revisa el formato de tus fechas.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=ES-CL style='font-family:"Times New Roman",serif'><o:p> </o:p></span></p><div><p class=MsoNormal><span lang=ES-CL style='font-family:"Times New Roman",serif'>El 1 de junio de 2017, 21:46, Javier Valdes Cantallopts (DGA) <<a href="mailto:javier.valdes@mop.gov.cl" target="_blank">javier.valdes@mop.gov.cl</a>> escribió:<o:p></o:p></span></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Times New Roman",serif'>Estimados como les va.</span><span lang=ES-CL style='font-family:"Times New Roman",serif'><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Times New Roman",serif'> </span><span lang=ES-CL style='font-family:"Times New Roman",serif'><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=ES-CL style='font-family:"Times New Roman",serif'>He tratado de profundizar sobre el paquete OPENAIR PARA MANEJO DE DATOS. Sin embargo, cada cosa que intento hacer, por muy pequeña que sea, me tira este error. En definitiva, no he podido hacer absolutamente nada¡¡<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=ES-CL style='font-family:"Times New Roman",serif'>He probado de todo, pero ya me estoy aburriendo, a pesar que al parecer es una muy buena herramienta.<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=ES-CL style='font-family:"Times New Roman",serif'>Saludos.<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=ES-CL style='font-family:"Times New Roman",serif'> <o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:11.6pt;background:#002240;word-break:break-all'><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console";color:#FF628C'>Error in as.POSIXct.default(x) : </span><span lang=ES-CL style='font-family:"Times New Roman",serif'><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:11.6pt;background:#002240;word-break:break-all'><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console";color:#FF628C'>  do not know how to convert 'x' to class “POSIXct”</span><span lang=ES-CL style='font-family:"Times New Roman",serif'><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:11.6pt;background:#002240;word-break:break-all'><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console";color:#FF628C'>In addition: Warning message:</span><span lang=ES-CL style='font-family:"Times New Roman",serif'><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:11.6pt;background:#002240;word-break:break-all'><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console";color:#FF628C'>In <a href="http://is.na" target="_blank">is.na</a>(mydata$date) :</span><span lang=ES-CL style='font-family:"Times New Roman",serif'><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:11.6pt;background:#002240;word-break:break-all'><span lang=EN-US style='font-size:10.0pt;font-family:"Lucida Console";color:#FF628C'>  <a href="http://is.na" target="_blank">is.na</a>() applied to non-(list or vector) of type 'NULL'</span><span lang=ES-CL style='font-family:"Times New Roman",serif'><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-family:"Times New Roman",serif'> </span><span lang=ES-CL style='font-family:"Times New Roman",serif'><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=ES-CL style='font-family:"Times New Roman",serif'><img border=0 width=439 height=129 style='width:4.5729in;height:1.3437in' id="m_6140566870672890181Imagen_x0020_1" src="cid:image001.png@01D2DAEF.9A005E40" alt="Descripción: FIRMA3"></span><span lang=ES-CL style='font-family:"Times New Roman",serif'><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=ES-CL style='font-family:"Times New Roman",serif'> <o:p></o:p></span></p></div><p class=MsoNormal><span lang=ES-CL style='font-family:"Times New Roman",serif'><o:p> </o:p></span></p><p class=MsoNormal align=center style='text-align:center'><span lang=ES-CL style='font-size:12.0pt;font-family:"Times New Roman",serif'><img border=0 width=708 height=2 style='width:7.375in;height:.0208in' id="Horizontal_x0020_Line_x0020_3" src="cid:image004.png@01D2DAF8.D1308C10"></span><span lang=ES-CL style='font-size:12.0pt;font-family:"Times New Roman",serif'><o:p></o:p></span></p><p class=MsoNormal><span lang=ES-CL style='font-size:7.5pt;font-family:"Arial",sans-serif;color:gray'><br>CONFIDENCIALIDAD: La información contenida en este mensaje y/o en los archivos adjuntos es de carácter confidencial o privilegiada y está destinada al uso exclusivo del emisor y/o de la persona o entidad a quien va dirigida. Si usted no es el destinatario, cualquier almacenamiento, divulgación, distribución o copia de esta información está estrictamente prohibido y sancionado por la ley. Si recibió este mensaje por error, por favor infórmenos inmediatamente respondiendo este mismo mensaje y borre todos los archivos adjuntos. Gracias.<br><br>CONFIDENTIAL NOTE: The information transmitted in this message and/or attachments is confidential and/or privileged and is intented only for use of the person or entity to whom it is addressed. If you are not the intended recipient, any retention, dissemination, distribution or copy of this information is strictly prohibited and sanctioned by law. If you received this message in error, please reply us this same message and delete this message and all attachments. Thank you.</span><span lang=ES-CL style='font-family:"Times New Roman",serif'><o:p></o:p></span></p></div><p class=MsoNormal><span lang=ES-CL style='font-family:"Times New Roman",serif'><br>_______________________________________________<br>R-help-es mailing list<br><a href="mailto:R-help-es@r-project.org">R-help-es@r-project.org</a><br><a href="https://stat.ethz.ch/mailman/listinfo/r-help-es" target="_blank">https://stat.ethz.ch/mailman/listinfo/r-help-es</a><o:p></o:p></span></p></div><p class=MsoNormal><span lang=ES-CL style='font-family:"Times New Roman",serif'><o:p> </o:p></span></p></div><p class=MsoNormal><span lang=ES-CL style='font-size:12.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span lang=ES-CL style='font-size:12.0pt'><img border=0 width=708 height=1 style='width:7.375in;height:.0104in' id="Horizontal_x0020_Line_x0020_4" src="cid:image005.png@01D2DAF8.D1308C10"></span><span lang=ES-CL style='font-size:12.0pt'><o:p></o:p></span></p><p class=MsoNormal><span lang=ES-CL style='font-size:7.5pt;font-family:"Arial",sans-serif;color:gray'><br>CONFIDENCIALIDAD: La información contenida en este mensaje y/o en los archivos adjuntos es de carácter confidencial o privilegiada y está destinada al uso exclusivo del emisor y/o de la persona o entidad a quien va dirigida. Si usted no es el destinatario, cualquier almacenamiento, divulgación, distribución o copia de esta información está estrictamente prohibido y sancionado por la ley. Si recibió este mensaje por error, por favor infórmenos inmediatamente respondiendo este mismo mensaje y borre todos los archivos adjuntos. Gracias.<br><br>CONFIDENTIAL NOTE: The information transmitted in this message and/or attachments is confidential and/or privileged and is intented only for use of the person or entity to whom it is addressed. If you are not the intended recipient, any retention, dissemination, distribution or copy of this information is strictly prohibited and sanctioned by law. If you received this message in error, please reply us this same message and delete this message and all attachments. Thank you.</span><span lang=ES-CL style='font-size:12.0pt'><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Times New Roman",serif'><o:p> </o:p></span></p></div></body></html>