I'm trying to create a folder with : R + rmarkdown + PANDOC + MiKteX, which I could move from computer to computer and allows the user to generate a PDF from a standard Rmd file with parameters. I'm on Windows.
So far I have successfully downloaded "R-Portable" and ran an R script from it. I've also download pandoc but I don't know how to specify to R / rmarkdown in which folder it should go to access "pandoc.exe". Any idea on this point ?
I've seen the global environment variable "RSTUDIO_PANDOC" but I don't have (and don't want) RStudio in this special scenario.
Then I will probably need the same info for MiKteX : how to specify to R / rmarkdown where to find the proper version of MiKteX ?
Any advice is welcome and if you have ever encountered the same kind of situation, I would be happy to have your input. Thanks !