在R中加载.rda文件,获取数据帧的名称 [英] getting the name of a dataframe from loading a .rda file in R

查看:421
本文介绍了在R中加载.rda文件,获取数据帧的名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在r中加载.rda文件,这是一个保存的数据帧。我不记得了它的名字。



我尝试过

  a< -load(al.rda)

然后不让我做任何事情与a。我收到错误

 错误:对象'a'未找到

我也尝试使用= sign。



如何加载.rda文件,以便我可以使用它吗?



我用load(al.rda)支持R,我知道得到以下错误

 错误:C堆栈使用太接近限制


解决方案

我不得不重新安装R ...不知何故已经腐败了我预期的简单命令

  load(al.rda)

终于工作了。 b $ b

I am trying to load an .rda file in r which was a saved dataframe. I do not remember the name of it though.

I have tried

a<-load("al.rda")

which then does not let me do anything with a. I get the error

Error:object 'a' not found

I have also tried to use the = sign.

How do I load this .rda file so I can use it?

I restared R with load("al.rda) and I know get the following error

Error: C stack usage is too close to the limit

解决方案

I had to reinstall R...somehow it was corrupt. The simple command which I expected of

load("al.rda")

finally worked.

这篇关于在R中加载.rda文件,获取数据帧的名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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