楼主: 木风shou
11319 10

[问答] Rstudio 出现错误 [推广有奖]

  • 0关注
  • 0粉丝

本科生

26%

还不是VIP/贵宾

-

威望
0
论坛币
10 个
通用积分
2.3540
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
1424 点
帖子
26
精华
0
在线时间
98 小时
注册时间
2016-1-9
最后登录
2024-10-3

楼主
木风shou 发表于 2016-1-23 21:52:38 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
错误代码,麻烦您解答下,谢谢

Error in file(out, "wt") : cannot open the connection
In addition: Warning message:
In file(out, "wt") :
  cannot open file 'C:\Users\qiwei\AppData\Local\Temp\Rtmp8ydRAU\Rhttpd652065f16680': No such file or directory
Error in file(out, "wt") : cannot open the connection
In addition: Warning message:
In file(out, "wt") :
  cannot open file 'C:\Users\qiwei\AppData\Local\Temp\Rtmp8ydRAU\Rhttpd6520574531ac': No such file or directory
Error in file(out, "wt") : cannot open the connection
In addition: Warning message:
In file(out, "wt") :
  cannot open file 'C:\Users\qiwei\AppData\Local\Temp\Rtmp8ydRAU\Rhttpd65202323574f': No such file or directory
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:RStudio Studio dio stu connection addition message cannot Error Users

沙发
万人往LVR 在职认证  发表于 2016-1-24 11:41:36
贴代码

藤椅
hmzhl6 发表于 2016-1-24 12:18:18
开临时文件夹里面的文件?
看看directory的设置和文件path用了相对还是绝对路径吧

板凳
5傻小不点 发表于 2016-5-18 19:06:09
同问~
帮助文档用不了了

报纸
5傻小不点 发表于 2016-5-18 19:33:40
(⊙o⊙)…重启软件又没事了……

地板
Timo_JG 学生认证  发表于 2020-11-26 20:13:08
5傻小不点 发表于 2016-5-18 19:33
(⊙o⊙)…重启软件又没事了……
请问最后怎样解决了?以后有再出现吗?

7
Timo_JG 学生认证  发表于 2020-11-26 20:15:23
找到了外国人的回答:
This happens when the temporary directory used by R is deleted. This usually happens when user or the system cleans up the tmp directory while the R session is running. Typically happens if the R session is open for a long time.
Remedy is very simple. You don't actually need to restart R. Just re-create the temporary directory by:

tempdir()
# [1] "C:\Users\XYZ~1\AppData\Local\Temp\Rtmp86bEoJ\Rtxt32dcef24de2"
dir.create(tempdir())

大意是这是因为R的临时存档被删除了,因为重启会重新生成临时存档,所以重启就可以解决。但是其实可以不用重启,直接用命令
dir.create(tempdir())
重新生成临时存档就好

8
ysm__ 发表于 2023-7-9 10:11:31
请问解决这个问题了嘛,我也出现在了这个问题,一直解决不了

9
哈利- 发表于 2023-12-6 16:37:50
请问最后解决了吗,我也遇到了相同的问题

10
pingguzh 发表于 2024-1-18 14:52:30
暂时解决了这个问题,用了临时文件这个方法

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-29 23:10