i built function r markdown creates report in word (in hebrew), report comes out hebrew, symbols , numbers comes out formatted english. makes document inconsistent through entire document.
an example of r markdown code follows:
--- title: "3.5.17" fig.align: "right" output: word_document: reference_docx: desin_word_documents.docx params: n: na konan: na --- ```{r example, include=false} eg_heb <- "שלום עולם" num_heb <- 123 sym_heb <- "!" ``` בתכנות נוהגים לתת לתלמידים כמשימה ראשונה להדפיס על המסך את הביטוי ```r eg_heb``` לעיתים עם הסימן ```r sym_heb``` או עם המספרים ```r num_heb```
i know direction of text reverse, that's okay, solved it, , in end of code comes out okay.
also, didn't include "params" in example is included in original code.
i work with:
r version 3.3.3 (2017-03-06) platform: x86_64-w64-mingw32/x64 (64-bit) running under: windows >= 8 x64 (build 9200) locale: [1] lc_collate=hebrew_israel.1255 lc_ctype=hebrew_israel.1255 lc_monetary=hebrew_israel.1255 lc_numeric=c lc_time=hebrew_israel.1255 other attached packages: [1] shiny_1.0.0 gridextra_2.2.1 reporters_0.8.8 reportersjars_0.0.2 shinybs_0.61 xlconnect_0.2-12 [7] xlconnectjars_0.2-12 reshape2_1.4.2 dplyr_0.5.0 ggplot2_2.2.1 xlsx_0.5.7 xlsxjars_0.6.1 [13] rjava_0.9-8 readxl_0.1.1
i tried attach document showing problem, since wasn't able to, if interested i'll send him word document problem.
i suspect problem in formatting in word or in encoding into word
thank in advance,
aharon.
Comments
Post a Comment