search for: sweavereadfil

Displaying 3 results from an estimated 3 matches for "sweavereadfil".

Did you mean: sweavereadfile
2011 Oct 29
1
Sweave absolute path versus relative path
...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 halte...
2007 Apr 26
2
SweaveInput and absolute paths
...these would include a command like \SweaveInput{/Resources/Affymetrix/libload.Rnw} If I try that (in R 2.4.0 on either Windows or UNIX), however, I get an error message to the following effect: -------------------------------- Writing to file affyExample.tex Processing code chunks ... Error in SweaveReadFile(c(ifile, file), syntax) : no Sweave file with name './/Resources/Affymetrix/libload.Rnw' found In addition: Warning message: list.files: './/Resources/Affymetrix' is not a readable directory -------------------------------- Of course it cannot find the files if it insists on looki...
2014 Nov 03
0
Pkg creation: Sweave: multiple files vignette: Error in R CMD check
...raeambel. As a workaround I tried to put my child-Rnw-file in a subfolder (ChapterY) and calling this file by \SweaveInput{ChapterY/ChapterY.Rnw}. Again, "Complie pdf" as well as Sweave("Master.Rnw") works fine, but with checking the package I get the following error: Error in SweaveReadFile(c(ifile, file), syntax, encoding = encoding) : no Sweave file with name ?./ChapterY/ChapterY.Rnw? found ERROR: installing vignettes failed By the way I tried that on different (L)ubuntu machines (12.04, 14) which the latest version of RStudio and R, and I also tried it after updating texlive t...