<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Carol, não entendo muita coisa de ler direto do Access no R, mas
    quando dá erro parecido com este em algo que estou fazendo, a 1ª
    coisa que faço é exportar a tabela pra CSV e ler no R com read.csv.<br>
    <br>
    dê um ?read.csv e vc verá que existe como informar o tipo de dados
    de cada coluna, isso vai te facilitar muito a vida.<br>
    <pre class="moz-signature" cols="72">[]s
Leonard de Assis
assis <dot> leonard <at> gmail <dot> com
</pre>
    <br>
    Em 20/06/2012 11:32, Carolina Pena escreveu:
    <blockquote
      cite="mid:1340202770.37102.YahooMailNeo@web140901.mail.bf1.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff; font-family:times
        new roman, new york, times, serif;font-size:12pt">
        <div style="font-family: 'times new roman', 'new york', times,
          serif; font-size: 12pt; ">Olá pessoal, </div>
        <div style="font-family: 'times new roman', 'new york', times,
          serif; font-size: 12pt; "><br>
        </div>
        <div style="font-family: 'times new roman', 'new york', times,
          serif; font-size: 12pt; ">Estou lendo no R um arquivo ACCESS
          com diversas tabelas. Eu transformo cada uma das tabelas em um
          data.frame para trabalhar. O problema, no entanto, é que ao
          tentar fazer a transformação de uma das tabelas eu obtive o
          seguinte erro:</div>
        <div style="font-family: 'times new roman', 'new york', times,
          serif; font-size: 12pt; "><br>
        </div>
        <div><font face="times new roman, new york, times, serif"
            size="3">></font><font face="times new roman, new york,
            times, serif">con <- odbcConnectAccess(file.choose())</font></div>
        <div><span style="font-family: 'times new roman', 'new york',
            times, serif; ">> sqlFetch(con, banco1 )</span><br>
        </div>
        <div>
          <div><span style="font-weight: bold;"><font face="times new
                roman, new york, times, serif">Erro em
                as.POSIXlt.character(x, tz, ...) : </font><span
                style="font-family: 'times new roman', 'new york',
                times, serif; "> character string is not in a standard
                unambiguous format</span></span></div>
          <div><font face="times new roman, new york, times, serif"><br>
            </font></div>
          <div><font face="times new roman, new york, times, serif">Uma
              das colunas do meu banco de dados (banco1) é uma <span
                style="text-decoration: underline;">data</span> no
              formato brasileiro (dd/mm/YYYY). Eu li no google que o
              erro ocorre por causa do formato da data. Inclusive quando
              deleto essa coluna da base de dados o comando funciona
              normalmente. </font></div>
          <div><font face="times new roman, new york, times, serif">Eu
              gostaria de saber se consigo acessar no próprio R essa
              coluna (antes de transformar os dados em data.frame
              utilizando o comando sqlFetch) e utilizar o comando
              as.Date para tentar solucionar o problema. </font></div>
          <div><font face="times new roman, new york, times, serif"><br>
            </font></div>
          <div><span style="font-family: 'times new roman', 'new york',
              times, serif;">Obrigada! </span></div>
          <div><span style="font-family: 'times new roman', 'new york',
              times, serif;"><br>
            </span></div>
          <div><span style="font-family: 'times new roman', 'new york',
              times, serif;">Carolina</span></div>
        </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>
  </body>
</html>