0
嗨,我是rCharts的新手,絕對可以使用一些幫助。當我嘗試運行以下時遇到以下錯誤。rCharts dTable Error
代碼:
dTable(airquality, sPaginationType = "full_numbers")
錯誤:
Error in as.character(tools:::httpdPort) :
cannot coerce type 'closure' to vector of type 'character'
而且當我嘗試dTable我得到的消息:
No documentation for ‘dTable’ in specified packages and libraries:
you could try ‘??dTable’
我安裝使用rCharts和devtools:
install.packages("devtools")
和
install.packages("base64enc")
devtools::install_github("ramnathv/rCharts")
然後我打電話給使用庫(devtools)和庫(rCharts)這兩個庫。
任何提示非常感謝。
dTable(...)在rCharts中不存在。但是,你對它拋出的錯誤有了一個很好的暗示。 – miles2know
@ miles2know yes確實如此。我們可以檢查命名空間並查看它是否存在。 rCharts :: dTable。 由於沒有與dTable函數關聯的文檔,OP得到此錯誤 –
也請提供一個可重現的錯誤示例 –