Apply Ruby Text on RStudio Shiny

Since there has insufficient references through interner about :

  • appply ruby through linux🐧 terminal (and RStudio Shiny)
  • apply ruby text through linux🐧 terminal (and RStudio Shiny)

here I try to ask if somebody take a look? Is there any refetence about apply Ruby Text on Rails might also be reference to be called on RStudio Shiny.

I think you may be at the wrong location. Ruby text has no relation to this forum.

Rails is a full-stack framework. It ships with all the tools needed to build amazing web apps on both the front and back end.

Here, Ruby refers to the computer programming language.

1 Like
#墨学数学科学家笑傲江湖风清扬

require('BBmisc')
lib('shiny')
lib('shinyBS')

shinyApp(
 ui = fluidPage(
   'Chern Shiing-Shen', 
   tags$ruby('陈', tags$rp('(', .noWS = 'after'), 
             tags$rt('chén', .noWS = 'after'), 
             tags$rp(')', .noWS = 'after'), 
             '省', tags$rp('(', .noWS = 'after'), 
             tags$rt('xǐng', .noWS = 'after'), 
             tags$rp(')', .noWS = 'after'),
             '身', tags$rp('(', .noWS = 'after'), 
             tags$rt('shēn', .noWS = 'after'), 
             tags$rp(')', .noWS = 'after')
             ),
   br(),
   br(),
   tags$ruby('杨', tags$rp('('), 
             tags$rt('yáng'), 
             tags$rp(')'), 
             '振', tags$rp('('), 
             tags$rt('zhèn'), 
             tags$rp(')'),
             '宁', tags$rp('('), 
             tags$rt('níng'), 
             tags$rp(')')
             ),
   br(),
   br(),
   HTML('<ruby>丘<rp>(</rp><rt>qiū</rt><rp>)</rp>成<rp>(</rp><rt>chéng</rt><rp>)</rp>桐<rp>(</rp><rt>tóng</rt><rp>)</rp></ruby> !')
 ),
 
 server = function(input, output) {
 }
)

Its work when not apply on shiny::validate(), any better idea?

Originally posted by @englianhu in Apply Ruby-Text on shiny · Issue #3612 · rstudio/shiny · GitHub

There has advanced r packages shinyvalidate and shinyFeedback while I manage to resolve by apply most simple if() else() #3612 (comment) although that’s not perfect, unless can apply Ruby-Text on shiny~

Originally posted by @englianhu in Apply Ruby-Text on shiny · Issue #3612 · rstudio/shiny · GitHub


【幕后花絮】Ruby Text 01 (2022-04-18_16-28-14) - Ryo Eng的视频 - 知乎

【幕后花絮】Ruby Text 02 (2022-04-18_16-49-38) - Ryo Eng的视频 - 知乎