Rstudio 组织项目源文件 [英] Rstudio organizing project source files

查看:43
本文介绍了Rstudio 组织项目源文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对我来说,我真的很喜欢 Rstudio 编辑器中的 Tab 键.我的统计项目通常涉及几个文件,它们分别读入源数据、组织分析数据、生成表格和图形,偶尔还会修改数据库.我在编写项目时经常在 .R 文件之间切换.

To me, I really enjoy the tabbing in Rstudio's editor. My statistical projects usually involve several files which separately read in source data, organize analytic data, generate tables and graphics, and occasionally modify databases. I'm often switching between .R files while I code up a project.

以合乎逻辑的方式组织项目文件对我来说非常重要.它提高了我自己和其他人的可读性.但是,我不会对它们进行线性编程.有时我从表格/图形规范开始,然后从编程源数据开始.这会使项目文件变得杂乱无章.

It's really important to me to have the project files organized in a logical way. It enhances readability for myself and others. However, I don't program them linearly. Sometimes I start toward the end with table/graphic specifications, then start upon programming source data. This leaves the project files unorganized.

有什么办法可以改变项目文件的顺序吗?

Is there any way to change the order of the project files?

推荐答案

这个问题是很久以前提出的 (见这里).我认为开发人员尚未解决此功能请求.

This issue was raised sometime ago (see here). I think the developers haven't addressed this feature request yet.

我的解决方法是关闭文件并按照我希望的顺序重新打开它们.

My work around is to close the files and reopen them in the order I would like them to be arranged.

这篇关于Rstudio 组织项目源文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆