I am using Sweave to generate a pdf from a .Rnw file. I added a new build configuration in Kile using Kile's build-configuration settings.
Settings > Tools > Build
OS is Windows 7. How do I fix this error? I don't see an option for specifying log file.
After setting this, compilation is working fine, but the "log and messages" pane in Kile, at the bottom is not able to show the compilation status message and says:.
"Cannot open log file; did you run LaTeX?"
The new build configuration is:
COMMAND:: C:\Program Files\R\R-2.15.1\bin\x64\R.exe
OPTIONS:: CMD Sweave –pdf %source
ADVANCED::
Type (Run Outside of Kile) Class (LaTeX) Source Extension (Rnw) Target Extension (tex) State (Editor)
Best Answer
It is not really an error. At the end of some build operations (I believe those of Class
LaTeX
) Kile scrapes the log file and automatically decides if it should rerun the previous command and tells you about warnings, errors, and bad boxes. Presumably after runningR.exe
there is either not a log file or Kile is unable to strip the extensions and get to the log file. No matter the cause, it is not a big deal. I think if you change the Class toCompile
or untick "automatically run additional tools" you should be able to make the warning go away.