Ok, yes I realize it. So let me try to fix it: I removed the sty files, and set TEXINPUTS to 'C:\R\R-2.15.2\share\texmf\tex\latex
I am back where I started: the tex file will not process. Please let me know what I should do to fix the issue. Troy On Tue, Jan 29, 2013 at 2:20 PM, Duncan Murdoch <murdoch.dun...@gmail.com>wrote: > On 13-01-29 4:55 PM, Troy S wrote: > >> Duncan, >> Copying all 3 sty files to my working directory solved the problem. I'm >> still curious why this was necessary in my new install. Duncan, many >> thanks! >> > > You do realize that you have now done a Very Bad Thing, I hope. > > Duncan Murdoch > > >> Troy >> >> On Tue, Jan 29, 2013 at 10:58 AM, Duncan Murdoch >> <murdoch.dun...@gmail.com >> <mailto:murdoch.duncan@gmail.**com<murdoch.dun...@gmail.com>>> >> wrote: >> >> On 29/01/2013 1:37 PM, Troy S wrote: >> >> Dear useRs-- >> >> I have been using Sweave with miktex for years, but on a new >> install on >> Windows XP, miktex seems to be hung up on single quotes. See >> example below. >> >> Digging through stackexchange, I found using >> \usepackage[noae]{Sweave} in >> the tex file solved the problem. My questions are: >> >> --Why would this happen? I have the ae package installed. >> >> --If inserting [noae] is the solution, how do I have this done >> by Sweave? >> >> I'll start with the error messages followed by the tex file >> outputted by >> Sweave. >> >> Any help, please?\ >> >> >> I don't know if this is the cause of your problem, but you are doing >> one Bad Thing: you have a copy of Sweave.sty in the same directory >> as your document. This is Bad because it is very easy to end up >> with Sweave.sty from R version X while using Sweave in R version Y, >> where X != Y. You should leave Sweave.sty where it is in the R >> installation, and use >> >> R CMD Sweave --pdf testsweave.Rnw >> >> (or one of the many equivalents) to process it. >> >> Duncan Murdoch >> >> >> Troy >> > >> This is pdfTeX, Version 3.1415926-2.4-1.40.13 (MiKTeX 2.9) >> entering extended mode >> ("C:\Documents and Settings\v\My Documents\testsweave.tex" >> LaTeX2e <2011/06/27> >> Babel <v3.8m> and hyphenation patterns for english, afrikaans, >> ancientgreek, ar >> abic, armenian, assamese, basque, bengali, bokmal, bulgarian, >> catalan, >> coptic, >> croatian, czech, danish, dutch, esperanto, estonian, farsi, >> finnish, >> french, ga >> lician, german, german-x-2012-05-30, greek, gujarati, hindi, >> hungarian, >> iceland >> ic, indonesian, interlingua, irish, italian, kannada, kurmanji, >> latin, >> latvian, >> lithuanian, malayalam, marathi, mongolian, mongolianlmc, >> monogreek, >> ngerman, n >> german-x-2012-05-30, nynorsk, oriya, panjabi, pinyin, polish, >> portuguese, >> roman >> ian, russian, sanskrit, serbian, slovak, slovenian, spanish, >> swedish, >> swissgerm >> an, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, >> uppersorbian, >> usengl >> ishmax, welsh, loaded. >> (c:\miktex2.9.4757\tex\latex\ >> base\article.cls >> Document Class: article 2007/10/19 v1.4h Standard LaTeX document >> class >> (c:\miktex2.9.4757\tex\latex\_**_base\size10.clo)) >> >> ("C:\Documents and Settings\v\My Documents\Sweave.sty" >> (c:\miktex2.9.4757\tex\latex\_**_base\ifthen.sty) >> (c:\miktex2.9.4757\tex\latex\_**_graphics\graphicx.sty >> (c:\miktex2.9.4757\tex\latex\_**_graphics\keyval.sty) >> (c:\miktex2.9.4757\tex\latex\_**_graphics\graphics.sty >> (c:\miktex2.9.4757\tex\latex\_**_graphics\trig.sty) >> (c:\miktex2.9.4757\tex\latex\_**_00miktex\graphics.cfg) >> (c:\miktex2.9.4757\tex\latex\_**_pdftex-def\pdftex.def >> (c:\miktex2.9.4757\tex\__**generic\oberdiek\infwarerr.__**sty) >> (c:\miktex2.9.4757\tex\__**generic\oberdiek\ltxcmds.sty))**__)) >> (c:\miktex2.9.4757\tex\latex\_**_fancyvrb\fancyvrb.sty >> >> Style option: `fancyvrb' v2.7a, with DG/SPQR fixes, and >> firstline=lastline >> fix >> <2008/02/07> (tvz)) >> (c:\miktex2.9.4757\tex\latex\_**_upquote\upquote.sty) >> (c:\miktex2.9.4757\tex\latex\_**_base\fontenc.sty >> (c:\miktex2.9.4757\tex\latex\_**_base\t1enc.def)) >> (c:\miktex2.9.4757\tex\latex\_**_ae\ae.sty >> (c:\miktex2.9.4757\tex\latex\_**_base\fontenc.sty >> (c:\miktex2.9.4757\tex\latex\_**_base\t1enc.def) >> (c:\miktex2.9.4757\tex\latex\_**_ae\t1aer.fd)))) >> >> ("C:\Documents and Settings\v\My Documents\testsweave.aux") >> (c:\miktex2.9.4757\tex\__**context\base\supp-pdf.mkii >> >> [Loading MPS to PDF converter (version 2006.09.02).] >> ) (c:\miktex2.9.4757\tex\latex\_**_ae\t1aett.fd) >> >> ! Undefined control sequence. >> <argument> + V1=c(' >> a','b','b','a','c','c','d','a'**__), >> l.14 + V1=c('a','b','b','a','c','c','**__d','a'), >> >> >> \documentclass{article} >> \usepackage{Sweave} >> \begin{document} >> This is a test. >> \begin{Schunk} >> \begin{Sinput} >> > (x <- 1+2) >> \end{Sinput} >> \begin{Soutput} >> [1] 3 >> \end{Soutput} >> \begin{Sinput} >> > test <- data.frame( >> + V1=c('a','b','b','a','c','c','**__d','a'), >> + V27=c('1-oct-2004', '3-jan-2005','4-jan-2005','30-** >> __jan-2004', >> >> + '12-oct-2012','13-sep-2012', '1-jan-1999', '31-dec-2004'), >> + V24=letters[1:8]) >> \end{Sinput} >> \end{Schunk} >> >> \end{document} >> >> [[alternative HTML version deleted]] >> >> ______________________________**__________________ >> R-help@r-project.org <mailto:R-help@r-project.org> mailing list >> >> https://stat.ethz.ch/mailman/_**_listinfo/r-help<https://stat.ethz.ch/mailman/__listinfo/r-help> >> >> >> <https://stat.ethz.ch/mailman/**listinfo/r-help<https://stat.ethz.ch/mailman/listinfo/r-help> >> > >> PLEASE do read the posting guide >> >> http://www.R-project.org/__**posting-guide.html<http://www.R-project.org/__posting-guide.html> >> >> >> <http://www.R-project.org/**posting-guide.html<http://www.R-project.org/posting-guide.html> >> > >> and provide commented, minimal, self-contained, reproducible code. >> >> >> >> > [[alternative HTML version deleted]] ______________________________________________ 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.