Displaying 20 results from an estimated 1100 matches similar to: "Combine R2HTML and Rcmd BATCH?"
2003 Mar 31
2
Using R2HTML
Hello,
I''m using R2HTML library to make a HTML page output (both data frames and
graphics):
HTMLStart(outdir=paste(getwd(),"/prove html", sep = ""),filename="index",
echo = F, HTMLframe = T, withprompt = "HTML> ", CSSFile = "R2HTML.CSS",
Title = "Indici di attivit?")
...
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
2007 Dec 06
2
R2HTML how to pair graphic.png and table
Dear list,
i have this problem:
how to pair a graphic.png and a table in R2HTML ?
The better showing of a mutiple analysis is sometimes to mate graphic and
table
Can anyone help me in this task ??
In the example below graphisc and table are subsequent and not pair..
directory=getwd()
myfile<-file.path(directory,"testHTML.html")
2007 Jul 02
4
Combine graphical and textual output
Hi,
I would like to know whether anybody knows a simple way to combine
textual and graphical output in R.
A typical analysis produces textual output (e.g. model fits) and plots
in R. I would like to know whether R has the possibility of combining
these into a single 'report' or output. An example of a program that
does this is SPSS. After running the analysis you have a combination
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
2008 Sep 23
2
R2HTML: output from for-loops
Hi,
I am trying to prepare a report with R2HTML using
HTMLStart(outdir="./html", filename="report", echo=T, HTMLframe=F)
then, for instance, I want to get the output of a loop:
for (i in 1:20) print(summary(rnorm(1000)))
but only the first of summaries really ends up in the html file.
What am I doing wrongly?
Thanks,
Werner
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
2011 Jun 16
2
Save the results of data analysis in R
Hi everyone,
I want to do data analysis using the values retrieved from a MySQL
database. Is there a way to save the results of data analysis in R.
[[alternative HTML version deleted]]
2008 Jun 18
1
reformatting R scripts for htmlize()
Hi!
I have a bunch of (mainly class) R scripts that I would
like to convert into html pages (although if someone
thinks that what I want to do is easier with latex or pdf,
please tell me).
Considering the format of my files, htmlize() seems the best
option. The only problem is that I would need
to write graphics to a file, thus
converting parts like:
plot(sel$hora, sel$COD_SP_C)
#and check the
2006 Aug 04
1
prettyR arrives
Hi all,
I have finally gotten the prettyR package going (many thanks to Kurt
Hornik for his patience).
prettyR is a set of functions that allows the user to produce HTML
output from R scripts. Given an R script that runs properly, an HTML
listing complete with embedded graphics can be produced simply by
passing the script to the core function htmlize (Phillipe Grosjean has
not only offered
2007 May 24
1
how to change font size in HTML output
I have not been able to figure out how to change the font size for
R2HTML::HTML output. Or for output from prettyR::htmlize. If anyone
can give me a couple hints that would be great.
Thanks,
Roger J. Bos
********************************************************************** *
This message is for the named person's use only. It may
contain confidential, proprietary or legally
2008 Jan 24
1
png to html
hello,
to display my histogram from a png file to a html file I use this syntax
> 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
>
2004 Oct 22
1
R2HTML installation on R 1.9.1
Hello,
I am trying to install R2HTML version 1.4-3, but am getting errors when I try to use it. I am running R 1.9.1 on Redhat Linux Ent 3 AS x86_64. I installed R2HTML using the following command "R CMD INSTALL R2HTML_1.4-3.tar.gz". I did not get any errors when installing it. When I launch R and type library('R2HTML'), I get the following error:
>
2008 Sep 23
2
Modifying output to Google Docs
Hi List,
Graphical output to PDF's ,RTF ,CSV is known through R.
Can it be modified for outputting to Google Docs (which is basically
uploaded files ,published to become html pages)
Is there any package on this ?
Regards,
Ajay
--
[[alternative HTML version deleted]]
2007 Jun 18
1
Loading problem with R2HTML package
I have downloaded latest version of R2HTML (v1.54) for 64-bit windows PC. My
R version 2.5.0. My problem arises when i want to install SciViews-R which
need R2HTML package.
> library(R2HTML)
Error in `parent.env<-`(`*tmp*`, value = NULL) :
use of NULL environment is defunct
Error: package/namespace load failed for 'R2HTML'
Any remedy ?
Regards
--
View this message in
2004 Apr 20
1
Error while loading R2HTML in Rprofile
Hi List,
When loading library(R2HTML) in Rprofile I get the following error:
Error in firstlib(which.lib.loc, package) :
couldn't find function "ps.options"
Error in library(R2HTML) : .First.lib failed
[Previously saved workspace restored]
% ps.options is there
% Loading the library from the command prompt works fine, other libraries load fine through Rprofile.
% This
2013 Jan 27
1
decimal places in R2HTML
Dear R People:
I have an AOV model that I get confidence intervals from via
> confint(chick1.aov1)
2.5 % 97.5 %
trtA 1.472085 1.607915
trtB 1.512085 1.647915
trtC 1.328751 1.464582
>
I am using R2HTML to produce HTML output. However, the HTML code
itself just has rounded values, i.e., 1.5 and 1.6.
Has anyone run across this, please?
Any suggestions would be much appreciated.
2010 Aug 01
2
R2HTML giving "NULL" in output
Dear List,
I am using R 2.11.1 and R2HTML 2.1. I am able to write output to an HTML
file but after every line of output I get a line saying NULL. R2HTML seems
to be including <p class='character'>NULL</p> after each entry.
Here is an example of my R code and the source of the HTML...
HTMLStart(outdir=OutPath, file="M1000.Report", extension="html",
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,
2010 Jan 03
3
R2HTML Report number format, or Better Way?
Here I am again with question I'll feel foolish for asking, when I
see the answer.
I'm trying to produce a report and here's where I get stuck:
How do I get R2HTML to produce the same number format?
Particularly remove the decimal places for Par and Sal.
Are there better methods to produce this type of report?
Thanks,
L.A.
R version 2.10.0 XP