Changes between Initial Version and Version 1 of Sweave.sty not found


Ignore:
Timestamp:
Mar 28, 2014 10:49:55 AM (11 years ago)
Author:
celine
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Sweave.sty not found

    v1 v1  
     1back to first page [..][[BR]] 
     2== Sweave.sty not found == 
     3The likely reason that this error is triggered is due to the texmf folder not being properly mapped to Miktex's root directory. Since Sweave.sty is positioned in a sub directory of texmf, Miktex never finds it. 
     4 
     5Sweave.sty comes standard with current R downloads. 
     6 
     7To properly map the texmf directory to Miktex's root directory, follow these instructions carefully. 
     8 
     9- Locate the texmf directory inside the share folder in R. For me, the path was C:\Program Files\R\R-3.0.2\share\texmf but this can change from user to user 
     10- Launch Miktex's Options via the start menu or by locating this exectuable C:\Program Files (x86)\MiKTeX 2.9\miktex\bin\mo_admin.exe. You can also follow these instructions 
     11- Click on the "Roots" tab and click "Add" 
     12- Map the folder path to texmf that you located earlier. 
     13- If you receive an error about the file being in use, make sure to close out of any open session of TeXworks. 
     14- Click "Ok" and you're set to go.