argument 1 (type ‘list’) cannot be handled by ‘cat’

Published by onesixx on

https://stackoverflow.com/questions/29041449/r-shiny-error-in-catlist-file-sep-fill-labels-append-argument

Error in cat(list(…), file, sep, fill, labels, append) :
argument 1 (type ‘list’) cannot be handled by ‘cat’

render함수에 list를 넘겨주는 과정에 발생하는 경우가 많다. 

예를 들어,  output$AAA <- renderText({  }) 에서  renderText() 은  a single line of text을 render하는데,  render multiple lines,이 넘어오는 경우 error가 발생한다. 

  renderText() 대신에   tagList()  를 사용하는   renderUI() 를 사용해보는 것을 고려해 보고 , 
또는 renderTable로 바꾸는 것도 생각해본다.

 

Categories: R Programming

onesixx

Blog Owner

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x