Displaying 20 results from an estimated 3000 matches similar to: "R2HTML package and Open Office: text only pasted"
2006 Oct 13
2
bug: Editing function formals deletes the environment
First, here's the specific bug I have. Later I'll say why I care.
> ls(zappo)
Error in try(name) : object "zappo" not found
# good.
> f = function(zappo) { function(y) zappo + y }
> g = f(1)
> g(1)
[1] 2
> formals(g)
$y
> formals(g)$y
> formals(g)$y = 2
> g
function (y = 2)
zappo + y
> g(1)
Error in g(1) : object "zappo" not found
2008 Oct 24
18
Transferring results from R to MS Word
R-users
At the moment I am teaching a course on the use of R for data analysis.
Part of course requirements involves the transfer of results from R to
something that resembles the APA (American Psychological Associations)
type tables to MS Word. Until now I have used the HTML function in the
R2HTML library, with a call like this:
HTML(summary(model1), file("clipboard",
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:
>
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
2006 Feb 09
9
Transferring R results to word prosessors
There has been an incredible number of responses in a short time, with a
number of different suggestions. With hindsight, I must admit I have not
been quite clear, so additional (somewhat lengthy) explanation is needed.
I want to use R in an introductory course on multiple regression (among
other things) starting in two weeks time for students of psychology at my
University. These students
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 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
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
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
2004 Jul 05
1
Apparent conflict between \Sexpr in Sweave and R2HTML
I have come across an apparent bug in the operation of Sweave. If I
load the package R2HTML then execution of \Sexpr{} in an *.Rnw file no
longer works. The \Sexpr{} code is simply written to the *.tex file.
Below are my *.Rnw file, commands, and output.
The Sweave file, Sweave-test-1_short.Rnw:
% -*- mode: noweb; noweb-default-code-mode: R-mode; -*-
\documentclass{article}
\title{A Test
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 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
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")
2006 May 04
1
a clipboard problem while using R2HTML
I followed the examples of previous posts about R2HTML to practice
exporting a data to a clipboard, but the result is not as smooth as I
had expected:
library(R2HTML)
data(iris)
HTML(iris, file("clipboard","w"), append=FALSE)
I got an error message:
> HTML(iris, file("clipboard","w"), append=FALSE)
Error in file("clipboard", "w")
Looking for new maintainer of orphans R2HTML SemiPar cghseg hexbin lgtdl monreg muhaz operators pamr
2014 Aug 08
2
Looking for new maintainer of orphans R2HTML SemiPar cghseg hexbin lgtdl monreg muhaz operators pamr
Dear maintainers and R-devel,
Several orphaned CRAN packages are about to be archived due to
outstanding QC problems, but have CRAN and BioC packages depending on
them which would be broken by the archival (and hence need archiving
alongside).
Therefore we are looking for new maintainers taking over maintainership
for one or more of the following packages:
R2HTML SemiPar cghseg hexbin lgtdl
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
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.
2013 Feb 16
1
odd behavior within R2HTML
Dear R People:
I'm using R2HTML but having a strange result.
Here is the original data:
resp trt block
90.3 A I
89.2 A II
98.2 A III
93.9 A IV
87.4 A V
97.9 A VI
92.5 B I
89.5 B II
90.6 B III
94.7 B IV
87.0 B V
95.8 B VI
85.5 C I
90.8 C II
89.6 C III
86.2 C IV
88.0 C V
93.4 C VI
82.5 D I
89.5 D II
85.6 D III
87.4 D IV
78.9 D V
90.7 D VI
And here are the commands:
> resin1.df <-
2009 Apr 29
1
RweaveHTML (R2HTML) Help
I have found Sweave() to be great for producing PDF documents. I have
been experimenting with RweaveHTML (from the R2HTML) package and have
had moderate success. My main issue has been that I simply want the R
output to be shown verbatim in the HTML document but RweaveHTML tends to
convert most output to a table, for example. So, is there a way to
force the RweaveHTML driver to simply provide
2004 Mar 03
1
R2HTML adding caption to data-frame
Hi,
I was wondering if there was an easy way to add a caption to a data frame when it is being sent to a html page using R2HTML.
currently the following command will produce a reasonably formatted table in a html file
HTML(mydataframe)
It would be good if you could send caption with the table something like
HTML(lCaption="my table caption",mydataframe) # this works but leaves a blank