本文介绍了R:source_gist不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试使用 devtools 包中的 source_gist ,但是遇到错误:
I am trying to use source_gist from the devtools package but I am encountering an error:
> library(devtools) > source_gist("524eade46135f6348140") Error in r_files[[which]] : invalid subscript type 'closure'谢谢您的建议。
推荐答案同意这是一个错误,我发现您已经已提交。
Agree this is a bug, which I see you've submitted.
一种临时解决方法是指定文件名选项:
A temporary workaround is to specify the filename option:
devtools::source_gist("524eade46135f6348140", filename = "ggplot_smooth_func.R")更多推荐
R:source
发布评论