I can not run Knit in rmarkdown

I tried running my codes in r markdown, but the console gave me an error message. What do I have to do?

processing file: Script01_Diversity-Indices-Analysis.Rmd

Quitting from lines 24-27 (Script01_Diversity-Indices-Analysis.Rmd)
Error in View(t_Amazon) : invalid 'x' argument
Calls: ... withVisible -> eval_with_user_handlers -> eval -> eval -> View
Ejecución interrumpida

It seems the object t_amazon is not an object that can be passed to View(). How is t_amazon defined? It is also strange that you are using View() in an rmarkdown script.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.