Displaying 20 results from an estimated 10000 matches similar to: "a clipboard problem while using R2HTML"
2003 Nov 05
1
save(iris,file="clipboard",ascii=TRUE)
Is this a bug? I thought that "clipboard" could always be substituted
for a filename when dealing with ASCII files.
> data(iris)
> save(iris,ascii=TRUE,file="clipboard")
Error in file(file, "wb") : `mode' for the clipboard must be `r' or `w'
Also this (where gclip is a utility found at unxutils.sourceforge.net
that copies its standard input to the
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
2007 Nov 05
1
R2HTML package and Open Office: text only pasted
I am trying to use R2HTML (just downloaded from CRAN) to paste R (2.6.0)
results output via the clipboard to OpenOffice Writer and Calc
(version 2.3on WinXPPro)
Pasting into Excel gives a formatted table of results (as expected), but
pasting into Calc simply pastes the HTML code. Trying paste special only
gives an option to paste unformatted text.
Equally, with Writer, in the past when I tried
2003 Nov 05
1
save(iris,file=
I tried it using file and it seems to work for saving:
> data(iris)
> con <- file("clipboard","w")
> save(iris,ascii=T,file=con)
> close(con)
> readLines("clipboard")
... lengthy output follows which seems correct ...
but not for loading:
> con <- file("clipboard","r")
> load(con)
Error in load(con) : loading from
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 Apr 11
9
pasting results into Word/Excel
Is there some clever way of pasting results from R into Excel or Word, as
tab limited format so they are easy to turn into a formatted table.
Or is there some other way of doing this to avoid the time spent
reformatting the output for presentation.
If different, I am also interested in an answer to the same question but
using S-Plus.
Many thanks,
Graham
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 Dec 01
3
Save R2HTML as an object instead of file
Hi
Is it possible to instead of getting the HTML code written to a file, get it
saved as a string in an object instead?
Or is there any kind of package that can do this?
//Joel
--
View this message in context: http://r.789695.n4.nabble.com/Save-R2HTML-as-an-object-instead-of-file-tp3066776p3066776.html
Sent from the R help mailing list archive at Nabble.com.
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",
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
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
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:
>
2009 Apr 28
2
problems with clipboard
Hi I'm a mac user. I have problems loading data from mac excel in R.
I'm using these script:
>library(utils)
>data2 <- read.table(file("clipboard"), header =T, sep ="\t")
____but this is the message that I have from R_____
Error in open.connection(file, "r") : cannot open the connection
In addition: Warning message:
In open.connection(file,
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
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 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")