Sorry, I should have really started a new thread with this because really it is a new question only loosely related to the first Q. Thanks for the assist.
As suggested I switched over to sweave. I have a lot of .tex tables that I > have already created that I was previously inserting into my tex document > (using \input). The journal I plan on submitting to eventually wants the > final .tex file so I thought it would be a good idea to use Sweave, it makes > a tex doc with my tables generated and it should be all good. > > I just spend a few hours trying to get the \SweaveInput commant to work > properly. I finally determined that I couldn't put the file in as an > absolute path but it had to be a relative path. I.e > > \SweaveInput{/home/tdavies/Dropbox/CollapseRecovery_Shared/trevor/afterAFS/writing/sweave/blah.tex} > gave the error: > > R CMD Sweave hitmiss.Rnw > Error in SweaveReadFile(c(ifile, file), syntax, encoding = encoding) : > no Sweave file with name > './/home/tdavies/Dropbox/CollapseRecovery_Shared/trevor/afterAFS/writing/sweave/blah.tex' > found > Calls: <Anonymous> -> Sweave -> SweaveReadFile -> SweaveReadFile > Execution halted > make: *** [hitmiss.tex] Error 1 > > However, when i use: > > \SweaveInput{../../../../../../../../home/tdavies/Dropbox/CollapseRecovery_Shared/trevor/afterAFS/writing/sweave/blah.tex} > It works fine. > > What am I missing here? > Thanks. > > [[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.