On 11/12/2010 8:41 AM, Rainer Schuermann wrote:
Why do you think it wasn't installed? There is no package "Sweave".
Sweave() is a function in package "utils", which you session info
indicates you have and is loaded.
Care to tell us what you want to do with Sweave and why you think it
isn't working?
Oops - this is embarrassing!
I promise I have done a lot of research before I posted the question but I got
the info wrong and didn't realize that it's a function, rather than a package...
Sweave.sty is not in my latex folder, will take care of that right now (I thought an
"installation" would be the right way to get that done!) and keep quiet if
thinks work nicely after that.
You shouldn't do that. It will work until Sweave.sty is updated, then
cause you hard-to-debug problems.
Use R utilities (e.g. tools::texi2dvi, or ones from a contributed
package) to run latex, and they will point to the current Sweave.sty.
If you put a copy of Sweave.sty into your latex installation, in a few
months you'll have an obsolete version, and things will just not work.
Duncan Murdoch
Thanks for pointing me in the right direction (also to Hung Min)
Rainer
On Saturday 11 December 2010 14:24:24 you wrote:
On Sat, 2010-12-11 at 14:07 +0100, Rainer Schuermann wrote:
Hi there!
I tried to work with Sweave, assuming that it is part of the standard
installation - which it was not for my system. Trying to install, it
gives me this error message:
Why do you think it wasn't installed? There is no package "Sweave".
Sweave() is a function in package "utils", which you session info
indicates you have and is loaded.
Care to tell us what you want to do with Sweave and why you think it
isn't working?
HTH
G
install.packages("Sweave")
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
package ‘Sweave’ is not available
My system data are:
sessionInfo()
R version 2.12.0 (2010-10-15)
Platform: x86_64-pc-linux-gnu (64-bit)
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=C LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets grid methods
[8] base
other attached packages:
[1] reshape_0.8.3 plyr_1.2.1 proto_0.3-8
loaded via a namespace (and not attached):
[1] ggplot2_0.8.8
Any idea what I need to do?
Thanks a lot,
Rainer
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.