在编写rmd的时候,对rmd文件进行blogdown:::serve_site(),结果显示
Rendering content/post/2018-02-17-r语言统计入门-第二章.Rmd
Quitting from lines 32-51 (2018-02-17-r语言统计入门-第二章.Rmd)
Error in plot(thuesen$blood.glucose, thuesen$short.velocity) :
找不到对象'thuesen'
Calls: local ... withCallingHandlers -> withVisible -> eval -> eval -> plot
停止执行
Error in render_page(f) :
Failed to render 'content/post/2018-02-17-r语言统计入门-第二章.Rmd'
In addition: Warning message:
running command '"D:/software/R/bin/i386/Rscript" "D:/software/R/library/blogdown/scripts/render_page.R" "content/post/2018-02-17-r语言统计入门-第二章.Rmd" "D:/blog"' had status 1
也就是找不到对象……这是个悲伤的话题
但是我在运行rmd中的代码块时,却没有任何问题,图片也可以出来
源代码如下:
plot(thuesen$blood.glucose,thuesen$short.velocity)
attach(thuesen)
blood.glucose
search()
detach()
search()