Displaying 7 results from an estimated 7 matches for "htmlinsertgraph".
2007 Dec 06
2
R2HTML how to pair graphic.png and table
...w graphisc and table are subsequent and not pair..
directory=getwd()
myfile<-file.path(directory,"testHTML.html")
HTMLoutput=file.path(directory,"testHTML.html")
graf="graf.png"
png(file.path(directory,graf))
plot(c(1:12))
dev.off()
tab<-as.matrix(c(1:12))
HTMLInsertGraph(graf,tab,file=HTMLoutput,caption="Esempio di grafico")
browseURL(myfile)
Thanks in advance
Roberto Iacopetti
--
View this message in context: http://www.nabble.com/R2HTML--how-to-pair-graphic.png-and-table-tf4956321.html#a14193218
Sent from the R help mailing list archive at Nabble.co...
2007 Jul 17
2
Combine R2HTML and Rcmd BATCH?
Hi All,
I have an R script that spawns output in the form of an HTML page. This
is done by the R2HTML package.
Now I want to run the same script using Rcmd BATCH. However, it seems
that it is not possible to use R2HTML in this case.
My script ends with this error message:
#########################
Error in dev.print(png, file = AbsGraphFileName, width = Width, height =
Height, :
can only
2008 Jan 24
1
png to html
...myplot2 <- png(file=file.path(directory,"myplot2.png"), bg="transparent")
> plot(1:10)
> rect(1, 5, 3, 7, col="white")
> dev.off()
png:C:/Documents and Settings/melyakhlifi/Bureau/myplot.png
2
> HTMLInsertGraph(myplot2,file=HTMLoutput,caption="Sample discrete distribution plot")
[1] TRUE
but when I open HTMLoutput I don't find my histogram.
Can you help me please?
Thanks.
_____________________________________________________________________________
[[alternative HTML version del...
2004 Oct 17
2
Errors while compiling packages with namespace?
...ginal code files in ./R (because I can
source them all without error). At this point, I am completelly lost. Any
help would be welcome. This package contains several hundreds of lines of
code, and NAMESPACE is quite complex:
importFrom(svMisc, listCustoms, getTemp)
importFrom(R2HTML, HTML, HTMLhr, HTMLInsertGraph, HTMLli, HTML.cormat)
importFrom(utils, browseURL, methods)
importFrom(lattice, lset)
importFrom(MASS, lda)
import(svIO, graphics, grDevices, stats)
export(guiViewsCmd,
guiViewsCSS,
guiViewsCSSChange,
guiViewsDir,
guiViewsDisplay,
guiViewsFile,
report,...
2008 Dec 31
3
Paste in a FOR loop
Hi All,
I've been having a little trouble using R2HTML and a loop, but can't figure
out where the problem lies, any hints gratefully received.
My code at the minute, (Which does work) is in the following:
library(R2HTML)
HTMLStart(outdir =
file.path("C://Example_work","R_projects","Dynamic_creative"),filename =
"RMDC_mockup",Title="Mock up for
2008 Dec 18
1
R2HTML and output from a function
Dear list,
I am trying to construct a report function that would go through all
the object in the current environment and print them in HTML form.
What I have got is:
dataReport <- function(){
#First tables
tabs <- ls(sys.frame(), pattern=".*table")
for(currT in tabs){
cat("\n\n")
print(currT)
if(length(dim(get(currT))) > 2){
#We have to use ftable
2005 Jun 10
6
us zipcode data map
i've search the email archives, searched the documention
of various map packages and done an R-site search, but
have been unable to find direct resources for creating maps
of the US that are colored or annotated or ... by zipcode
data.
For example, create a map of the US and color each zipcode
region by its population using two vectors z,p containing the
zipcode and population,