如何在 Spyder & 中永久设置工作目录工作室? [英] How to set working directory pemanently in Spyder & RStudio?

查看:75
本文介绍了如何在 Spyder & 中永久设置工作目录工作室?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经开始学习 - Windows 操作系统上的机器学习课程.每当我启动 Spyder 3.2.4(Python 3.6) & 的新实例时RStudio(1.1.383),每次我需要在这些 IDE 中设置我当前的工作目录时.有没有办法永久设置它们?

I have started learning - Machine learning course on Windows OS. Whenever I start a new instance of Spyder 3.2.4(Python 3.6) & RStudio(1.1.383), every time I need to set my current working directory in these IDEs. Is there any way to set them pemanently?

推荐答案

要在以下位置永久设置工作目录:1. Spyder IDE:Tools > Prefeences > Current working directory > 以下目录2. RStudio IDE:工具>全局选项...>常规>默认工作目录(不在项目中时)

To set working directory permanently in: 1. Spyder IDE: Tools > Prefeences > Current working directory > the following directory 2. RStudio IDE: Tools > Global Options... > General > Default working directory (when not in a project)

PS: 是的,我们需要在两个 IDE 中重新启动应用程序才能取变更生效.

PS: Yes, we need to restart the application in both IDEs to take changes in effect.

这篇关于如何在 Spyder & 中永久设置工作目录工作室?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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