How to see data from .RData file?

后端 未结 8 1798
梦谈多话
梦谈多话 2020-11-29 02:23

I saw some similar qestions and I tried to work it out on my own, but I couldn\'t. This is my problem:

I have to load a isfar.RData file to use it in other computati

8条回答
  •  醉话见心
    2020-11-29 03:02

    Look at the help page for load. What load returns is the names of the objects created, so you can look at the contents of isfar to see what objects were created. The fact that nothing else is showing up with ls() would indicate that maybe there was nothing stored in your file.

    Also note that load will overwrite anything in your global environment that has the same name as something in the file being loaded when used with default behavior. If you mainly want to examine what is in the file, and possibly use something from that file along with other objects in your global environment then it may be better to use the attach function or create a new environment (new.env) and load the file into that environment using the envir argument to load.

提交回复
热议问题