2017-10-23 5 views
0

다음 장난감 예를 참조하십시오. 도움이 될 것입니다. 감사!R 반짝이는 버튼 줄의 레이블

shinyApp(
ui = fluidPage(
    actionButton("btnId", "I want a line break here <br/> since the label is too long")), 
server = function(input, output){}) 

답변

1

이 같은 HTML 기능을 사용할 수 있습니다

library(shiny) 

    shinyApp(
     ui = fluidPage(
     actionButton("btnId", HTML("I want a line break here <br/> since the label is too long"))), 
     server = function(input, output){})