Is there function for displaying text in R window?
Is there function for displa开发者_开发知识库ying text in R window ? and how to display text written with HTML formating ?
See https://www.rdocumentation.org/packages/gplots/topics/textplot
As for HTML, I'm not sure how that makes sense--is your R window a web browser?
Maybe file.show
?
Display one or more (plain) text files, in a platform specific way, typically via a ‘pager’ (
help(file.show)
).
It isn't clear what you mean by "R window" but print
will print text:
print("Hello World")
or
x <- "Hello World"
print(x)
gives
[1] Hello World
Documentation
精彩评论