在 ubuntu 中删除 r 工作区 [英] remove r workspace in ubuntu

查看:40
本文介绍了在 ubuntu 中删除 r 工作区的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家

我刚刚安装了 ubuntu R,但是当我保存我的 R 工作空间时,它会在我每次从终端启动 R 时自动加载.这禁用了我想要使用的包中的几个功能.

I just installed ubuntu R, but when I saved my R work space, it loaded automatically every time when i launch R from the terminal. This had disabled couple of functions in the package i wanted to use.

我的问题是如何在 ubuntu 中删除我的 r 工作空间?知道文件的位置在哪里吗?我尝试了这个网站的建议:http://r.789695.n4.nabble.com/How-to-permanently-remove-Previously-saved-workspace-restored-td3041515.html,但我并没有真正给出明确的解决方案.

My questions is how to remove my r work space in ubuntu? any idea where the location of the file is ? I tried suggestions from this site: http://r.789695.n4.nabble.com/How-to-permanently-remove-Previously-saved-workspace-restored-td3041515.html , but i did not really give a clear solution to it.

最好的.

推荐答案

它是您工作目录中名为 .RData 的文件:

Its a file called .RData in your working directory:

> getwd()
[1] "/home/rowlings"
> system("ls .RData")
.RData

因为它以一个点开头,所以在 unix shell 中是不可见的,除非你执行 ls -a.

Because it starts with a dot its not visible in the unix shell unless you do ls -a.

这篇关于在 ubuntu 中删除 r 工作区的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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