Displaying 20 results from an estimated 900 matches similar to: "Latex or html output for freq() in prettyR"
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
2008 Jun 12
3
Problem with Freq function {prettyR}
Dear list,
I have a problem with freq from prettyR.
Please have a look at my syntax with a litte example:
library(prettyR)
#Version 1
test.df<-data.frame(q1=sample(1:4,8,TRUE), gender=sample(c("f","m"),8,TRUE))
test.df
freq(test.df) #No error message
#Version 2
test.df<-data.frame(gender=sample(c("f","m"),8,TRUE), q1=sample(1:4,8,TRUE))
test.df
2009 Feb 13
2
odfWeave & prettyR
Hello,
I've been trying to use odfWeave and prettyR packages to create documents with both text and graphs, but so far I
haven't been very lucky...
With the function R2html () in prettyR package, when I try to use a source file, which works perfectly if I run it
directly form R using "source("file")",
it works for the first part and then it makes a mess, i guess
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 Oct 24
2
plotrix and prettyR
Hi folks,
Both plotrix and prettyR have been updated. plotrix now has the "Matlab"
style dotplot that was requested not long ago on the list, provided by
that intrepid duo, Barry Rowlingson and Rolf Turner. Mike Cheetham has
contributed an implementation of the Piper diagram, also in response to
a request. prettyR has finally learned how to display SPSS value labels
in the xtab and
2008 Jul 23
4
Using PrettyR to produce LaTeX output
Hello everyone. I am new to R, so please bear with me. I am trying to find
an easy way to export descriptive statistics and other information about my
data frame to a LaTeX format.
I have found the describe function in PrettyR to be very helpful in
producing results in the exact format I'm looking for. However, the value
of the describe function is a LIST (rather than a data frame) which I
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
2010 Jun 06
3
prettyR
Hi all,
does anyone have any practical examples of how this command can be used in prettyR?
add.value.labels(x,value.labels)
I mean, can we have the SPSS style of using numbers and/or labels if we want to?
Thank you for your time
Jason
Dr. Iasonas Lamprianou
Assistant Professor (Educational Research and Evaluation)
Department of Education Sciences
European University-Cyprus
P.O. Box 22006
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
2008 Apr 03
1
prettyR 25% quartile, 75% quartile
I am using the describe function in prettyR. I would like to add the
25% 75% quartiles to the summary table
how do I do this
I have tried
describe(x.f, num.desc=c("mean", "median", "sd", "min", "max",
"skewness", "quantile(x.f, na.rm=T, probs=seq(0.25, 0.75))",
"valid.n"))
help
--
Let's not spend our time
2008 Nov 06
0
new plotrix and prettyR
Hi all,
I'm noting the appearance of new versions of plotrix and prettyR as I
found a bug in the "brkdn" function that messed up the order of
"value.labels" if they had been imported from an SPSS data file. For
anyone using "brkdn", please upgrade to the new version of prettyR
(1.3-5) if you are importing SPSS data files. If anyone discovers other
problems,
2008 Jun 19
1
PrettyR (describe)
#is there a way to get NA in the table of descriptive statistics instead of
the function stopping Thank you in advance
#data
x.f <- structure(list(Site = structure(c(9L, 9L, 9L, 9L, 9L, 9L, 9L,
9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L,
9L, 9L, 9L, 9L), .Label = c("BC", "HC", "RM119", "RM148", "RM179",
"RM185",
2008 Jun 16
3
Generating Reports from R.
Hi,
I have a non-interactive R script that currently produces
various graphs in png or pdf format. I need to program the
script to combine the graphs with various pages of textual
information, including some in tabular format, into an
output report in pdf or html format.
What is the recommended way of doing this?
Regards,
David Keegan.
--
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]]
2012 Mar 23
1
"source" option
Dear R experts---has someone written a wrapper for the "source" function
that opens a sink file in the same name as the .R file and closes it at the
end (including when there is an error that aborts)? the first part is
easy, but I am not sure how to not patch myself an empty sink() after any R
program print/abort sequences have played out.
besides, "sink=TRUE, split=TRUE"
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
2009 Apr 16
3
Presenting R Results in Webpages
I apologize in advance that this question is not specific to R, but I thought some R users may be using this in their work process flow.
I would like to be able to have a tool (prefer "scriptable") that will take two images and some pre-written text and put it on an simple webpage.
That is, it would look something like the following:
|---------------------------------------------|
2009 Apr 29
3
how to word-wrap text in labels in plots?
c <- structure(c(2L, 2L, 1L, 3L, 4L, 2L, 3L, 2L, 3L, 2L, 5L), .Label = c("foo",
+ "bar", "a really really long variable label mostly here to show the need of word-wrapping text in labels",
+ "a not so important value", "baz"), class = "factor")
plot(c)
Is there a way to get the long variable labels to automatically wrap so that all
2009 Feb 11
2
plots and text to the same output file
Hello,
I would like to save different plots and some text (like summaries, AIC, ...) on the same file.
I've read the e-mails entitled "Output results to a single postscript document" written some days ago and I've tried
to use the function odfInsertPlot() in the package "odfWeave" but it doesn't work on my computer (I've seen that
odfWeave package depends on
2008 May 02
1
Cant resolve Error Message
Hi,
Im having trouble creating the following graph. Here is my code:
library(plotrix)
library(prettyR)
female_improvement
<-read.table("C://project/graphs/gender/breakdown/gender-improvement/female-improvement.csv",
sep=",", header=TRUE)
barp(rbind(rep(length(female_improvement$gender),2),freq(female_improvement$reason)[[1]]),
ylab="22 Males participated in the