GithubHelp home page GithubHelp logo

Build with R markdown (.Rmd) about r-box HOT 5 CLOSED

hungmtuci avatar hungmtuci commented on July 20, 2024
Build with R markdown (.Rmd)

from r-box.

Comments (5)

jvcasillas avatar jvcasillas commented on July 20, 2024

I currently have the same issue. When I ran a system check using LaTeXing it showed the Rscript was missing. I reinstalled the latest version of R and the system check now finds Rscript, but I still get the same error that @hungmtuci mentions above.

from r-box.

hungmtuci avatar hungmtuci commented on July 20, 2024

I found one temporary solution to display the figure in .md file.

If you run the command knit() in terminal by copying from the Sublime console. The figure folder will be created in ~\user.

Fortunately, if you open R

  1. run setwd("\folder containing file .Rmd")
  2. run knit("file.Rmd")

The figure folder and file.md are both generated in \folder containing file .Rmd. Now you can open file.md with figures.

The advantage when you run knit() in R or in terminal. It will stop if the chunk has error, the errors will be appeared in the result. But if you run through the Rstudio or by other command, file building will be stopped immediately when the chunks get issue.

Hope someone can fix this, and just simple run direct from sublime

from r-box.

jvcasillas avatar jvcasillas commented on July 20, 2024

Just to add a bit more, I've been told elsewhere to add /usr/local/bin to my path in ~/.bash_profile, but this did nothing for me.

from r-box.

cnjr2 avatar cnjr2 commented on July 20, 2024

I have exactly the same setup as @hungmtuci: I use Sublime text 3 in Mac OS 10.11 with R 3.2.2 and R-Box 2.6.6 and get the same error.

from r-box.

randy3k avatar randy3k commented on July 20, 2024

It is because the PATH variable is handled differently in MAC OS applications. A possible fix is
by https://github.com/int3h/SublimeFixMacPath

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.