my R Studio does not display inline output with function such like header, tail. The screenshot is attached below. The first six rows of my data frame should show at the inline output. I have tried several R and R Studio versions but neither of them worked.
R version: 3.5.1 R Studio version: 1.1.456 Windows 10
Fist, make sure you are working in an "R markdown" or "R Notebook" file, not an "R Script" file. Also check (under the gear-icon dropdown) that "Show Previews Inline" and "Chunk Output Inline" are selected.
Then, if those are true, notice that only the results from the last executed line of code will show inline. If you want to see the output of multiple lines of code, you need to put them in different code chunks. As in:
```{r}
head(JellyBelly)
```
and then
```{r}
binom.test(...)
```
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.