Use the echo = TRUE in the HTMLStart function.
Sorry.
On Tue, Jan 8, 2013 at 8:21 PM, Erin Hodgess wrote:
> Everything is ok on Firefox, IE, and iPad.
>
> Thanks,
> Erin
>
>
> On Tue, Jan 8, 2013 at 7:58 PM, Erin Hodgess wrote:
>> Dear R People:
>>
>> Has anyone used R2HTML in web files that we
Everything is ok on Firefox, IE, and iPad.
Thanks,
Erin
On Tue, Jan 8, 2013 at 7:58 PM, Erin Hodgess wrote:
> Dear R People:
>
> Has anyone used R2HTML in web files that were on the Blackboard LMS, please?
>
> I'm starting to do these but wanted to know if there were any
> potential pitfalls.
>
Dear R People:
Has anyone used R2HTML in web files that were on the Blackboard LMS, please?
I'm starting to do these but wanted to know if there were any
potential pitfalls.
Thanks,
Erin
--
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston
Had the same prob and did not work out the reason why. However, a workaround
is to add:
.character {
display:none;
}
to the file R2HTML.css or your css file respectively.
Cheers
UL
--
View this message in context:
http://r.789695.n4.nabble.com/R2HTML-giving-NULL-in-output-tp2309776p
Joshua,
The task call back mechanism passes on a flag to say if the output was
invisible or not, so the HTML functions would just need to look for
and honor that flag. This is what the TeachingDemos versions do.
On Fri, Apr 27, 2012 at 4:07 PM, Joshua Wiley wrote:
> On Fri, Apr 27, 2012 at 2:52
The key rule on this list is to post R code. And HTML is text in its raw form,
so posting HTML source in a text message works fine, especially if it is
trimmed to just show context. It is when the message itself is sent with MIME
coding set to HTML that the formatting gets messed up and expectat
On Fri, Apr 27, 2012 at 2:52 PM, Greg Snow <538...@gmail.com> wrote:
> Jeff, there are also many times that people are told not to post HTML,
> so this case would be a bit of a Catch 22. Also some of us (well me
> at least, I expect others have as well) have experienced this already
> and fully un
Hello!
Thank you.
I figured out the solution.
In the HTML.title function, there is an argument CSSstyle which is set
to NULL by default. If I put " " in there, all is well.
Sincerely,
Erin
On Fri, Apr 27, 2012 at 4:52 PM, Greg Snow <538...@gmail.com> wrote:
> Jeff, there are also many times
Jeff, there are also many times that people are told not to post HTML,
so this case would be a bit of a Catch 22. Also some of us (well me
at least, I expect others have as well) have experienced this already
and fully understand what is being discussed without needing an
example (and for this cas
Haven't you been asked to provide an example of code that illustrates your
problem often enough by now to anticipate the request in your first post?
---
Jeff NewmillerThe . . Go Live.
Hello R People:
I am using the R2HTML program for the first time (actually yesterday),
and I have a question, please:
I am getting NULL in the webpage in several places, presumably where
NULL would appear on the screen.
How would I go about fixing that, please?
Thanks,
Erin
--
Erin Hodgess
A
Hmm, I will see if I can see what Rcmdr is doing to possibly
replicate. I am experimenting with processing that ignores NULL
output from a function, BUT, this has to be done cautiously as NULL
may be a legitimate return so I do not want to simply not print any
NULL output, but I have not figured o
Just discovered It doesn't do this when run in the latest release Rcmdr, yet
still does in JGR, RKward and R-Gui.
Confusing.
Thanks,
L.A.
--
View this message in context:
http://r.789695.n4.nabble.com/R2HTML-giving-NULL-in-output-tp2309776p3934410.html
Sent from the R help mailing list archive
Thanks for the reply. Here is a sample.
library(R2HTML)
HTMLStart(outdir=Output, file="R2report",
extension="html", echo=FALSE, HTMLframe=TRUE)
HTML.title("Test Report 2011", HR=1)
HTML.title("Test-Title: Classification", HR=3)
HTMLhr()
HTMLStop()
--
View this message in context:
http://r.7
Hi,
Can you please post (or send to me directly) a reproducible example?
The summary() command is generic, so I am not sure what type of object
you are dealing with.
Thanks,
Josh
On Wed, Oct 19, 2011 at 1:18 PM, L.A. wrote:
> Hey Guys,
> I'm having this same problem! I have searched and can
Hey Guys,
I'm having this same problem! I have searched and can't find anything.
I'm guessing that it must be simple as nobody replied here, but I'm at a
loss, Any help?
L.A.
R-2.13.2
XP 3
Ubuntu 11.10
--
View this message in context:
http://r.789695.n4.nabble.com/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 NULL after each entry.
Here is an example of my R code and the source of the HTML...
HTMLStart(outdir=OutPath, file="M
Is there any way to include comments in the html output of R2HTML? Or
is there any other function in any package that produces an html
output including comments, commands and output of the commands.
Vikas Rawal
__
R-help@r-project.org mailing list
http
Err, sorry, forget my previous message. It has nothing to do with
Tinn-R or Eclipse. If you save that code in a file and you use the
source command in the console, you get the same output. Tinn-R and
Eclipse both source the code to R instead of sending it line by line.
To get what you want, you ne
Take a look at eclipse :
http://www.splusbook.com/R_Eclipse_StatET.pdf
And yes, your program should work. The editor doesn't do anything else
but sending your code to R. It is R that decides what to do with it.
Cheers
Joris
On Sun, Jun 6, 2010 at 7:25 PM, RGtk2User wrote:
>
> Which editor could
Which editor could I use on Windows? The program that already works with
TinnR... will work with this new editor? Thanks!
On Sat, Jun 5, 2010 at 11:40 PM, Joris FA Meys [via R] <
ml-node+2244582-437396255-277...@n4.nabble.com
> wrote:
> Tinn-R is using the R2HTML package itself for communication
Tinn-R is using the R2HTML package itself for communication with R.
You could ask JC Faria who wrote Tinn-R what exactly is going on
there. You might get more help here :
http://sourceforge.net/projects/tinn-r/support
Personally, I'd just use a different editor in this case. I love
Tinn-R, but it'
Im developing an application with R and Gtk+. It's just a simple GUI which
helps new users to interactuate with R. Thing is, when you do a statistical
analysis, I also want to provide a HTML report, but HTMLStart doesnt work
propperly when executing from TinnR. It does create the file but not empt
> -Original Message-
>> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
>> project.org] On Behalf Of Regina Schinner
>> Sent: Wednesday, February 10, 2010 1:44 AM
>> To: r-help@r-project.org
>> Subject: [R] R2HTML
>>
>> I am having diffic
...@imail.org
801.408.8111
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
> project.org] On Behalf Of Regina Schinner
> Sent: Wednesday, February 10, 2010 1:44 AM
> To: r-help@r-project.org
> Subject: [R] R2HTML
>
> I am having diffic
Hi,
Perhaps you could do HTML(summary(iris)) ?
Bart
--
View this message in context: http://n4.nabble.com/R2HTML-tp1475505p1475547.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
https://stat.ethz.c
I am having difficulties with R2HTML. If I try to generate a HTML file with the
below code, the titles, horizontal line, and scatter plot are there, but the
data summary [summary(iris)] is not.
---
library(R2HTML)
HTMLStart(file="myreport", extension="html", echo=FALSE, HTMLframe=TRUE)
HTML.t
Thanks, All
Jim your solution works and I'm playing around with it trying to learn the
"ins & outs"
I'd still like to figure out how to get this to work in R2HTML. I think I
worded my question wrong making
it appear more difficult, so I'll Try again.
Here is the data and code
>Par<-9683
>sal<
Hi L.A.,
Use the package 'hwriter' to produce HTML pages/objects.
> library(hwriter)
> hwrite(srtype, page="c:/R/reports/myreport1.html")
'hwrite' can be combined with the function 'format' (to manage number
format, digits, decimal places, etc...) and supports advanced HTML/CSS
formatting opt
L.A. wrote:
>
> For the second, As a beginner, is this what you mean by "supply the data
> as code"?
> The actual data is 17000 rows and 31 columns.
>
In your case, it is irrelevant if the data are 17000x31 or 2x3, so an
example with few columns is sufficient. And if you supply the data in c
On 01/04/2010 10:49 AM, L.A. wrote:
Thanks for the replys.
I've played with both suggestions, but must not understand as I could not
get
them to work. In the first, do I have to save my results as a *.dat file?
No, I simply showed how I obtained the data frame that you gave as an
example
Thanks for the replys.
I've played with both suggestions, but must not understand as I could not
get
them to work. In the first, do I have to save my results as a *.dat file?
Where do I find the HTML file?
For the second, As a beginner, is this what you mean by "supply the data
as code"?
L.A. wrote:
>
> 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:
> srtype<-cbind(Par,Sal,Median,COD,PRD,LowerCI,UpperCI)
> srtype
>
>
Chances are better to get a reply when you supply the da
On 01/04/2010 03:36 AM, L.A. wrote:
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.
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 t
Hello,
I am having a bit of trouble with using R2HTML to produce the summary
of a dynlm model. I do an HTMLStart(), then have a for loop creating
different models, and I am trying to print out each model. I can use
HTML() on the model object itself, but I cannot get it to print to
summary object.
Hello,
did you try to replace the print commands with HTML?
But first you have to specify a file through HTMLStart and at the end of the
function HTMLStop.
Including plots is no problem, but you have to save them and then with the
HTMLInsertGraph function insert them into your report.
Kind regar
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
Win xp sp2, R v2.7.1, R2HTML v1.59
Hi. I have tried searching this extensively but to no avail. While using
the R2HTML package, everytime I use HTMLStart() followed by HTML.title or
HTML functions, I get a "NULL" in the output. For instance,
> HTMLStart(outdir='dir name',filename="file",exten
Werner Wernersen wrote:
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
enter
Intermountain Healthcare
[EMAIL PROTECTED]
801.408.8111
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> project.org] On Behalf Of Werner Wernersen
> Sent: Tuesday, September 23, 2008 11:05 AM
> To: [EMAIL PROTECTED]
> Subject: [R] R2HTML
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
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> project.org] On Behalf Of Werner Wernersen
> Sent: Thursday, September 18, 2008 4:00 AM
> To: [EMAIL PROTECTED]
> Subject: [R] R2HTML, HTMLStart(): are plots send to HTML?
>
> Hi,
>
> I just want to make sure that I really misunde
Hi,
I just want to make sure that I really misunderstood the documentation: Is
HTMLStart redirecting plots as well so that they are included in the HTML
report? I tried the below and the plot is not included in the HTML file.
Or did I miss some switch or so?
Many thanks,
Werner
> HTMLStart(
Hi all,
I use the R2HTML package to print results, but I have a little problem when
I want to print a table provides from a summary.lm.
If I want to align this table differently of the others, I use the "align"
argument ("left", "center or "right") of the HTML function , but it prints
"Coefficien
Eric,
your code work well for my need,
i'm not skillful in html environment, but your functions in R2HTML give
simple many
output requirements
thanks
Roberto
Eric Lecoutre wrote:
>
> Hi Roberto,
>
> here is a way that presumes you know some (basic) HTML tags:
>
> library(R2HTML)
> direct
You could use a table with one row and two columns:
HTML("",file=HTMLoutput)
HTML(tab,file=HTMLoutput)
HTML("",file=HTMLoutput)
HTMLInsertGraph(graf,file=HTMLoutput,caption="Esempio di grafico")
HTML("",file=HTMLoutput)
domenico
PS:
You could create a function if this is a common operation:
tab
Hi Roberto,
here is a way that presumes you know some (basic) HTML tags:
library(R2HTML)
directory=getwd()
myfile<-file.path(directory,"testHTML.html")
HTMLoutput=file.path(directory,"testHTML.html")
graf="graf.png"
png(file.path(directory,graf))
plot(c(1:12))
dev.off()
tab<-as.matrix(c(1:12))
c
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<
t; Sent: Monday, November 05, 2007 3:02 AM
> To: [EMAIL PROTECTED]
> Subject: [R] 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
Graham,
I'm not sure what the issue is, but I would suggest using OpenOffice
directly with the odfWeave package.
Max
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Graham Smith
Sent: Monday, November 05, 2007 3:02 AM
To: [EMAIL PROTECTED]
Subjec
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 spe
52 matches
Mail list logo