[英]Swirl loading issue
下載了swirl
包,並以zip格式下載了所有文件,但運行命令以在R中解壓縮時,它顯示以下消息
install_course_zip("~/Downloads/swirl_courses-master.zip", multi=TRUE, which_course="R Programming")
解壓縮錯誤(路徑,列表= TRUE):zip文件'C:/Users/sony/Documents/Downloads/swirl_courses-master.zip'無法打開
第一步(安裝R之后,當然要啟動R):
> install.packages('swirl')
--- Please select a CRAN mirror for use in this session ---
trying URL ...Your selected CPAN mirror...
Content type 'application/x-gzip' length 98565 bytes (96 KB)
==================================================
downloaded 96 KB
* installing *source* package 'swirl' ...
** package 'swirl' successfully unpacked and MD5 sums checked
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (swirl)
The downloaded source packages are in
'/tmp/RtmpUfIWep/downloaded_packages'
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
請注意,一開始,當要求您選擇CPAN鏡像時,將出現一個圖形菜單,您必須在其中單擊選擇。
然后加載庫以使用其功能:
library(swirl)
最后,安裝該課程(注意:在此之前不要啟動swirl()
):
> install_from_swirl("R Programming")
|======================================================================| 100%
| Course installed successfully!
然后,開始課程:
> swirl()
| Welcome to swirl! Please sign in. If you've been here before, use the same
| name as you did then. If you are new, call yourself something unique.
What shall I call you?
告訴我這些步驟是否失敗。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.