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.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 and provide commented, minimal, self-contained, reproducible code.