New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tinytex from AWS EC2 Windows Server #326
Comments
The easiest things you can do is not install the daily version but the latest release tinytex::install_tinytex(version = "latest") In this case, it will download from github release page in tinytex-release repo. Maybe github.com is easier to whitelist in your case. Also know that you can do manual install
This should not require internet access. However if you want to install CTAN package to render you document, you need also to have internet access to a CTAN mirror. The bundle Hope it helps |
Thanks @cderv for your help! I tried each option but it did not work for me. I tried
And when I try:
Is there something I can do to solve this issue? Thank guys! |
tinytex::install_tinytex(version = "latest") requires that you get an internet connection to have the last github release fetch. xfun::github_releases("yihui/tinytex-releases", "latest") This reaches About tinytex:::install_prebuilt(pkg = "~/Desktop/TinyTeX.zip") In seems that unzipping did not work. You add an error. I don't know why. You can try Can you open the zip file on your system ? |
Which is weird is that I can reach https://github.com using Chrome that I installed on the EC2 Windows but it fails when I try to reach github through this command: xfun::github_releases("yihui/tinytex-releases", "latest") About tinytex:::install_prebuilt(pkg = "~/Desktop/TinyTeX.zip") I can unzip and open outside RStudio and it is weird but as soon as I replace the The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified. |
I just fixed that issue.
You can ignore this message if |
Hi @yihui
In the Thanks! |
I don't know why that could be possible. Could you check if file.exists(r"(D:\Users\PA011661\AppData\Roaming\TinyTeX\bin\win32\fmtutil.exe)")
# should return TRUE
tinytex:::fmtutil()
# should return a long log with the last line being
# fmtutil [INFO]: exiting with status 0
You can ignore that. RStudio is unable to detect LaTeX when it's not added to the PATH variable. It seems in your environment, you don't have the privilege to edit the PATH variable, otherwise this should suceed: (tinytex::tlmgr_path()) # should return 0 |
I have just re-installed the TinyTex from the .zip file and it works!!! Finally! |
Great! If you want to specify a specific CTAN mirror, you can use |
…0.34 Christophe Dervieux (1): quote the `--data` argument for `tl_sizes()` (#330) Yihui Xie (4): start the next version expand ~ in the package path: rstudio/tinytex#326 (comment) amscls is newly required CRAN release v0.34
Hi,
I use RStudio from an AWS EC2 Windows Server. To get .pdf file from my rmarkdown I tried to install MiKTeX on my EC2 and faced some issues, so I decided to try the tinytex solution. I correctly installed the tinytex package but I had some trouble to install tinytex from it. For your info, following security reasons only selected websites are whitelisted. So to be able to install tinytex I asked for whitelisting:
yihui.org
miktex.org
ci.appveyor.com
www.ctan.org
but I still can't get tinytex installed on my EC2 Windows. I also downloaded separately TinyTeX.zip to install it but
tinytex:::install_windows_zip()
is not available anymore.When I try
tinytex::install_tinytex()
I got the following error:I am not sure to understand the error message, should I ask for whitelisting another websites?
For information, some insights related to my R config:
Thanks in advance for any assistance on that as I got no solution for my issue:
https://community.rstudio.com/t/tinytex-from-ec2-windows/112053
https://stackoverflow.com/questions/68708561/r-markdown-tinytex-install-mirrors-aws-ec2-windows
Mhd
By filing an issue to this repo, I promise that
xfun::session_info('tinytex')
. I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version:remotes::install_github('yihui/tinytex')
.I understand that my issue may be closed if I don't fulfill my promises.
The text was updated successfully, but these errors were encountered: