library(shiny)
library(knitr)ui <- fluidPage(titlePanel("testing for error"),sidebarPanel(textInput(inputId = "year",label = "Year",placeholder = "2018")),mainPanel(uiOutput("report")))server <- function(input, output) {output$report <- renderUI({year <- input$yearrmdfiles <- c("C:\\Users\\ge_a\\Desktop\\test\\report_test.Rmd")knitr::knit2pandoc(input = rmdfiles,encoding = "UTF-8",quiet = TRUE)includeMarkdown("C:\\Users\\ge_a\\Desktop\\test\\report_test.md")})}shinyApp(ui = ui, server = server)
---
title: "Test"author: "Abe"date: "August 20, 2018"output: html_document---<style>h1 {direction: rtl;}p {direction: rtl;color: #000000;font-size: 14px;}</style>ืืฉื ื ืฉืื ื ืืื: `r year`
library(shiny)
Sys.setlocale("LC_ALL","hebrew")runApp('C:/Users/ge_a/Desktop/test',launch.browser = TRUE)
"C:\Program Files\R\R-3.4.2\bin\R.exe" CMD BATCH "run.r"
ืื ื ืืฆืจืฃ ืืช ืืคืื ืฉื sessionInfo ืื ืจืืืชื ืฉืื ืขืืืจ ืืื ืฉืื ืืืืื ืขื ืืืื ืืขืจืืช ืื ื ืืฉืชืืฉ.
R version 3.4.2 (2017-09-28)
Platform: x86_64-w64-mingw32/x64 (64-bit)Running under: Windows >= 8 x64 (build 9200)Matrix products: defaultlocale:[1] LC_COLLATE=Hebrew_Israel.1255 LC_CTYPE=Hebrew_Israel.1255 LC_MONETARY=Hebrew_Israel.1255 LC_NUMERIC=C[5] LC_TIME=Hebrew_Israel.1255attached base packages:[1] stats graphics grDevices utils datasets methods baseother attached packages:[1] bindrcpp_0.2 shiny_1.0.5 DT_0.2 gridExtra_2.3 shinyBS_0.61 XLConnect_0.2-13[7] XLConnectJars_0.2-13 reshape2_1.4.3 dplyr_0.7.4 ggplot2_2.2.1 readxl_1.0.0loaded via a namespace (and not attached):[1] Rcpp_0.12.16 cellranger_1.1.0 pillar_1.2.1 compiler_3.4.2 plyr_1.8.4 bindr_0.1 tools_3.4.2 digest_0.6.15[9] evaluate_0.10.1 jsonlite_1.5 tibble_1.4.2 gtable_0.2.0 pkgconfig_2.0.1 rlang_0.2.0.9001 yaml_2.1.14 rJava_0.9-8[17] stringr_1.2.0 knitr_1.20 htmlwidgets_1.2 rprojroot_1.2 grid_3.4.2 glue_1.1.1 R6_2.2.2 rematch_1.0.1[25] rmarkdown_1.6 magrittr_1.5 backports_1.1.1 scales_0.5.0.9000 htmltools_0.3.6 assertthat_0.2.0 mime_0.5 colorspace_1.3-2[33] xtable_1.8-2 httpuv_1.3.5 stringi_1.1.5 lazyeval_0.2.1 munsell_0.4.3 markdown_0.8
--
You received this message because you are subscribed to the Google Groups "Israel R User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to israel-r-user-g...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
knitr::knit2pandoc(input = rmdfiles,encoding = "UTF-8",quiet = TRUE)
includeMarkdown("C:\\Users\\ge_a\\Desktop\\test\\report_test.md")
HTML(markdown::markdownToHTML(knit(
rmdfiles, quiet = TRUE, encoding = "UTF-8")))
path %PATH%;c:\program files\rstudio\bin\pandoc
--
You received this message because you are subscribed to a topic in the Google Groups "Israel R User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/israel-r-user-group/QrXq-ZZoyag/unsubscribe.
To unsubscribe from this group and all its topics, send an email to israel-r-user-g...@googlegroups.com.