Comments (7)
I've reproduced the issue there; it is indeed an RStudio issue and we'll try to dig in further!
from knitr-examples.
Okay. This issue belongs to the RStudio IDE and R Markdown Notebooks, so support.rstudio.com may be a better place to report it. Thanks!
from knitr-examples.
The error message looks weird to me. knitr does not write the bash code to a file before executing it. How exactly did you compile this document? I feel you might be using R Markdown Notebooks.
from knitr-examples.
Yes, but then I tried md_document, html_codcument, word_document and ioslides_presentation, none of them worked. Below shows the minimal Rmd file to generate my error.
---
title: "process"
output: md_document
---
```{bash}
echo hello world
echo 'a b c' | sed 's/ /\|/g'
```
bash: C:\Users\MyName\AppData\Local\Temp\RtmpmouNnD\chunk-code46b81ccd775f.: No such file or directory
And I can see nothing newly produced in the RtmpmouNnD directory.
from knitr-examples.
You didn't actually answer my question: how exactly did you compile this document? The Knit button on the RStudio IDE toolbar? Command-line? The toolbar above the code chunk? I wouldn't expect the last approach to work.
from knitr-examples.
Now I understand. The error occurred when I click any kind of 'run' button in the 'Run' menu on the RStudio IDE toolbar.
Command-line or type render(input="README.Rmd")
in RStudio both work well.
from knitr-examples.
@Scelta: do you see this same issue in the RStudio preview release?
from knitr-examples.
Related Issues (20)
- While using the Python Engine, can I create and embed plots in my document? HOT 3
- Zero-width space in 065-rmd-chunk.Rmd HOT 3
- No kable output in nested for loops HOT 6
- Golang example HOT 19
- Messages with false appendLF still gets seperated HOT 1
- knit.exit() for only this chunk
- Issues with commenting on code lines appearing in compiled PDF HOT 2
- Writing up a knitr document in windows but opening up in linux
- Issues in knitting on ggplots
- haskell engine error
- knitr syntax HOT 2
- Integration tests still valid ? HOT 2
- rgl update on CRAN seems to have modified the rgl example
- Recreate a mechanism to check knitr PR on a branch of knitr-examples HOT 1
- Add a GHA workflow to trigger a new check in knitr repo ? HOT 1
- Add a function in knitr to run example
- Fix issue with example 058 HOT 2
- Quarto PDF HOT 2
- Modifying powerpoint templates on Windows results on corrupt pptx file, aka "Powerpoint found a problem" HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from knitr-examples.