title: Failed to compile test.tex. See https://yihui.name/tinytex/r/#debugging for debugging tips. See test.log for more info. Execution halted
body: <pre><code>output file: test.knit.md
  
  ! pdflatex: warning: running with administrator privileges
  
  ! Sorry, but C:\Users\jjw11\AppData\Local\Programs\MIKTEX~1.9\miktex\bin\x64\pdflatex.exe did not succeed.
  
  ! The log file hopefully contains the information to get MiKTeX going again:
  
  !   C:\Users\jjw11\AppData\Local\MiKTeX\2.9\miktex\log\pdflatex.log
  
  Error: Failed to compile test.tex. See https://yihui.name/tinytex/r/#debugging for debugging tips. See test.log for more info.
  Execution halted
  </code></pre>
  
  <p>I got this error message while I was trying to generate pdf file using r markdown.</p>
  
  <p>How can I solve this? I installed tinytex using install.packages("tinytex")</p>
  
  <p>I also tried tinytex::reinstall_tinytex(). But I got this error message</p>
  
  <pre><code>tinytex::reinstall_tinytex()
  Error in system2("tlmgr", args, ...) : '"tlmgr"' not found
  In addition: Warning message:
  In tlmgr(c("info", "--list", "--only-installed", "--data", field,  :
    TeX Live does not seem to be installed. See https://yihui.name/tinytex/.
  </code></pre>
  
  <p>I installed tinytex using "tinytex::install_tinytex()".</p>
  
  <p>When I installed tinytex using "tinytex::install_tinytex()", I got warning which implies other Latex distribution was already installed. </p>
  
  <p>I tried to generate pdf file after I installed tinytex using "tinytex::install_tinytex()".</p>
  
  <p>But this time I got this error message.</p>
  
  <pre><code>output file: test.knit.md
  
  "C:/PROGRA~1/Pandoc/pandoc" +RTS -K512m -RTS test.utf8.md --to latex --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash --output test.tex --template "C:\PROGRA~1\R\R-35~1.3\library\RMARKD~1\rmd\latex\DEFAUL~3.TEX" --highlight-style tango --pdf-engine pdflatex --variable graphics=yes --variable "geometry:margin=1in" --variable "compact-title:yes" 
  ! Package inputenc Error: Unicode character ??(U+B144)
  (inputenc)                not set up for use with LaTeX.
  
  Try other LaTeX engines instead (e.g., xelatex) if you are using pdflatex. For R Markdown users, see https://bookdown.org/yihui/rmarkdown/pdf-document.html
  Error: Failed to compile test.tex. See https://yihui.name/tinytex/r/#debugging for debugging tips. See test.log for more info.
  In addition: Warning message:
  In grepl("==&gt; Fatal error occurred", x[i], fixed = TRUE) :
    input string 1 is invalid in this locale
  Execution halted
  </code></pre>
  
  <p>Do I have to uninstall other Latex distributions?</p>
  
  <p>Then, how can I uninstall other Latex distributions? </p>