Re: [R] rmarkdown and source call to R file.

2021-01-22 Thread Georgios via R-help
Thanks all of you for your answers. I managed to solve it after all. I was looking at the wrong place. It was an argument on the server.R. On Fri, 2021-01-22 at 09:17 -0600, Yihui Xie wrote: > I don't know the answer (there are multiple possible reasons for the > file not being found), but as the

Re: [R] rmarkdown and source call to R file.

2021-01-22 Thread Yihui Xie
I don't know the answer (there are multiple possible reasons for the file not being found), but as the first step to debug the problem, you may replace this chunk ```{r, echo=FALSE} library(knitr) source("helper.R", local = knitr::knit_global()) summarized_table<-give_table(params$ldf_sum

Re: [R] rmarkdown and source call to R file.

2021-01-22 Thread John Kane
You would be better to try https://community.rstudio.com. Shiny is basically Tidyverse/Rstudio item and there will be a lot more expertise there. On Fri, 22 Jan 2021 at 02:02, Georgios via R-help wrote: > Hi! > I'm new in R and this list. > I made a shiny app using R studio. > my files are: >

Re: [R] rmarkdown and source call to R file.

2021-01-21 Thread Jeff Newmiller
This is off topic here... please read the Posting Guide about getting help on contributed packages. Check out the RStudio forums. FWIW you should also look carefully at ?knitr::knit_global ... I don't think it does what you seem to think it does. On January 21, 2021 10:49:17 PM PST, Georgios v

[R] rmarkdown and source call to R file.

2021-01-21 Thread Georgios via R-help
Hi! I'm new in R and this list. I made a shiny app using R studio. my files are: -server.R -ui.R -helper.R -Report.Rmd. All the files are on the same directory and helper.R is a file that contains a lot of functions used in Report.Rmd and server.R for some reason I cant call from Repo