GithubHelp home page GithubHelp logo

% used for comments about r-box HOT 5 CLOSED

vnijs avatar vnijs commented on July 20, 2024
% used for comments

from r-box.

Comments (5)

randy3k avatar randy3k commented on July 20, 2024

it is because the latex syntax has been imported to Rmarkdown, we may need to tailor make the latex syntax for Rmarkdown.

from r-box.

randy3k avatar randy3k commented on July 20, 2024

My best suggestion for the moment is to use \% if you want to show the percentage sign.

from r-box.

vnijs avatar vnijs commented on July 20, 2024

It actually shows the % sign just fine already. In fact % would print % when passed to knitr. It just seems that % is used by R-box as comment indicator anywhere in an Rmd file, not just within a formula (e.g., $…$ or $$…$$). Presumably this is defined in the syntax file for Rmd.

From: Randy Lai <[email protected]mailto:[email protected]>
Reply-To: randy3k/R-Box <[email protected]mailto:[email protected]>
Date: Saturday, December 6, 2014 at 12:05 AM
To: randy3k/R-Box <[email protected]mailto:[email protected]>
Cc: Vincent Nijs <[email protected]mailto:[email protected]>
Subject: Re: [R-Box] % used for comments (#25)

My best suggestion for the moment is to use % if you want to show the percentage sign.


Reply to this email directly or view it on GitHubhttps://github.com//issues/25#issuecomment-65889471.

from r-box.

randy3k avatar randy3k commented on July 20, 2024

The comment is anywhere since the latex syntax is imported anyway....

from r-box.

randy3k avatar randy3k commented on July 20, 2024

This is solved in the latest RMarkdown syntax.

from r-box.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.