Trying to understand the workflow between latex, sweave and R

試著忘記壹切 提交于 2019-12-05 19:31:57

That path is set automatically when you install LaTeX; it's your personal texmf tree and you can put any style or class files you want LaTeX to find there. The directory names don't matter, it searches recursively in them for Sweave.sty. So changing the directory link to Sweave_Link shouldn't matter.

You can test this by running kpsewhich Sweave.sty which looks in all the texmf trees for the desired file.

Also, you don't need to have \usepackage{Sweave} in the Rnw file; Sweave will add it automatically.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!