I've been looking everywhere, but my computer (Windows 7) just won't install the Sweave.sty
package for Miktex 2.9. I tried to put it in a folder respecting the TDS standard, and then to install it, locally. The Package Manager won't accept any folder I suggest as a local package repository
error: this folder doesn't seem to be a local repository.
I added the direction to the roots, but it just won't find the sweave.sty
package. I updated the database several times, with the texhash prompt in the console, and using the button.
I tried to follow the instructions on: https://stat.ethz.ch/pipermail/r-help/2010-February/229033.html and http://docs.miktex.org/manual/localadditions.html
It always gives me the same error message:
Package Sweave could not be found.
On my other computer I have a local repository in the User folder, and I always have to put the directory of the Sweave file in the preamble of my document. At least, that works, but as I would like to keep my file reproducible, I would prefer to know how to properly install Sweave. Maybe its because I changed the basic directory shown in the console to the local folder where my LaTeX document is.
I use the WinEdt editor. Maybe it has something to do with Ghostscript, I have no idea whether this is installed or what it is used for. I try to find out about that next.
Can anyone give me a hint what to try next? I tried to be as precise as I could.
Sweave.sty
. Why not forget about it and use theknitr
package instead?