Dear R helpers, I have a question regarding wordpress and R. I have asked this question in Wordpress support ( http://wordpress.org/support/topic/368312 ) but there is no answer so far, maybe the R community can have a better answer. I followed the excellent tutorial on r-statistics-blog ( http://www.r-statistics.com/2010/02/r-syntax-highlight-on-your-blog-a-wordpress-plugin/ ) to enable syntax hightlighting but Wordpress keeps breaking "<-" into "< -" and I have to use "=" instead. (I think "=" is confusing.) And I think it is not related to the theme as well. Is there any clue to solve this? I am using Wordpress 2.9.2. Regards, CH -- CH Chan Research Assistant - KWH http://www.macgrass.com
Hi, On Wed, Feb 24, 2010 at 11:40 PM, C.H. <chainsawtiney at gmail.com> wrote:> Dear R helpers, > > I have a question regarding wordpress and R. I have asked this > question in Wordpress support ( > http://wordpress.org/support/topic/368312 ) but there is no answer so > far, maybe the R community can have a better answer. > > I followed the excellent tutorial on r-statistics-blog ( > http://www.r-statistics.com/2010/02/r-syntax-highlight-on-your-blog-a-wordpress-plugin/ > ) to enable syntax hightlighting but Wordpress keeps breaking "<-" > into "< -" and I have to use "=" instead. (I think "=" is confusing.) > And I think it is not related to the theme as well. > > Is there any clue to solve this? I am using Wordpress 2.9.2.I'm guessing that your best bet is to ask the author of the blog that you linked to in your post ... just post a comment on that post there. -steve -- Steve Lianoglou Graduate Student: Computational Systems Biology | Memorial Sloan-Kettering Cancer Center | Weill Medical College of Cornell University Contact Info: http://cbio.mskcc.org/~lianos/contact
Hi CH, My solution for this is to work only on the code editor, and never to move to the visual editor (once I put an R code inside it). Let me know if it works for you (and what is the link to your blog :) ) Cheers, 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 Thu, Feb 25, 2010 at 6:40 AM, C.H. <chainsawtiney@gmail.com> wrote:> Dear R helpers, > > I have a question regarding wordpress and R. I have asked this > question in Wordpress support ( > http://wordpress.org/support/topic/368312 ) but there is no answer so > far, maybe the R community can have a better answer. > > I followed the excellent tutorial on r-statistics-blog ( > > http://www.r-statistics.com/2010/02/r-syntax-highlight-on-your-blog-a-wordpress-plugin/ > ) to enable syntax hightlighting but Wordpress keeps breaking "<-" > into "< -" and I have to use "=" instead. (I think "=" is confusing.) > And I think it is not related to the theme as well. > > Is there any clue to solve this? I am using Wordpress 2.9.2. > > Regards, > > CH > > -- > CH Chan > Research Assistant - KWH > http://www.macgrass.com > > ______________________________________________ > R-help@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. >[[alternative HTML version deleted]]
I use Wordpress.com (free public version) and add my R scripts by using simple html <pre ... </> wrap around my script. Here's an example post with R Script. http://chartsgraphs.wordpress.com/2009/02/05/r-script-to-automatically-chart-web-based-global-temperature-data/ link D Kelly O'Day http://chartsgraphs.wordpress.com -- View this message in context: http://n4.nabble.com/R-and-Wordpress-tp1568499p1570653.html Sent from the R help mailing list archive at Nabble.com.