Tal Galili
2011-Sep-19 14:25 UTC
[R] openPage in the {hwriter} package - reverses Hebrew text
Hello dear R help members, I am playing with the hwriter <http://www.ebi.ac.uk/~gpau/hwriter/> package in the purpose of creating HTML output in the Hebrew language. I ran into a basic problem: When I use the openPage command (from the {hwriter} package) the Hebrew text I try to add to the HTML file is reversed. # Here is a basic example of the problem: library("hwriter") p = openPage('test.html', dirname=getwd(), charset = "iso8859-8", lang = "he") txt <- "א ב ג ד ה ו ז ח" cat(txt, file = p) closePage(p) # I know that the problem is not caused by cat since using: cat(txt, file = "temp.txt") # Will output the Hebrew text in the correct order Thank you for any help or suggestion, Tal ----------------Contact Details:------------------------------------------------------- Contact me: Tal.Galili@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]]