I’ve been trying to figure out a way to make synctex work but I could not find any help anywhere else. RStudio documentation seems old in this case (https://support.rstudio.com/hc/en-us/articles/200552066-PDF-Preview-and-SyncTeX) and was not particularly helpful for my problem.
The Global Options “Always enable Rnw concordance” is marked. I tried using Evince and the Rstudio Preview, but synctex does not work in both cases. I realized that maybe this has to do with the fact that the option “Clean auxiliary output after compile” is marked, but when I tried to leave it unchecked, the files are still been deleted (I’m not using any make file or build option, just using the Knit button in the IDE).
Am I missing something important? Any suggestion?
Version 1.0.153 – © 2009-2017 RStudio, Inc.
Mozilla/5.0 (X11; N; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) RStudio Safari/538.1 Qt/5.4.2
R version 3.4.1 (2017-06-30)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04.3 LTS
Matrix products: default
 LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
 LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=C
 LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
 stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
 compiler_3.4.1 backports_1.1.0 bookdown_0.5 magrittr_1.5 rprojroot_1.2 htmltools_0.3.6 tools_3.4.1
 yaml_2.1.14 Rcpp_0.12.12 stringi_1.1.5 rmarkdown_1.6 knitr_1.17 stringr_1.2.0 digest_0.6.12