[問題] rayshader /mistr 找不到function
[問題類型]:
程式諮詢
[軟體熟悉度]:
入門(先前大多使用於統計分析與簡單繪圖)
[問題敘述]:
目前嘗試使用rayshader繪製3D的ggplots,跟隨網站上的codes下載package後
R studio 顯示找不到這些function
e.g. plot_gg 於rayshader,plotgg 於mistr
主要參考網站 https://www.tylermw.com/3d-ggplots-with-rayshader/
在頁面最底端語法的部分,前面部分順利完成,只差在最後一步plot_gg()
下載rayshader 時有顯示
tar: Failed to set default locale
推測沒有完成完整的下載過程,但不知道問題在哪
Google 類似function 還有mistr 的plotgg()
此package 有成功下載完全,但function 亦在環境中找不到
[程式範例]:
# 初次下載的方式
remotes::install_github("tylermorganwall/rayshader")
library(rayshader)
library(ggplot2)
# 之後嘗試另一種
devtools::install_github("tylermorganwall/rayshader")
# 最後皆顯示
Error: (converted from warning) Setting LC_TIME failed, using "C"
Execution halted
Error: Failed to install 'rayshader' from GitHub:
(converted from warning) installation of package ‘rgl’ had non-zero exit status
[環境敘述]:
R version 3.6.0 (2019-04-26)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS High Sierra 10.13.6
[關鍵字]:
rayshader,plot_gg,mistr
若有解釋問題不清楚的部分還請告訴我,
希望大家能給予指點與幫忙,非常感謝!
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 88.209.32.73 (德國)
※ 文章網址: https://www.ptt.cc/bbs/R_Language/M.1561669510.A.942.html
→
06/28 12:07,
5年前
, 1F
06/28 12:07, 1F
→
06/29 03:59,
5年前
, 2F
06/29 03:59, 2F
→
06/29 04:00,
5年前
, 3F
06/29 04:00, 3F
→
06/29 04:01,
5年前
, 4F
06/29 04:01, 4F
R_Language 近期熱門文章
PTT數位生活區 即時熱門文章