Thanks Milton, But your solution would work for a one time problem, but in case I'd have a variable with Hebrew in it, or many files to process then your solution wouldn't scale up.
Thanks anyway :) Tal ----------------Contact Details:------------------------------------------------------- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | www.r-statistics.com/ (English) ---------------------------------------------------------------------------------------------- On Sat, Jan 2, 2010 at 12:34 AM, milton ruser <milton.ru...@gmail.com>wrote: > Hi Tal, > > You want the colnames in hebrew? Case not, may be you > can use colnames() to attrib new colnames. > > bests > > milton > > On Fri, Jan 1, 2010 at 4:47 PM, Tal Galili <tal.gal...@gmail.com> wrote: > >> Hello dear R help group, >> >> I am trying to read a .txt file, with Hebrew column names, while keeping >> the >> column names looking well in R - but without success. >> >> I uploaded an example file to: >> http://www.talgalili.com/files/aa.txt >> >> And am trying the command: >> read.table("http://www.talgalili.com/files/aa.txt", header = T, sep = >> "\t") >> >> This returns me with: >> >> X.....ª X...ª...... X...Å.... >> 1 12 97 6 >> 2 123 354 44 >> 3 6 1 3 >> >> Instead of: >> >> ××ת שת××× ×©××ש >> 12 97 6 >> 123 354 44 >> 6 1 3 >> >> >> Any suggestion or clarification will be appreciated. >> >> Best, >> Tal >> >> >> >> >> >> >> >> ----------------Contact >> Details:------------------------------------------------------- >> Contact me: tal.gal...@gmail.com | 972-52-7275845 >> Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | >> www.r-statistics.com/ (English) >> >> ---------------------------------------------------------------------------------------------- >> >> [[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<http://www.r-project.org/posting-guide.html> >> and provide commented, minimal, self-contained, reproducible code. >> >> > [[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.