[Rcpp-commits] r975 - pkg/base64/man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sun Apr 4 11:49:55 CEST 2010
Author: romain
Date: 2010-04-04 11:49:55 +0200 (Sun, 04 Apr 2010)
New Revision: 975
Modified:
pkg/base64/man/img.Rd
Log:
remove stage=render to make Rd2dvi happy
Modified: pkg/base64/man/img.Rd
===================================================================
--- pkg/base64/man/img.Rd 2010-04-04 08:20:41 UTC (rev 974)
+++ pkg/base64/man/img.Rd 2010-04-04 09:49:55 UTC (rev 975)
@@ -10,20 +10,22 @@
\details{
The following graph is embedded in the document using the \code{img} function
-\ifelse{html}{
-\Sexpr[stage=render,results=rd,echo=FALSE]{
- # library( base64 )
- # library( grDevices )
- # library( graphics )
- # library( stats )
+\ifelse{html}{
+ \Sexpr[results=rd, echo=FALSE]{
+
+ library( base64 )
+ library( grDevices )
+ library( graphics )
+ library( stats )
pngfile <- tempfile()
png( pngfile, width = 600, height = 400 )
plot( 1:100, rnorm(100), pch = 21, bg = "red", cex = 2 )
dev.off()
img( pngfile, Rd = TRUE )
-}
-}{}
+
+ }
+}{ image not available in this format }
}
More information about the Rcpp-commits
mailing list