[程式] [R]package無法使用
[軟體程式類別]:
R
[程式問題]:
package使用問題
[軟體熟悉度]:
中(3個月到1年)
[問題敘述]:
因為需要處理.jpg的影像,所以我到網路上搜尋到一個名為"ReadImages"的package,
可參考此處 http://cran.r-project.org/web/packages/ReadImages/ReadImages.pdf
但下載完載入package的時候,R給了我以下的訊息
Error in inDL(x, as.logical(local), as.logical(now), ...) :
無法載入共享函數庫「
C:/PROGRA~1/R/R-29~1.2/library/ReadImages/libs/ReadImages.dll」:
LoadLibrary failure: 找不到指定的模組。
錯誤在library(pkg, character.only = TRUE) :
.First.lib failed for 'ReadImages'
不知道是哪邊出了問題。
然而仔細閱讀所提供的PDF檔中發現此段敘述(在PDF檔第一頁)
Description This package provides functions for reading JPEG and PNG files.
This package requires
libjpeg <http://www.ijg.org>. This package can be used on Unixes / MacOS X /
Windows.
依照上面的指示,我在網站中下載了jpegsr7.zip這隻檔案,但不知道要如何使用才能使
我要的package可以正確安裝,請有經驗的板友幫忙指正一下,感謝!
-----------------------------------------------------------------------------
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.116.52.220
→
09/07 00:42, , 1F
09/07 00:42, 1F
→
09/07 00:44, , 2F
09/07 00:44, 2F
→
09/08 01:28, , 3F
09/08 01:28, 3F
→
09/08 01:30, , 4F
09/08 01:30, 4F
→
09/08 01:31, , 5F
09/08 01:31, 5F
→
09/08 01:31, , 6F
09/08 01:31, 6F
→
09/08 01:33, , 7F
09/08 01:33, 7F
→
09/08 10:16, , 8F
09/08 10:16, 8F