建立一個筆記本

你可以使用選單命令檔案 - >新檔案 - > R 筆記本在 RStudio 中建立新筆記本
如果你沒有看到 R Notebook 的選項,則需要更新你的 RStudio 版本。有關安裝 RStudio 的資訊,請參閱本指南 StackOverflow 文件