Re: [問題] 讀入"鴴" "鸊鷉" 等怪字
※ 引述《celestialgod (攸藍)》之銘言:
因為xls可以存取UTF-8位元,昨天就有想到可以直接讀取xls。
但rJava這個package一直裝不進去...
install.packages('rJava') #這部分沒有問題
library(rJava) #這邊就產生下面的錯誤訊息
Error : .onLoad failed in loadNamespace() for 'rJava', details:
call: fun(libname, pkgname)
error: No CurrentVersion entry in Software/JavaSoft registry! Try
re-installing Java and make sure R and Java have matching architectures.
Error: package or namespace load failed for ‘rJava’
Java版本不太會查,不知道是不是這個?
已經有用Java upload檢查過了是最新版,
build 1.8.0_45-bl5
截圖如下:
http://imgur.com/bUPpe9f
補上sessionInfo()
R version 3.2.1 (2015-06-18)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1
locale:
[1] LC_COLLATE=Chinese (Traditional)_Taiwan.950
[2] LC_CTYPE=Chinese (Traditional)_Taiwan.950
[3] LC_MONETARY=Chinese (Traditional)_Taiwan.950
[4] LC_NUMERIC=C
[5] LC_TIME=Chinese (Traditional)_Taiwan.950
: xls部分
: 好讀上色版:http://pastebin.com/2L5UrhSq
: library(rJava)
: library(xlsx)
: library(data.table)
: library(magrittr)
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 111.82.229.240
※ 文章網址: https://www.ptt.cc/bbs/R_Language/M.1435993340.A.8D4.html
→
07/04 15:04, , 1F
07/04 15:04, 1F
→
07/04 15:18, , 2F
07/04 15:18, 2F
→
07/04 15:19, , 3F
07/04 15:19, 3F
討論串 (同標題文章)
完整討論串 (本文為第 3 之 6 篇):
R_Language 近期熱門文章
PTT數位生活區 即時熱門文章