全屏模式下的 R Notebook

R Notebook in fullscreen mode

我正在尝试放大 R 笔记本的 window,但似乎最大尺寸是屏幕的一半。是否可以在全屏模式下在 R 笔记本中书写?


编辑:我指的是左侧的 window。

您可以在您的 Rmd 文件中添加一些 css 以覆盖 R Notebook 预览的宽度限制:

---
title: "R Notebook"
output: html_notebook
---

<style>
.main-container {
  max-width: 100% !important;
}
</style>

This is an [R Markdown](http://rmarkdown.rstudio.com) Notebook. When you execute code within the notebook, the results appear beneath the code. 

Try executing this chunk by clicking the *Run* button within the chunk or by placing your cursor inside it and pressing *Ctrl+Shift+Enter*. 

您可以通过单击“视图”>“窗格”>“缩放源”

使 RStudio 编辑器的源代码 window 全屏显示