0
我運行R 3.3.0
和RStudio
在Windows10
環境中。有誰知道我爲什麼收到這條消息試圖安裝knitr
。我問這個問題沒有回答。現在我有一些時間並卸載了所有R版本和RStudio並安裝了最新版本。問題沒有消失安裝knitr - 煩惱
install.packages("knitr")
Installing package into ‘\\xxxxx.se/users/Eke/xxx/Documents/R/win-library/3.3’
(as ‘lib’ is unspecified)
also installing the dependencies ‘mime’, ‘stringi’, ‘magrittr’, ‘evaluate’, ‘digest’, ‘formatR’, ‘highr’, ‘markdown’, ‘stringr’, ‘yaml’
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/mime_0.4.zip'
Content type 'application/zip' length 37402 bytes (36 KB)
downloaded 36 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/stringi_1.0-1.zip'
Content type 'application/zip' length 14302873 bytes (13.6 MB)
downloaded 13.6 MB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/magrittr_1.5.zip'
Content type 'application/zip' length 149985 bytes (146 KB)
downloaded 146 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/evaluate_0.9.zip'
Content type 'application/zip' length 41911 bytes (40 KB)
downloaded 40 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/digest_0.6.9.zip'
Content type 'application/zip' length 169272 bytes (165 KB)
downloaded 165 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/formatR_1.4.zip'
Content type 'application/zip' length 51790 bytes (50 KB)
downloaded 50 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/highr_0.6.zip'
Content type 'application/zip' length 35707 bytes (34 KB)
downloaded 34 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/markdown_0.7.7.zip'
Content type 'application/zip' length 167098 bytes (163 KB)
downloaded 163 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/stringr_1.0.0.zip'
Content type 'application/zip' length 83487 bytes (81 KB)
downloaded 81 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/yaml_2.1.13.zip'
Content type 'application/zip' length 175759 bytes (171 KB)
downloaded 171 KB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/knitr_1.13.zip'
Content type 'application/zip' length 860259 bytes (840 KB)
downloaded 840 KB
package ‘mime’ successfully unpacked and MD5 sums checked
package ‘stringi’ successfully unpacked and MD5 sums checked
package ‘magrittr’ successfully unpacked and MD5 sums checked
package ‘evaluate’ successfully unpacked and MD5 sums checked
package ‘digest’ successfully unpacked and MD5 sums checked
package ‘formatR’ successfully unpacked and MD5 sums checked
package ‘highr’ successfully unpacked and MD5 sums checked
package ‘markdown’ successfully unpacked and MD5 sums checked
package ‘stringr’ successfully unpacked and MD5 sums checked
package ‘yaml’ successfully unpacked and MD5 sums checked
package ‘knitr’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\mali\AppData\Local\Temp\RtmpMnOG1B\downloaded_packages
Error: invalid version specification ‘NA’
In addition: Warning message:
In utils:::packageDescription(packageName, fields = "Version") :
no package 'knitr' was found