Displaying 20 results from an estimated 100 matches similar to: "Using R2HTML"
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 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
2011 Sep 21
1
Making ?source act as if it is run through the terminal
Hello dear R help,
The motivation for my question is wanting to run HTMLStart {R2HTML package}
from "source".
*Background:*
I was happy to discover the [ HTMLStart/HTMLStop, HTMLplot] functions in the
R2HTML package.
They allow my R code to run almost as is, but while writing most of the
output (including the figures, when using HTMLplot) into an external HTML
file.
This method
2009 Sep 30
2
Compress (gzip) a pdf device
I have not found an easy way to compress a file on filesystem.
Especially I'd like to compress a pdf from pdf() function/device. Is it possible to compress It on the flight?
I'd like to do something like:
pdf(gzipconnection())
dev.off()
If It is not possible, how can I create a gzip with the pdf?
Thanks
Daniele A.
________________________________
ORS Srl
Via Agostino Morando 1/3
2010 Apr 02
2
How to save a model in DB and retrieve It
I'm wondering how to save an object (models like lm, loess, etc) in a DB to retrieve and use it afterwards, an example:
wind_ms <- abs(rnorm(24*30)*4+8)
air_kgm3 <- rnorm(24*30, 0.1)*0.1 + 1.1
wind_dg <- rnorm(24*30) * 360/7
ms <- c(0:25)
kw_mm92 <- c(0,0,0,20,94,205,391,645,979,1375,1795,2000,2040)
kw_mm92 <- c(kw_mm92, rep(2050, length(ms)-length(kw_mm92)))
modelspline
2011 Jan 12
1
graphics: 3D regression plane
Hello Masters,
wishing you all a great 2011 I was also going to ask if anyone knows a quick
and efficient way to plot a regression plane (z~x*y).
I have tried the regr2.plot{HH} function but it is only an educational tool
and has poor graphical properties.
I also tried to run the following script on a fictitious longitudinal
problem, with poor results
set.seed(1234)
2010 Feb 24
1
Optimise huge data.frame construction
I have data for different items (ID) in a database.
For each ID I have to get:
- Timestamp of the observation (timestamp);
- numerical value (val) that will be my response variable in some kind of model;
- a variable number of variables in a know set (if value for a specific variable is not present in DB it is 0).
To get to the above mentioned values I have to cycle
2008 May 08
1
ARIMA, AR, STEP
Here is my problem:
Autoregressive models are very interesting in forecasting consumptions (eg water, gas etc).
Generally time series of this type have a long history with relatively simple patterns and can be useful to add external regressors for calendar events (holydays, vacations etc).
arima() is a very powerful function but kalman filter is very slow (and I foun difficulties of estimation)
2011 Mar 11
1
dataframe to a timeseries object
I?m wondering which is the most efficient (time, than memory usage) way to obtain a multivariate time series object from a data frame (the easiest data structure to get data from a database trough RODBC).
I have a starting point using timeSeries or xts library (these libraries can handle time zones), below you can find code to test.
Merging parallelization (cbind) is something I?m thinking at
2004 Apr 26
3
Compiling asterisk
I got the error below while compiling asterisk. Please offer me some help.
hubert
for x in res channels pbx apps codecs formats agi cdr astman stdtime; do
make -C $x depend || exit 1 ; done
make[1]: Entering directory `/etc/asterisk/asterisk-0.7.2/res'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/etc/asterisk/asterisk-0.7.2/res'
make[1]: Entering
2004 Apr 01
4
gray background on jpegs using dev.print()
When I try writing the current device to a jpeg file I keep getting a gray background
for the jpeg images using dev.print.
I have tried using the option bg="white" and bg="#FFFFFF"
but neither seem to have any effect.
If instead of writing to a screen device I open a jpeg device I can get any background color
I want. This works, but I prefer to write to the screen and then
2003 May 13
1
HTMLplot
can you explain how it works?
I tried to do like the example but it doesn't work
2006 Jan 22
2
Using register_template_handler to serve CSS files (Making ActionView handle .css as .rhtml)
Hi,
I wanted to be able to use some Rails code inside CSS files, so I set up
a controller (StylesController) to serve CSS files that reside inside
the controller''s view folder when the browser requests /stylesheets/:action
So in the controller I just define empty actions with the names I want
my style sheets in (ie: def cooleffects end - that would respond to
2007 Jul 18
0
Re : Combine R2HTML and Rcmd BATCH?
> 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,
2006 Jun 25
0
Fighting with GDD & lwd
I succeeded in compiling and installing the GDD package under my FreeBSD 6.1
box after eliminating
ifdef DEBUG
? ?PKG_CFLAGS+=-DJGD_DEBUG
endif
in Makevars.in
Now, with the following code
..............................................
grafico1<- function() {
plot(1:length(tabella[,1]),tabella[,2],ylim=c(Ymin,Ymax),type="h",
2005 Feb 03
0
[www.tuttinudi.it] Finalmente venerdì
siamo a venerd?, anche questa settimana ? passata e devo ammettere che questo pensiero mi fa stare molto bene visto che da oggi fino a luned? passer? sicuramente dei giorni stupendi e lascier? dietro quelli appena passati che devo essere sincera mi hanno fatto girare parecchio le palle..tra lavoro e universit? poche notizie buone purtroppo....quello che mi salva sempre ? che porto una gran luce
2004 Apr 22
0
Conferma la tua richiesta di iscrizione a edscuola
Ciao r-devel@lists.r-project.org,
Abbiamo ricevuto la tua richiesta di iscrizione al gruppo edscuola
uno dei gruppi che trovi su Yahoo! Gruppi, un servizio gratuito e
facile da usare per creare ed entrare a far parte di tante community.
Questa richiesta scade fra 7 giorni.
PER ISCRIVERTI AL GRUPPO DEVI:
1) Andare su Yahoo! Gruppi cliccando su questo link:
2009 Aug 04
0
Efficient coding
I have a piece of code as the one at the bottom, unfortunately since it involves time series from a db it's not easy to give to mailing list a working script.
It becomes very slow after few hundred iterations over variable sp (must process several thousands).
The Rprof() indicates that the problem is the use of gc(). Can someone indicate what I have to take care of not to call gc() so often?
2002 May 18
0
Importante!
Vuoi Davvero Guadagnare con Internet?
Bene, salva su disco questa pagina per averla a portata di mano
anche se il tuo PC non ? connesso a Internet,
poi
copia quanto segue in Word o in Blocco Note e stampalo,
cos? lo potrai leggere con pi? attenzione.
Questo Sistema ? diverso da tutti gli altri, quindi non essere precipitoso nel valutarlo senza averlo compreso a fondo,
ma ti assicuro che
2007 Mar 16
2
re: o2hb_do_disk_heartbeat:963 ERROR: Device "sdb1" another node is heartbeating in our slot!
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Folks,
I'm trying to wrap my head around something that happened in our environment.
Basically, we noticed the error in /var/log/messages with no other errors.
"Mar 16 13:38:02 dbo3 kernel: (3712,3):o2hb_do_disk_heartbeat:963 ERROR: Device "sdb1": another node is
heartbeating in our slot!"
Usually there are a