Dear Gretl Developers,
I think I found a problem with accented path or directory names using R and Gretl. Look at
the simple code:
<hansl>
nulldata 1
# Works fine when the directory has
# no accented filename ("Teste")
foreign=R
nome_da_serie <-
file("C:/Users/henrique/Documents/gretl/Teste/Nome.txt")
nome_da_serie <- readLines(nome_da_serie, n = 1)
nome_da_serie
end foreign
# Doesn't work when the directory
# has accented filename ("Téstê")
# Gretl freezes
foreign=R
nome_da_serie <-
file("C:/Users/henrique/Documents/gretl/Téstê/Nome.txt")
nome_da_serie <- readLines(nome_da_serie, n = 1)
nome_da_serie
end foreign
# Doesn't work when the file
# doesn't exist ("Name.txt")
# Gretl freezes
foreign=R
nome_da_serie <-
file("C:/Users/henrique/Documents/gretl/Teste/Name.txt")
nome_da_serie <- readLines(nome_da_serie, n = 1)
nome_da_serie
end foreign
</hansl>
Using the commands directly on R works fine.
Best regards,
Henrique
Enviado via iPhone