You've tried this?

out <- read.zoo("log2.log", encoding="UCS-2LE", FUN = as.chron)

On Wed, Jul 7, 2010 at 10:16 AM, Sebastian Kruk <residuo.so...@gmail.com>wrote:

> I have a text file log2.log encoded Ansi in Windows.
>
> When I execute:
>
> out <- read.zoo(readLines(con <- file("log2.log",
> encoding="UCS-2LE")),FUN = as.chron)
>
> have errors:
>
> Error en file(file, "rt") : no se puede abrir la conexión
> Además: Mensajes de aviso perdidos
> 1: In file(file, "rt") :
>  sólo fue usado el primer elemento del argumento 'description'
> 2: In file(file, "rt") :
>  no fue posible abrir el archivo '#Software: Microsoft Internet
> Information Services 5.0': No such file or directory
>
> Why?
>
> Thks,
>
> Sebastián.
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to