search for: savehtml

Displaying 9 results from an estimated 9 matches for "savehtml".

2011 Jan 04
0
Package animation update (v2.0-0)
Hi, The animation package 2.0-0 is on CRAN now. This version is a milestone of the animation package. It includes a new function saveHTML() which uses a much more elegant interface and is consistent in syntax with other save*() functions such as saveMovie(), saveSWF() and saveLatex(). Lots of demos have been added to demonstrate the flexibility of this package, e.g. now we can get the snapshots of rgl 3D plots and insert them into La...
2011 Jan 04
0
Package animation update (v2.0-0)
Hi, The animation package 2.0-0 is on CRAN now. This version is a milestone of the animation package. It includes a new function saveHTML() which uses a much more elegant interface and is consistent in syntax with other save*() functions such as saveMovie(), saveSWF() and saveLatex(). Lots of demos have been added to demonstrate the flexibility of this package, e.g. now we can get the snapshots of rgl 3D plots and insert them into La...
2011 Feb 01
1
Setting maximum value of the legend on an image.plot and animation
Hello, I'm doing the following: library(ncdf) library(fields) library(animation) saline <- open.ncdf("salinity_1990.nc") salt = get.var.ncdf(nc=saline, varid="Salinity") # create an animation of the complete temporal domain in the ncdf file. saveHTML({ for (i in 1:364) { image.plot(salt[, , i]) } }, img.name = "salinity.img", imgdir = "salinity_dir", htmlfile = "salinity.html", zmax = c(0, 80), autobrowse = FALSE, title = "TIME SALINITY PREDICTIONS", description...
2011 Jan 10
0
Package animation update 2.0-1
...e ?graphics made by low-level plotting commands (see ?ani.record for ?examples) SIGNIFICANT CHANGES ? ?o the function tidy.source() was completely removed from this ?package; users should go to the formatR package (tidy.source() is ?there now) MINOR CHANGES ? ?o the argument 'expr' in saveHTML(), saveLatex(), saveMovie() and ?saveSWF() will be evaluated by eval(), so we may pass a real R ?expression (see ?expression) to 'expr', e.g. saveHTML(expression(for ?(i in 1:10) plot(runif(30)))); but note this argument does not *have ?to* be a real R expression -- you can still use an arb...
2011 Jan 10
0
Package animation update 2.0-1
...e ?graphics made by low-level plotting commands (see ?ani.record for ?examples) SIGNIFICANT CHANGES ? ?o the function tidy.source() was completely removed from this ?package; users should go to the formatR package (tidy.source() is ?there now) MINOR CHANGES ? ?o the argument 'expr' in saveHTML(), saveLatex(), saveMovie() and ?saveSWF() will be evaluated by eval(), so we may pass a real R ?expression (see ?expression) to 'expr', e.g. saveHTML(expression(for ?(i in 1:10) plot(runif(30)))); but note this argument does not *have ?to* be a real R expression -- you can still use an arb...
2009 Jun 04
0
XSS (was Re: Centos 5.3 -> Apache - Under Attack ? Oh hell....)
...libxml2 will encode them and there seems to be no way to stop it from doing it (at least with the php wrapper to libxml2). However if the document to be filtered is xhtml, you can use importXML() on it libxml2 does the right thing in leaving the mb characters alone. Once filtered, you can use saveHTML() to produce html instead of xhtml for browser compatibility, it seems saveHTML() is mb safe.
2012 Jun 14
0
Animation problem
...0 105 350 2 2 cut 20 1 105 630 2 3 smilie 30 1 185 325 2 4 coho 40 0 280 250 2 5 mar 50 0 380 315 3 1 xbow 10 0 105 350 3 2 cut 20 0 105 630 3 3 smilie 30 1 185 325 3 4 coho 40 1 280 250 3 5 mar 50 1 380 315 And my code: saveHTML({ nmax <- length(unique(tagdata$Day)) # set the interval (secs) between panels oopt <- ani.options(interval = 1, nmax = nmax) # plot the jpeg for( i in 1 : nmax){ plot(BCan, xlim = c(50, 800), ylim = c(200, 700)) # to keep the map (jpeg) from disappearing at each iterat...
2012 May 31
0
Incorporate a shapefile with an package animation
...n getinfo.shape(filen) : Error opening SHP file # change to the working directory where the NetCDF file is stored setwd("A:\\Work_Area\\Steve\\EDEN") eden <- open.ncdf("Jan_9-28_2011_q1_rt.nc") print(eden) Stage <- get.var.ncdf(nc=eden, varid = "stage") saveHTML({ for (i in 1:90) { image.plot(Stage[, , i], zlim=c(-20,500), main = "EDEN Jan 10 - 28 2011\n Uncorrected Real Time Stage") plot(ENP_WCA, col="black") } }, img.name = "Stage.img", imgdir = "EDEN_dir", htmlfile = &...
2011 Jun 15
1
animation error
Hello, While running the following code I encountered a bit of a funny error. First the code: library(animation) ani.options(convert = shQuote('C:/Program Files/ImageMagick-6.7.0-Q16/convert.exe')) plot.ani<-function() { for (ts in 1:730){ dat<-read.table(paste("c:/temp/ConcProfile_",ts,".txt",sep=""),