tag:blogger.com,1999:blog-35916379.post2909654306691513758..comments2023-10-09T09:49:26.559-04:00Comments on Shige's Research Blog: Sweave vs. pgfSweaveShigehttp://www.blogger.com/profile/05137341187022320380noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-35916379.post-27083162066257789442011-11-25T08:04:04.606-05:002011-11-25T08:04:04.606-05:00I have not used Eclipse under Windows. Sorry.
Wh...I have not used Eclipse under Windows. Sorry. <br /><br />Why don't you post the question to the StatET mailing list? I am sure there are other people who run StatET on Windows and some of them may have encountered similar problem. <br /><br />Good luck!Shigehttps://www.blogger.com/profile/05137341187022320380noreply@blogger.comtag:blogger.com,1999:blog-35916379.post-7438209546374385872011-11-24T19:35:19.788-05:002011-11-24T19:35:19.788-05:00I have sweave working perfectly within Eclipse, bu...I have sweave working perfectly within Eclipse, but am currently and frustratingly unable to get pgfsweave to work properly using the sweave external launch configuration modified as you describe (or any other way I've played with). pgfSweave works just fine if I run it from the R console within Eclipse, but there must be something odd with my external launch configuration, as it gets hung up processing a figure, and never gets to generate the figure's pdf file and the focus never comes back to the R console... Have you experienced this? Any suggestions? (I'm working on Windows 7 with Eclipse Helios, and any of R 32 or 64 bits R 2.13.2 or 2.14.0 - the problem is the same with all).JennyHhttps://www.blogger.com/profile/18075724894975349282noreply@blogger.comtag:blogger.com,1999:blog-35916379.post-77314726097581680632010-04-29T12:12:26.683-04:002010-04-29T12:12:26.683-04:00caching graphs can be done through the [draft] opt...caching graphs can be done through the [draft] option of \documentclassAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-35916379.post-58839750247553243872010-04-29T11:40:42.251-04:002010-04-29T11:40:42.251-04:00Quality of graphs? Isn't that a simply a matte...Quality of graphs? Isn't that a simply a matter of which plotting package you are using in R?<br /><br />What Sweave desperately needs is conditionals - so you can use logic to determine whether a section of a Sweave document should be rendered.Jermdemohttps://www.blogger.com/profile/01662705354227625640noreply@blogger.comtag:blogger.com,1999:blog-35916379.post-24552470860046075542010-04-29T07:25:02.969-04:002010-04-29T07:25:02.969-04:00Two main advantages of pgfSweave over plain Sweave...Two main advantages of pgfSweave over plain Sweave make it very attractive: (1) the quality of graphs produced, and (2) the ability to cache some time-consuming graph generating procedures. <br /><br />Since pgfSweave is still under development, it may safer to configure and use both on your system.Shigehttps://www.blogger.com/profile/05137341187022320380noreply@blogger.comtag:blogger.com,1999:blog-35916379.post-86168475102023749852010-04-29T07:19:07.366-04:002010-04-29T07:19:07.366-04:00Assume you have already setup Sweave as an "e...Assume you have already setup Sweave as an "external tool"; what you need to do is to simply change the command line from "Sweave(file = "${resource_loc:${source_file_path}}")" to "pgfSweave(file = "${resource_loc:${source_file_path}}")". Also make sure that your R console automatically loads the pgfSweave each time it starts. This can be done by add "library(pgfSweave)" under "R snippet run after startup".<br /><br />Even better, instead of replacing Sweave with pgfSweave, I have both of them configured.Shigehttps://www.blogger.com/profile/05137341187022320380noreply@blogger.comtag:blogger.com,1999:blog-35916379.post-55130415327338026532010-04-29T03:01:40.277-04:002010-04-29T03:01:40.277-04:00Ditto. Also, if you could speak to whether pgfSwe...Ditto. Also, if you could speak to whether pgfSweave can be integrated into StatET (for eclipse) easily, I would find that interesting.Unknownhttps://www.blogger.com/profile/18423168506301534226noreply@blogger.comtag:blogger.com,1999:blog-35916379.post-14925935637878691922010-04-29T02:42:57.654-04:002010-04-29T02:42:57.654-04:00care to tell us why? :-)
/a curious Sweave-usercare to tell us why? :-)<br />/a curious Sweave-userMorten Lindowhttps://www.blogger.com/profile/16733956481542974295noreply@blogger.com