Dear All,
I am working on some slides using LaTeX/Beamer and R/Sweave.
I have the two questions below (sorry if they are stupid or already solved but I didn't find solutions on the web).

1) Using the following code:
\begin{frame}[containsverbatim]
<<echo=TRUE>>=
help('dim')
@
\end{frame}

I have only:
> help("dim")
on the slide. Is it possible to directly include in the slide the help of the function?

2) Using the following code:
\begin{frame}[containsverbatim]
<<echo=TRUE>>=
1:5 + 1:3
@
I have in the slide:
> 1:5 + 1:3
[1] 2 4 6 5 7
How can I print also the related Warning message on the slide?

Thanks in advance for the help,
domenico

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to