其他資料:從Github上輕松安裝R包—githubinstall包
報錯信息:
在R中安裝github R包時彈出了下方的錯誤
install_github('dviraran/xCell')
#彈出下方錯誤
Error in nchar(object, type = "chars") : invalid multibyte string, element 1
image.png
解決辦法:
在R的窗口上運行Sys.setlocale(category = "LC_ALL", locale = "us")
即可解決
輸入install_github('dviraran/xCell')
,成功安裝該包
image.png