问题描述
由于一个愚蠢的错误和有缺陷的 U 盘,我丢失了大量数据,我现在正在尝试恢复它.
Due to a stupid mistake and a defective USB stick I lost a bunch of data and I am now trying to recover it.
当我打开 RStudio 时,某些数据仍显示在查看器选项卡中.但是,我只能从查看器中保存 R 脚本和 R Markdownfiles.显示的数据框很好且完整,我可以在查看器中对它们进行排序和过滤,但是,我找不到保存"选项.是否有可能将此显示的数据保存到 Rdata 或 csv 或类似的东西中?
Some of the the data is still displayed in the Viewer tabs when I open RStudio. However, I can only save R Scripts and R Markdownfiles out of the Viewer. The displayed data frames are nice and complete, I can sort and filter them in the Viewer, however, I cannot find a "save" option. Is there a possibility to save this displayed data into Rdata or csv or something similar?
推荐答案
谢谢大家,有一种方法可以将数据作为 Rdata 文件访问,很好地向我解释了 这里
Thanks everybody, there is a way to access the data as Rdata files, which was kindly explained to me here
我使用了第二种方法并将文件定位在 %localappdata%\RStudio-Desktop\viewer-cache
中.
I used the second method and located the files in %localappdata%\RStudio-Desktop\viewer-cache
.
这篇关于RStudio:从查看器保存数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!