Title: R code problem
Last modified: August 22, 2016

---

# R code problem

 *  Resolved [hasan_hazem](https://wordpress.org/support/users/hasan_hazem/)
 * (@hasan_hazem)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/r-code-problem/)
 * Hello,
 * i have a problem with the R code, i want to put this instruction:
 * `x <- x[c(1,5)]`
 * and the result is like that on two lines:
 *     ```
       x
       [c language="(1,5)"][/c]
       ```
   
 * have you any explenation??
 * Regards
 * Alex
 * [https://wordpress.org/plugins/wp-rainbow-hilite/](https://wordpress.org/plugins/wp-rainbow-hilite/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [podpirate](https://wordpress.org/support/users/podpirate/)
 * (@podpirate)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/r-code-problem/#post-5436080)
 * Maybe a problem with the `<`?
    This HTML works for me: `<pre data-language="r"
   >x <- x[c(1,5)]</pre>`
 *  Thread Starter [hasan_hazem](https://wordpress.org/support/users/hasan_hazem/)
 * (@hasan_hazem)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/r-code-problem/#post-5436084)
 * Hello thanks for your answer,
 * i do a copy paste of your code to the text of my article and the result is the
   same:
 *     ```
       <pre data-language="r">x <- x
   
       [c language="(1,5)"][/c]
       </pre>
       ```
   
 *  Plugin Author [podpirate](https://wordpress.org/support/users/podpirate/)
 * (@podpirate)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/r-code-problem/#post-5436086)
 * Then there must be something else messing with your HTML. `[c(1,5)]` becoming`[
   c language="(1,5)"][/c]` looks pretty much like a shortcode issue – like something
   that tries to ‘sanitize’ shortcodes. Did you try to deactivate other plugins?
 *  Thread Starter [hasan_hazem](https://wordpress.org/support/users/hasan_hazem/)
 * (@hasan_hazem)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/r-code-problem/#post-5436092)
 * Hello,
 * Thanks the problem was because another plugin that i have forgot to desactivate.
 * Regards and thanks again

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘R code problem’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-rainbow-hilite.svg)
 * [WordPress Rainbow Hilite](https://wordpress.org/plugins/wp-rainbow-hilite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-rainbow-hilite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-rainbow-hilite/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-rainbow-hilite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-rainbow-hilite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-rainbow-hilite/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [hasan_hazem](https://wordpress.org/support/users/hasan_hazem/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/r-code-problem/#post-5436092)
 * Status: resolved