![](/img/trans.png)
[英]conditionalpanel in shiny tabBox
在下面的 shiny 應用程序中,如果用戶選擇是sh ,我希望在框中有第二個選項卡,所以我期待conditionalPanel命令可以解決問題:但它不起作用: ...
[英]conditionalpanel in shiny tabBox
在下面的 shiny 應用程序中,如果用戶選擇是sh ,我希望在框中有第二個選項卡,所以我期待conditionalPanel命令可以解決問題:但它不起作用: ...
[英]Shiny plot is outside the dashboardBody
請參閱附圖。 你有什么建議如何避免 plot 在白色區域之外,或者使 plot 白色下方的灰色區域? ...
[英]How to keep DT table borders within tabBox()
我想在 tabBox() 中控制 DT 表 output 的 position: 這個示例應用程序給出了這個: 如您所見,DT 表超出了 tabBox 面板的邊界。 我們如何強制 DT 保留在 tabBox 面板(寬度和高度)內。 所需的 output: ...
[英]Position title in the header in shinydashboard
有了這個基本的 shiny 應用程序:我想 position 我在 header 中的標題如下圖中的紅色所示: 已經有一些解決方案Add text on right of shinydashboard header但我想知道是否有更“直接”的方式? @matrixloading 的解決方案很吸引 ...
[英]disable does not work for downloadButton when using uiOutput/renderUI
我有一個簡單的 ui/server 模塊。 當我嘗試使用 uiOutput/renderUI 時,禁用/啟用 function 不起作用。 但是,如果我直接在 ui 中調用 ui 模塊,它就可以正常工作。 ...
[英]How to handle exception in R like in Java?
我正在 R 中編寫一個服務器程序,我在其中上傳 PDF 個文件,然后從 pdf 中的表中提取數據。 如果需要的表和數據在那里,它工作正常。 但如果不是,它會給我文件 [i][[1]][[3]] 和文件 [i][[1]][[4]] 的錯誤。 如果表格不存在,我想將買賣價格默認為 NA。 但是如果表不 ...
[英]Is there an easier/tidier/better way of creating multiple, relative dynamic user selection drop downs?
我正在構建一個 shiny 儀表板,我想讓用戶可用的選擇反映用戶已經做出的選擇。 就像是: 第一選擇器:選項 A 或選項 B 第二個選擇器: 等等我想知道是否有比我做的更簡單、更簡潔的方法(即嵌套 if else 調用)。 這是我的做法(這段代碼並不真正依賴於任何數據 - 你應該能夠將它放入你的控 ...
[英]Dynamic UI/Server Modules in Shiny Dashboard Based on Inputs in UI
假設我在 4 個不同的目錄中有 4 組 UI/服務器模塊 ("./X1/Y1/", "./X1/Y2/", "./X2/Y1/", "./X2/Y2/ ”)。 我想根據側邊欄中的輸入加載所選集。 我嘗試在dashboardBody()中使用source() ) ,但沒有成功。 ...
[英]R-shiny:Plot not rendered in shiny but works fine in r-script
我正在根據用戶輸入創建時間序列 plot。 該應用程序運行沒有任何問題,但未生成 plot。 但是,相同的代碼會在常規 r 腳本中生成 plot。 我看不出 shiny plot 不渲染的原因。 測試數據: R 腳本:這工作正常並根據需要生成 plot R-shiny(不生成情節) 用戶界面 ...
[英]Perform operations on data that has been split into tabls e.g sum of a column in r
我想對已拆分為表的數據進行操作。 這些操作實際上應該影響所有表,例如列的總和這是我用來分割數據框的代碼。 ...
[英]How to dynamically pass column name in e_bar (echarts4r) function?
我有一個 dataframe,其中包含每年每個大陸的計數。 下面是dataframe。 這是我用來創建圖表的 R 腳本 圖形條狀圖我的期望是如何動態傳遞此列名。 上面的 dataframe 是樣本數據集,年份列不斷增加。 我的想法是每個大陸最多顯示 3 個條。 我嘗試的是,有一個開始年份和結束年份 ...
[英]R flexdashboard Error in disabling the submit button even if there is no radio button option is selected or when any option is selected
在我的 flexdashboard 代碼中,我想做的是: 最初,沒有選擇單選按鈕,只有兩個選項選項(單選按鈕)一是上傳數據,選項二是連接到 MySQL 服務器以檢索數據代碼如下所示: 當沒有選擇單選按鈕或選擇Data from Database中的數據選項時,我想禁用submit按鈕。 但是,當單選 ...
[英]Aligning verbatim text output to text input in fluidrow - R Shiny
我正在嘗試顯示一些輸入字段以及從另一個選項卡輸入的一些 output 字段。 然而,output 字段在下方,無法與 rest 對齊。 代碼如下:- ...
[英]one of the dropped column appears when trying to hide index column in r shiny rendered table
我正在嘗試在代碼的以下部分使用rowname=FALSE刪除索引列表單 R shiny 渲染表。 但不知何故,刪除的列“模式”仍然出現在呈現的表中。 我不明白代碼的問題在哪里。 很感謝任何形式的幫助。 數據: ...
[英]menuitem inside box in shinydashboard mainpanel
我想知道我是否可以在 shiny 應用程序的儀表板體內放置類似menuitem的東西? 在我下面的示例中,菜單項在側邊欄菜單內工作,但不在框內menuitem ! ...
[英]how to deploy R Shiny app on Azure App Services with Azure Active Directory Integration
我正在使用 Microsoft azure 服務,在 azure 機器學習中,我正在使用 R Studio 創建 shiny web 應用程序。 一切正常。 但是我想借助 Azure Active Directory 身份驗證在 Azure 應用程序服務中部署 R Shiny 應用程序在Azure ...
[英]How do I sort values in a shiny app dropdown menu
這是我目前正在使用的代碼: 這個想法是,當通過瀏覽按鈕提示上傳新數據時,單選按鈕出現在 select 列,對於所選列,下拉菜單是動態創建的,該子集根據唯一值顯示數據。 我想修改代碼以便對下拉菜單中的唯一值進行排序,但我終生無法弄清楚如何修改代碼而不在讀取數據時產生錯誤。 ...
[英]Color dynamic box() based on the value which comes from a widget inside the dynamic box() in a shiny app
在下面的shiny應用程序中,我根據包含在box()中的sliderInput()的值為框着色。 問題是如果框沒有值,它最初不會顯示。 ...
[英]Change the color of the same box based on of condition in shiny app
我有下面的shiny應用程序,我在其中嘗試if條件 2 為框着色,但我無法更改它。 ...
[英]Add colored bar in the left side instead of the top of shinydashboard() box
我可以在 shinydashboard 中創建一個box() ,它在左側而不是頂部有紅色條嗎? 像這兒: 我的想法來自:這里。 如果沒有內置解決方案的shinydashboard() ,也許我可以用另一種方式添加它。 ...