R或其他可以將AWS Redshift羣集連接到R閃亮應用程序的任何現有軟件包?我試圖使用Shiny構建交互式儀表板,數據源主要是Amazon Redshift或S3。任何可行的替代方案或建議也受到歡迎。Redshift to R Shiny Connectivity
0
A
回答
0
我在過去使用RJDBC和RPostgreSQL進行連接 - 兩者都很好。
請記住,Shinyapps.io不支持ODBC和JDBC Redshift驅動程序(因爲Shinyapps.io是在Ubuntu上構建的) - 因此RPostgreSQL可能是您最好的選擇。
在RJDBC或RPostgreSQL中獲得工作連接非常容易。
0
我使用R Shiny與紅移,非常好的結果。 首先,你必須安裝
library(RPostgreSQL)
library(shinydashboard) #just if you want to use nice dashboards
drv <- dbDriver("PostgreSQL")
conn <- dbConnect(drv, host="blabla.eu-west-1.redshift.amazonaws.com",
port="5439", dbname="xx, user="aaaaa", password="xxxxx")
conn #run you connection
test <-data.frame(dbGetQuery(conn, "select * from youtbalename"))
這是爲我工作。
相關問題
- 1. Amazon Redshift to Glacier
- 2. R Shiny Destroy ObserveEvent
- 3. 雙擊R-shiny
- 4. Shiny R重置dataTableOutput
- 5. R Shiny:「All」Radio Button
- 6. R Shiny和p5.js
- 7. R Shiny eventReactive actionBotton interaction
- 8. R Shiny observeEvent問題
- 9. Latex,RenderTable in Shiny,R
- 10. R Shiny HTML集成
- 11. R Shiny selectInput活動
- 12. R中的多個圖Shiny
- 13. 操作textInput在R Shiny
- 14. 更改顏色actionButton Shiny R
- 15. Filemaker和Quickbook Connectivity
- 16. eclipse mysql connectivity
- 17. R shiny部署上shinyApps.io
- 18. R Studio Server/Shiny Server Admin
- 19. R Shiny dropdownButton反應大小?
- 20. Couchbase和R Shiny - 流數據
- 21. Shiny output and R MarkDown render_site()
- 22. Shiny R:執行Slider輸入
- 23. R Shiny App:Reactive/Calculate column in Rhandsontable
- 24. R中的空格Shiny
- 25. R Shiny MySql窗口認證
- 26. 使用R下載Excel Shiny
- 27. R Shiny App國際化
- 28. Multipeer Connectivity foundDevice兩次
- 29. 在R中格式化文本Shiny
- 30. Fasta to dataframe - R
您是否檢查過此https://blogs.aws.amazon.com/bigdata/post/Tx1G8828SPGX3PK/Connecting-R-with-Amazon-Redshift – error2007s