My question if in the Subject, but if to extend: I am specifically curious about WordPress blogs. But any solution will give me a lead. Thanks, Tal ---------------------------------------------- Contact me: Tal.Galili@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | www.r-statistics.com/ (English) [[alternative HTML version deleted]]
take a look at geshi. b On Nov 20, 2009, at 4:26 PM, Tal Galili wrote:> My question if in the Subject, but if to extend: I am specifically > curious > about WordPress blogs. But any solution will give me a lead. > > Thanks, > Tal > > > ---------------------------------------------- > Contact me: Tal.Galili at gmail.com | 972-52-7275845 > Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il > (Hebrew) | > www.r-statistics.com/ (English) > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
Hi, I am about to release the "highlight" package which just does that. You would basically do : > highlight( some_file, output = some_other_file_or_connection, + renderer = renderer_html() ) If you are in a rush you can grab it from r-forge: http://r-forge.r-project.org/projects/highlight/ Romain On 11/20/2009 07:26 PM, Tal Galili wrote:> > My question if in the Subject, but if to extend: I am specifically curious > about WordPress blogs. But any solution will give me a lead. > > Thanks, > Tal > > > ---------------------------------------------- > Contact me: Tal.Galili at gmail.com | 972-52-7275845 > Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | > www.r-statistics.com/ (English)-- Romain Francois Professional R Enthusiast +33(0) 6 28 91 30 30 http://romainfrancois.blog.free.fr |- http://tr.im/EAD5 : LondonR slides |- http://tr.im/BcPw : celebrating R commit #50000 `- http://tr.im/ztCu : RGG #158:161: examples of package IDPmisc
Hello, I wrote a Wordpress blog entry about not only highlighting R syntax, but embedding R commands within an entry and using Sweave to produce the R output, all within Emacs. The output of the process is ready to paste Wordpress HTML, and a few other R blogs have started using it to generate their content. Disclaimer, the following is a link to my blog, but it describes a process you might be interested in: http://blogisticreflections.wordpress.com/2009/09/20/welcome-to-blogistic-reflections/ Best, Erik> -----Original Message----- > From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] > On Behalf Of Tal Galili > Sent: Friday, November 20, 2009 12:27 PM > To: r-help at r-project.org > Subject: [R] How to: highlight R syntax on webpages ? > > My question if in the Subject, but if to extend: I am specifically curious > about WordPress blogs. But any solution will give me a lead. > > Thanks, > Tal > > > ---------------------------------------------- > Contact me: Tal.Galili at gmail.com | 972-52-7275845 > Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | > www.r-statistics.com/ (English) > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting- > guide.html > and provide commented, minimal, self-contained, reproducible code.
Hi Erik, Interesting blog. I was pleased to see the reference to org-babel, a language-agnostic alternative to Sweave. Org-babel is a software masterpiece that anyone using emacs, LaTeX and R should know about, especially if they also use python, ruby, clojure, etc. All the best, Tom On Nov 20, 2009, at 10:02 AM, Erik Iverson wrote:> Hello, > > I wrote a Wordpress blog entry about not only highlighting R syntax, > but embedding R commands within an entry and using Sweave to produce > the R output, all within Emacs. The output of the process is ready > to paste Wordpress HTML, and a few other R blogs have started using > it to generate their content. Disclaimer, the following is a link > to my blog, but it describes a process you might be interested in: > > http://blogisticreflections.wordpress.com/2009/09/20/welcome-to-blogistic-reflections/ > > Best, > Erik > >> -----Original Message----- >> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org >> ] >> On Behalf Of Tal Galili >> Sent: Friday, November 20, 2009 12:27 PM >> To: r-help at r-project.org >> Subject: [R] How to: highlight R syntax on webpages ? >> >> My question if in the Subject, but if to extend: I am specifically >> curious >> about WordPress blogs. But any solution will give me a lead. >> >> Thanks, >> Tal >> >> >> ---------------------------------------------- >> Contact me: Tal.Galili at gmail.com | 972-52-7275845 >> Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il >> (Hebrew) | >> www.r-statistics.com/ (English) >> >> [[alternative HTML version deleted]] >> >> ______________________________________________ >> R-help at r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide http://www.R-project.org/posting- >> guide.html >> and provide commented, minimal, self-contained, reproducible code. > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
Hi all, In Continue to this old thread, I just "fixed" a wordpress plugin to allow for R syntax highlighting using GeSHi version 1.0.8.6: http://www.r-statistics.com/2010/02/r-syntax-highlight-on-your-blog-a-wordpress-plugin/ Hope some of you will find it useful in the future. My thanks to all of you who have replied to this thread in the past. Best, Tal ----------------Contact Details:------------------------------------------------------- Contact me: Tal.Galili@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | www.r-statistics.com (English) ---------------------------------------------------------------------------------------------- On Fri, Nov 20, 2009 at 8:26 PM, Tal Galili <tal.galili@gmail.com> wrote:> My question if in the Subject, but if to extend: I am specifically curious > about WordPress blogs. But any solution will give me a lead. > > Thanks, > Tal > > > ---------------------------------------------- > Contact me: Tal.Galili@gmail.com | 972-52-7275845 > Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | > www.r-statistics.com/ (English) > > >[[alternative HTML version deleted]]
To achieve this goal, it seems there are several ways, such as WP-Syntax (http://wordpress.org/extend/plugins/wp-syntax/), SyntaxHighlighter2 (http://mohanjith.com/2009/03/syntaxhighlighter2.html), etc. However, these plugins seem not support R language by default, so you may have to write some code to declare the keywords and functions for R. And also you can write another plugin by yourself if you like, it's not so difficult. On Sat, Nov 21, 2009 at 2:26 AM, Tal Galili <tal.galili at gmail.com> wrote:> My question if in the Subject, but if to extend: I am specifically curious > about WordPress blogs. But any solution will give me a lead. > > Thanks, > Tal > > > ---------------------------------------------- > Contact me: Tal.Galili at gmail.com | ?972-52-7275845 > Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | > www.r-statistics.com/ (English) > > ? ? ? ?[[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >