Displaying 20 results from an estimated 10000 matches similar to: "Handouts / Reports or just simply printing text to PDF?"
2010 Aug 04
3
Output (graphics and table/text)
Hi R Users,
I need to produce a simple report consisting of some graphs and a
statistic. Here simplification of it:
# graphics output test
a <- c(1,3,2,1,4)
b <- c(2,1,1,1,2)
c <- c(4,7,2,4,5)
d <- rnorm(500)
e <- rnorm(600)
op <- par(mfrow=c(3,2))
pie(a)
pie(b)
pie(c)
text(ks.test(d,e))
obviously, the ks.test does not make it to the output. How can this be
archived by a)
2010 Mar 02
16
Three most useful R package
Hi R-fans,
I would like put out a question to all R users on this list and hope
it will create some feedback and discussion.
1) What are your 3 most useful R package? and
2) What R package do you still miss and why do you think it would make
a useful addition?
Pulling answers together for these questions will serve as a guide for
new users and help people who just want to get a hint where to
2010 Jul 29
3
Statistical mailing list
I am looking for a mailing list for general statistical questions that
are not R related. Do you have any suggestions for lists that are busy
and helpful and/or lists that you use and recommend?
Thanks in advance,
Ralf
2010 Jul 09
3
Non-parametric regression
I have two data sets, each a vector of 1000 numbers, each vector
representing a distribution (i.e. 1000 numbers each of which
representing a frequency at one point on a scale between 1 and 1000).
For similfication, here an short version with only 5 points.
a <- c(8,10,8,12,4)
b <- c(7,11,8,10,5)
Leaving the obvious discussion about causality aside fro a moment, I
would like to see how
2010 Jul 09
3
Plotting text in existing plot?
I would like to plot some text in a existing plot graph. Is there a
very simple way to do that. It does not need to be pretty at all (just
maybe a way to center it or define a position within the plot). ( ? )
Ralf
2010 May 11
3
Smoothing Techniques - short stepwise functions with spikes
R Friends,
I have data from which I would like to learn a more general
(smoothened) trend by applying data smoothing methods. Data points
follow a positive stepwise function.
| x
x
| xxxxxxxx xxxxxxxx
| x x
|xxxx xxx xxxx
| xxxxxxxxxxxxxxxxx
|
|
2011 Sep 22
4
How to turn a LaTeX Sweave file (Rnw) into .HTML/.odf/.docx? (under windows)
Hello dear R help members,
I have found several references on how to do this, my question is if anyone
is actually using them - and if there are some strong points on what to use,
and how well it is working out.
My goal is to be able to easily create docs from R, but to be able to share
it with other researchers (who do not use LaTeX) so they could easily
copy/paste the tables and edit them for
2005 Apr 11
2
Sweave and abbreviating output from R
Dear List,
I'm using Sweave to produce a series of class handouts for a course I am
running. The students in previous years have commented about wanting
output within the handouts so they can see what to expect the output to
look like. So Sweave is a godsend for producing this type of handout -
with one exception: Is there a way to suppress some rows of printed
output so as to save space
2010 Jun 23
1
About normality tests (2) ...
In addition to the previous email:
What plots would you suggest in addition to density / histogram plots
and how can I produce them with R ? Perhaps one of you has an example
?
Thanks a lot,
Ralf
2010 Jun 24
8
Install package automatically if not there?
Hi fans,
is it possible for a script to check if a library has been installed?
I want to automatically install it if it is missing to avoid scripts
to crash when running on a new machine...
Ralf
2010 Jul 29
2
Reset R environment through R command
Is it possible to remove all variables in the current environment
through a R command.
Here is what I want:
x <- 5
y < 10:20
reset()
print(x)
print(y)
Output should be NULL for x and y, and not 5 and 10:20.
Can one do that in R?
Best,
Ralf
2010 Dec 07
5
LaTeX, MiKTeX, LyX: A Guide for the Perplexed
Hello Everyone,
Been learning R over the past several months. Read several books and have learned a great deal about data manipulation, statistical analysis, and graphics.
Now I want to learn how to make nice looking documents and about "literate programming." My understanding is that R users normally do this using LaTeX, MiKTeX, LyX, etc. in conjuction with Sweave. An alternative
2010 Sep 21
5
Combined plot: Scatter + density plot
Hi,
in order to save space for a publication, it would be nice to have a
combined scatter and density plot similar to what is shows on
http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=78
I wonder if anybody perhaps has already developed code for this and is
willing to share. This is the reproducible code for the histogram
version obtained from the site:
def.par <-
2010 Jun 25
6
Export Results
Hi R users,
How can I automatically export results and graphs to a file?
Thanks in advance
Pedro Mota Veiga
--
View this message in context: http://r.789695.n4.nabble.com/Export-Results-tp2268622p2268622.html
Sent from the R help mailing list archive at Nabble.com.
2010 Nov 15
1
Sweave: Conditional code chunks?
I have a code junk that produces a figure. In my special case,
however, data does not always exist. In cases where data exists, the
code chunk is of course trival (case #1), however, what do I do for
case # 2 where the data does not exist?
I can obviously prevent the code from being executed by checking the
existence of the object x, but on the Sweave level I have a static
figure chunk. Here an
2010 Nov 16
1
Sweave: \Sexpr and variables with special chars
I am using \Sexpr to include a variable in a title of a Sweave document:
\documentclass[a4paper]{article}
<<echo=false, results=hide>>=
#mytitlevar <- "Stuff" # case 1, everything is find
mytitlevar <- "Stuff_first" # case 2, f is turned into sub-text
@
\title{MyTitle: \\ \Sexpr{mytitlevar} }
\begin{document}
\maketitle
\end{document}
When doing this, the
2010 Oct 06
5
Create variable by name
Can one create a variable through a function by name
createVariable <- function(name) {
outputVariable = name
name <- NULL
}
after calling
createVariable("myVar")
I would like to have a variable myVar initialized with NULL in my
environment. Is this possible?
Ralf
2010 Nov 13
1
Sweave question
It seems that Sweave is supposed to be used from Latex and R is called
during the LaTeX compilation process whenever R chunks appear. What
about the other way round? I would like to run it triggered by R. Is
this possible? I understand that this does not correspond to the idea
of literate programming since it means that there is R code running
outside the document, but for my practical approach, I
2010 May 15
1
Dataframe to word, using R2wd
Hi All,
I'm trying to use R2wd to send a dataframe to Word. The dataframe
isn't huge - 300 rows, 12 variables, although it has some long strings
in it.
Using:
wdTable(format(myDataFrame))
or
wdTable(myDataFrame)
Produces a very complex table, which Word struggles to process and
layout. (I can't work out what the table is - it seems to be nested
tables. Converting to text gives
2010 Sep 09
6
Reproducible research
I am investigating some approaches to reproducible research. I need in
the end to produce .html or .doc or .docx. I have used hwriter in the
past but have had some problems with verbatim output from R. Tables are
also not particularly convenient.
I am interested in R2HTML and R2wd in particular, and possibly odfWeave.
Does anyone have sample documents using any of these approaches which