Skip to content
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

win10,在Rstudio里怎么运行啊?配置好后运行报错 #4

Open
pubTools opened this issue Jun 11, 2019 · 14 comments
Open

win10,在Rstudio里怎么运行啊?配置好后运行报错 #4

pubTools opened this issue Jun 11, 2019 · 14 comments

Comments

@pubTools
Copy link

No description provided.

@pubTools
Copy link
Author

image

@bubifengyun
Copy link
Owner

能不能把错误信息贴出来。我这边没有试过在windows下编译。一直是深度deepin操作系统下操作的。

@pubTools
Copy link
Author

image

@bubifengyun
Copy link
Owner

bubifengyun commented Jun 11, 2019

从报错来看,应该是没有配置 cran, 之前我也遇到过,参见这里,rstudio/bookdown#599 但是,我早已经在这个代码里配置了cran的,你试试修改一下这里呢?

深度截图_deepin-terminal_20190611150820
深度截图_选择区域_20190611150849

有问题,再讨论。另外你第一幅图里,那个是乱码,是不是字体没有设置为 UTF-8的原因?

@pubTools
Copy link
Author

image
image
image
全都设置了的,在build下build All会显示那个乱码;在index.rmd下knit会显示那个error。

@bubifengyun
Copy link
Owner

抱歉,我的电脑上,现在也无法编译通过,说是

tlmgr search --file --global '/gb7714-2015.dbx'
tlmgr: Remote repository is newer than local (2018 < 2019)
Cross release updates are only supported with
  update-tlmgr-latest(.sh/.exe) --update
Please see https://tug.org/texlive/upgrade.html for details.
tlmgr search --file --global '/biblatex-dm.cfg'
tlmgr: Remote repository is newer than local (2018 < 2019)
Cross release updates are only supported with
  update-tlmgr-latest(.sh/.exe) --update
Please see https://tug.org/texlive/upgrade.html for details.
tlmgr search --file --global '/sjtu-thesis-rmd.bbl'
tlmgr: Remote repository is newer than local (2018 < 2019)
Cross release updates are only supported with
  update-tlmgr-latest(.sh/.exe) --update
Please see https://tug.org/texlive/upgrade.html for details.
INFO - This is Biber 2.11
INFO - Logfile is 'sjtu-thesis-rmd.blg'
ERROR - sjtu-thesis-rmd.bcf is malformed, last biblatex run probably failed. Deleted sjtu-thesis-rmd.bbl
INFO - ERRORS: 1
错误: Failed to build the bibliography via biber
此外: Warning messages:
1: In readLines(log) : 读'sjtu-thesis-rmd.log'时最后一行未遂
2: 运行命令''tlmgr' search --file --global '/gb7714-2015.dbx''的状态是1 
3: 运行命令''tlmgr' search --file --global '/biblatex-dm.cfg''的状态是1 
4: 运行命令''tlmgr' search --file --global '/sjtu-thesis-rmd.bbl''的状态是1 
停止执行
错误: Failed to compile the book to bookdown::pdf_book
停止执行
make: *** [Makefile:2:pdf] 错误 1

等我重新安装一下 texlive2019,再来看看咋回事。

@pubTools
Copy link
Author

万分感谢!

@bubifengyun
Copy link
Owner

你的使用是哪个tex? texlive2019吗?

@pubTools
Copy link
Author

texlive2018
miktex2.9
texstudio
R
Rstudio
pandoc

@bubifengyun
Copy link
Owner

现在能够编译了,但是需要 sudo make 才可以,也是一头雾水。我先更新一下最新的SJTU模板,马上推送。

@bubifengyun
Copy link
Owner

@izinngo 你在RStudio里安装这么几个包呢?

'DT', 'citr', 'formatR', 'svglite', 'webshot', 'devtools', 'tinytex', 'diagram', 'shape'

@bubifengyun
Copy link
Owner

这边反应有点慢,方便的话,可以QQ 402229566

@bubifengyun
Copy link
Owner

https://github.com/bubifengyun/deepin-bible/releases 非常抱歉,我下载之前的版本,现在也无法编译了。可能是我现在的编译环境被破坏了。如果你急着毕业的话,可以把在 _bookdown里面 生成的 tex 文件复制到交大模板里面。这边我估计得一段时间才能修复好这个问题。

@bubifengyun
Copy link
Owner

https://github.com/bubifengyun/deepin-bible 有兴趣的话,可以关注这个。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants