簡體   English   中英

R 包安裝 Jupyter notebook

[英]R package install Jupyter notebook

嘗試使用以下方法安裝 R 庫 - MAC - Jupyter 筆記本:

install.packages("TSA")

also installing the dependency ‘locfit’

Warning message in install.packages("TSA"):
“installation of package ‘locfit’ had non-zero exit status”Warning message in install.packages("TSA"):
“installation of package ‘TSA’ had non-zero exit status”Updating HTML index of packages in '.Library'
Making 'packages.html' ... done

library(TSA)

Error in library(TSA): there is no package called ‘TSA’
Traceback:

1. library(TSA)

您能檢查一下您的 R 版本(不是 RStudio)是否大於 3.5? 如果沒有,請嘗試更新它。 對於 Mac,此代碼應該可以工作: install.packages('devtools') #假設它尚未安裝 library(devtools) install_github('andreacirilloac/updateR') library(updateR) updateR(admin_password = 'Admin user password')

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM