Problem with Sweave and spplot
yes, the print(spplot()) did solve the problem! thanks! 2009/9/2 Edzer Pebesma <edzer.pebesma at uni-muenster.de>:
I think this is a well-known issue, and a FAQ: http://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-do-lattice_002ftrellis-graphics-not-work_003f Manual processing is not needed. I agree that the resulting code with print(spplot(...)) looks ugly; in the ASDAR book we basically tricked things by having two code sections, one that is printed but not evaluated, and one that is evaluated but not printed. Not really nice but ... it worked. -- Edzer Els Ducheyne wrote:
Dear all I faced the same problem, spplot does not create the output that sweave will integrate I solved this by manually saving the spplot outputs and then hard code it in the tex file, ?but clearly there should be a better way Els On 1 Sep 2009, at 17:01, Matthieu Stigler wrote:
Hi I'm facing problems using Sweave with spplot... there is no error message but the pdf produced has errors and then latex compilation fails... I really don't know where that come from, did anyone experience something similar? I've put the file on the net: -the Sweave file: http://s000.tinyupload.com/download.php?file_id=06883775011103568715&t=0688377501110356871533520 -the map data: http://s000.tinyupload.com/download.php?file_id=77859174637181270102&t=7785917463718127010263143 So after downloading oe should just run: R Sweave("WorkingPaper2.Rnw.txt") Would you be so nice to test it and tell further: -Do you have errors? -Is Sweave running but not providing pdf not working? Thanks a lot Matthieu Stigler
_______________________________________________ R-sig-Geo mailing list R-sig-Geo at stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo
_______________________________________________ R-sig-Geo mailing list R-sig-Geo at stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo
-- Edzer Pebesma Institute for Geoinformatics (ifgi), University of M?nster Weseler Stra?e 253, 48151 M?nster, Germany. Phone: +49 251 8333081, Fax: +49 251 8339763 http://ifgi.uni-muenster.de/ http://www.springer.com/978-0-387-78170-9 e.pebesma at wwu.de