Re: [R] How to read.table with “Hebrew” column names (in R)?

2010-03-19 Thread Tal Galili
Thanks Petr. This is my sessionInfo() R version 2.10.1 (2009-12-14) i386-pc-mingw32 locale: [1] LC_COLLATE=Hebrew_Israel.1255 LC_CTYPE=Hebrew_Israel.1255 [3] LC_MONETARY=Hebrew_Israel.1255 LC_NUMERIC=C [5] LC_TIME=Hebrew_Israel.1255 attached base packages: [1] stats graphics grDevices uti

Re: [R] How to read.table with “Hebrew” column names (in R)?

2010-03-19 Thread Tal Galili
Hello William, Ista and other R-help members, The code you suggested: read.table("http://www.talgalili.com/files/aa.txt",encoding="UTF-8"; ,check.names=FALSE, header = T, sep = "\t") Works for me the same way it does for you: I can read the data in (finally!), but some of the ways for using it fai

Re: [R] How to read.table with “Hebrew” column names (in R)?

2010-03-19 Thread Tal Galili
Hi William. (Thanks to Petr Pikal) Please try: Sys.setlocale("LC_ALL", "Hebrew") # And a<- read.table("http://www.talgalili.com/files/aa.txt",encoding="UTF-8"; ,check.names=FALSE, header = T, sep = "\t") # Notice the use of encoding a And let me know if that works... The only question I ha

Re: [R] How to read.table with “Hebrew” column names (in R)?

2010-03-18 Thread Ista Zahn
characters in each name and the names in the line), which I > why I showed a subset of the names and a substring of the first name. > > However, when I try to use lm() with this data.frame then I run into > trouble, which is probably the same problem as I see in the > data.fra

[R] How to read.table with “Hebrew” column names (in R)?

2010-03-18 Thread Tal Galili
(I am reposting this question after a few months without a solution...) Hi all, I am trying to read a .txt file, with Hebrew column names, but without success. I uploaded an example file to: http://www.talgalili.com/files/aa.txt And tried the command: read.table("http://www.talgalili.com/file