shinyAce
shinyAce
The shinyAce
package enables Shiny application developers to use the Ace text editor in their applications. All current modes (languages) and themes are supported in this package. The mode, theme, and current text can be defined when the element is initialized in ui.R
or afterwards using the updateAceEditor()
function. The editor registers itself as a reactive Shiny input, so the current value of the editor can easily be pulled from server.R
using input$yourEditorsName
.
설치하기
**R 콘솔창에서 실행하는 명령어 입니다.
#만약 이미 devtools가 설치 되어있다면 이 명령어는 안쓰셔도 됩니다!
>install.packages("devtools")
devtools : Tools to Make Developing R Packages Easier
>library(devtools)
# shinyAce 설치하기 - github에서 가져와서 설치가 되는 겁니다!
>install_github("shinyAce","trestletch")
예제 실행해보기
**R 콘솔창에서 실행하는 명령어 입니다.
>runGitHub(:shinyAce","trestletech",subdir="inst/ezamples/01-basic")
https://www.r-project.org/nosvn/pandoc/shinyAce.html
여기 내용을 참조해서 썼습니다!
https://github.com/trestletech/shinyAce
참조할 gitbub 입니다!