작성
·
347
0
첨부한 이미지와 같이 파일 읽고 쓰기 부분 수업에서,
csv 파일로 저장한 경우 엑셀로도 열리고 r파일로도 열리는걸 확인했습니다.
그런데 rdata로 저장한 경우 어떻게 열어야 하는지를 모르겠어요. RGUI로는 안열리고, R스튜디오에서는 작업한 페이지가 열려서, 똑같이 실행해야만 보입니다. 원래 그런건가요???
Rdata읽기 알려주세요.
답변 1
0
Hey @Escape Road Game Yes, you are correct that an RData file is not meant to be opened directly in RGUI like a regular file. Instead, you load it into an R session using the load()
function. In RStudio or RGUI, you can use load("yourfile.RData")
to load the data into your workspace. Once the file is loaded, you can access the objects stored in the RData file as if they were part of your active session.