tag:blogger.com,1999:blog-6715598735361401237.post652242582121041170..comments2023-07-23T13:34:48.842+02:00Comments on Gregor Gorjanc (gg): Sweave.sh plays with cacheSweaveGorjanc Gregorhttp://www.blogger.com/profile/07815994784120702971noreply@blogger.comBlogger11125tag:blogger.com,1999:blog-6715598735361401237.post-76466934814521013272009-03-05T21:41:00.000+01:002009-03-05T21:41:00.000+01:00Kjetil, the message from Emacs about the variables...Kjetil, the message from Emacs about the variables is irrelevant. Emacs complains about the variables that I use for folding the file when I edit it in Emacs.Gorjanc Gregorhttps://www.blogger.com/profile/07815994784120702971noreply@blogger.comtag:blogger.com,1999:blog-6715598735361401237.post-12339005220761604932009-02-26T16:14:00.000+01:002009-02-26T16:14:00.000+01:00I already started hacking the original script, bef...I already started hacking the original script, before a h came up with the glorious idea of googling for a solution :) Thanks a lot! It works like it should work!Unknownhttps://www.blogger.com/profile/14957630209668923284noreply@blogger.comtag:blogger.com,1999:blog-6715598735361401237.post-89403315386543742892009-02-15T10:16:00.000+01:002009-02-15T10:16:00.000+01:00Kjetil, can you please let Emacs do the change and...Kjetil, can you please let Emacs do the change and send me the script so that I can study the differences?<BR/><BR/>TnxGorjanc Gregorhttps://www.blogger.com/profile/07815994784120702971noreply@blogger.comtag:blogger.com,1999:blog-6715598735361401237.post-40443191725628279592009-02-15T00:53:00.000+01:002009-02-15T00:53:00.000+01:00When I open Sweave.sh in (GNU) emacs (ubuntu), I a...When I open Sweave.sh in (GNU) emacs (ubuntu), I am warned that the script contain "unsafe" variables, and asked to change the script! (emacs offers to change it automaticall!)<BR/><BR/>What are this?<BR/><BR/>Kjetil halvorsenAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6715598735361401237.post-38464506816493757192009-01-23T09:59:00.000+01:002009-01-23T09:59:00.000+01:00Man, that was really FAST! :) Compliment.Man, that was really FAST! :) Compliment.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6715598735361401237.post-8701051612237555352009-01-21T23:32:00.000+01:002009-01-21T23:32:00.000+01:00See here ;)See <A HREF="http://ggorjan.blogspot.com/2009/01/sweavesh-plays-with-weaver.html" REL="nofollow">here</A> ;)Gorjanc Gregorhttps://www.blogger.com/profile/07815994784120702971noreply@blogger.comtag:blogger.com,1999:blog-6715598735361401237.post-51812861283220295652009-01-21T14:32:00.000+01:002009-01-21T14:32:00.000+01:00Hi Gregor, I am using your magnificent script sinc...Hi Gregor, <BR/><BR/>I am using your magnificent script since there was no cache-support and this tweak was the only option, that I felt missing at that time. However, I am still wondering whether 'weaver' could also be easily integrated? Sorry for the lame question, but I do not feel comfortable checking/fixing bash scripts. <BR/><BR/>Cheers, <BR/>Angel<BR/>ps: weaver link: http://www.bioconductor.org/packages/1.9/bioc/html/weaver.htmlAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6715598735361401237.post-60983772224711069882008-12-17T15:08:00.000+01:002008-12-17T15:08:00.000+01:00This script is great, I don't know what I would do...This script is great, I don't know what I would do without it! Thanks a lot!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6715598735361401237.post-63646759441029952902008-11-27T10:17:00.000+01:002008-11-27T10:17:00.000+01:00Thank you Bernd, I fixed the typo!Yihui, the simul...Thank you Bernd, I fixed the typo!<BR/><BR/>Yihui, the simulate chunk is not executed at all - the Sweave process skips the evaluation of the whole chunk (including the Sys.sleep()) since caching is turned on with the cache=true option! Object x is pulled out of the cache when it is needed, i.e., in the print cunck. <BR/><BR/>I used Sys.sleep() since it nicely mimicks the "waiting problem" with Sweave. When I use Sweave I write the Rnw document (the R code and LaTeX markup) and I often compile it to check for possible typos or any side effects. When the document gets large and when the computations are more involved it turns out that you spend the most of the time in Sweaving the document. With cacheSweave, this time us much reduced.Gorjanc Gregorhttps://www.blogger.com/profile/07815994784120702971noreply@blogger.comtag:blogger.com,1999:blog-6715598735361401237.post-7015047833436453542008-11-27T06:48:00.000+01:002008-11-27T06:48:00.000+01:00This is really helpful and much appreciated. BTW: ...This is really helpful and much appreciated. <BR/><BR/>BTW: There's a small typo: It's "results" in <BR/><BR/>"print, result="verbatim".Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6715598735361401237.post-50260434671565069712008-11-27T03:45:00.000+01:002008-11-27T03:45:00.000+01:00Thanks for your information! I haven't tried the p...Thanks for your information! I haven't tried the package yet. Do you mean the code "Sys.sleep(s)" was ignored by cacheSweave? Or the system was still suspended as required but Sweave just moved on to the next code chunk to evaluate x? (parallel computation?)Anonymousnoreply@blogger.com