<html><body><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></body></html>