Displaying 20 results from an estimated 5000 matches similar to: "Tutorial Introduction to R"
2000 Mar 03
0
"Data Analysis and Graphics Using R - An Introduction"
I've now processed this document through Acrobat software. The
navigation keys in Acrobat Reader should now handle it properly.
The other advantage is a dramatic reduction in size, to half
a megabyte. The new file is
http://wwwmaths.anu.edu.au/~johnm/r/r4dat-gr.pdf
Data sets [use source() to access them from an R session] are
in the same directory, i. e.
1999 Mar 18
1
Building R under gnumake 3.75, Solaris 2.6
./configure works fine. make generates the error
......
gcc -g -O2 -I../include -I../../src/include -c saveload.c -o saveload.o
In file included from /usr/include/sys/turnstile.h:12,
from /usr/include/sys/t_lock.h:20,
from /usr/include/sys/vnode.h:37,
from /usr/include/sys/stream.h:21,
from /usr/include/netinet/in.h:38,
2000 Jan 27
1
"Data Analysis and Graphics Using R"
I have just put up a new version of this 109 page pdf document, at:
http://wwwmaths.anu.edu.au/~johnm/r-notes/r-notes.pdf
The file containing the scripts (r-intro.dis) is in the same directory,
as are datasets [.R files; use source(<filename>)] that are not in the
current R libraries.
This replaces a version that had been posted earlier this week, in
which the final character (mostly an
2012 Jan 24
1
Failure to get compactPDF to compact a pdf file
I am failing to get compactPDF to make any change to a pdf file
that, a/c to the message from the CRAN upload site, can be very
substantially compacted. Any ideas what may be wrong?
I have also tried recreating the pdf file. I also tried
R CMD build --resave-data --compact-vignettes DAAG
The data files compact alright (but I get the 'significantly better compression'
warning message
2001 Feb 27
0
Using R for Data ... (was "Data Analysis and ...")
I have posted a new version of my document on R.
I have corrected a number of errors and moved much of the
detailed material on data structures to follow the chapter
on exploration of multivariate data. I have changed the name;
it is now:
Using R for Data Analysis and Graphics - An Introduction
The new document lives at:
wwwmaths.anu.edu.au/~johnm/r/usingR.pdf
My web page has information
2011 Feb 04
1
keep.source when semicolons separate statements on the one line
The following is 'semicolon.Rnw'
> \SweaveOpts{engine=R, keep.source=TRUE}
>
> <<xycig-A, eval=f, echo=f>>=
> library(SMIR); data(bronchit); library(KernSmooth)
> @ %
>
> Code for panel A is
> <<code-xycig-A, eval=f, echo=t>>=
> <<xycig-A>>
> @ %
Sweave("semicolon") yields the following 'semicolon.tex'
1999 Dec 03
0
Error in plot.aov() (PR#356) (fwd)
Confirmation from John Maindonald.
--
Brian D. Ripley, ripley@stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
---------- Forwarded message ----------
Date: Fri, 3
2011 Apr 09
1
Compression of largish expression array files in the DAAGbio/inst/doc directory?
The inst/doc directory of the DAAG package has 6 files coral551.spot, ... that
are around 0.85 MB each. It would be useful to be able to zip then, but that
as matters stand interferes with the use of the Sweave file that uses them to
demonstrate input of expression array data that is in the "spot" format. They
do not automatically get unzipped when required. I have checked that
2010 Dec 21
1
Bug report 14459 -- procedure for handling follow-up issues
Although the specific behaviour that was reported has been fixed, bugs
remain in Sweave's processing of comment lines when keep.source=TRUE
This is in some senses a follow-up from earlier bugs. Hence the query --
what is the preferred procedure, to submit a new bug report? (Another option
might be to add a comment to the web page for bug 14459.)
Is there now a preference to submit via
2010 Nov 15
2
L-shaped boxes with lattice graphs?
Can anyone suggest an equivalent, for lattice graphs,
of the base graphics argument bty="l"?
NB that I am leaving off the box around the strip,
with a strip function:
stripfun <- function(which.given,which.panel,
factor.levels=as.expression(levlist), ...){
panel.text(x=0, y=0.5,
lab = as.expression(levlist[which.panel[which.given]]),
2007 Oct 30
1
postscript(), used from a pre R-2.6.0 workspace
I find that if start R-2.6.0 in a workspace with no .RData file,
load one of my workspaces from R-2.5.1 or earlier into R-2.6.0,
and then before doing anything else type postscript(file="z.ps"),
I get::
> ls()
character(0)
> load(url("http://www.maths.anu.edu.au/~johnm/r/test5.RData"))
> postscript(file="z.ps")
Error in postscript(file = "z.ps")
2010 Nov 25
1
\Sweaveopts error
I have a file 4lmetc.Rnw, intended for inclusion in a LaTeX document,
that starts:
\SweaveOpts{engine=R, keep.source=TRUE}
\SweaveOpts{eps=FALSE, prefix.string=snArt/4lmetc}
The attempt to process the file through Sweave generates the error:
> Sweave("4lmetc")
Writing to file 4lmetc.tex
Processing code chunks ...
1 : keep.source term verbatim
Error in file(srcfile$filename, open =
2011 Jun 29
1
R-devel Digest, Vol 100, Issue 28
I get the same style of path as Hadley. This is on Windows 7 Home Premium with SP1.
I start R by clicking on the R-2.31.0 icon.
I'd assumed that it was a change that came with R-2.13.0!
(On 32-bit Windows XP, which I have just checked, I do indeed get the 8.3 paths.)
> R.home()
[1] "C:/Programs/R/R-2.13.0"
> sessionInfo()
R version 2.13.0 (2011-04-13)
Platform:
2000 May 18
0
Control of box and staple width in boxplot()
I''d like to make the following changes (differences are from R1.0.1):
boxplot.default()
1c1
< function (x, ..., range = 1.5, width = NULL, varwidth = FALSE,
---
> function (x, ..., range = 1.5, width = NULL, varwidth = FALSE,
boxwex=0.8,
37c37,38
< bxp(groups, width, varwidth = varwidth, notch = notch,
---
> bxp(groups, width, varwidth = varwidth,
1999 May 25
1
Muliple partial matches with pmatch
I am using R0.64.1 under Windows 95.
The help for `pmatch' states that:
If `duplicates.ok' is false multiple matches will result
in the value of `nomatch' being returned, and if it is
true, the index of the first matching value will be
returned.
The help for pmatch gives the following examples:
pmatch("m", c("mean",
2011 May 08
1
anova.lm fails with test="Cp"
Here is an example, modified from the help page to use test="Cp":
--------------------------------------------------------------------------------
> fit0 <- lm(sr ~ 1, data = LifeCycleSavings)
> fit1 <- update(fit0, . ~ . + pop15)
> fit2 <- update(fit1, . ~ . + pop75)
> anova(fit0, fit1, fit2, test="Cp")
Error in `[.data.frame`(table, , "Resid.
2004 Mar 21
0
Solutions to Exercises - Data Analysis & Graphics Using R
This message is aimed at anyone who may be using
exercises from my book with John Braun for teaching
purposes. I am using this channel of communication
in the absence of any other obvious effective channel.
I ask the forbearance of list members.
Our intention is to post solutions to selected exercises
(the more challenging exercises) on the web, via a link
from
1999 Aug 12
0
text(x,y,expression(sqrt(txt))), where txt is a text string
My question was supposed to have been (I had plot() instead of text()!)
I have e. g.
> txt <- "abcd"
In
> text(x,y, expression(sqrt(txt)))
I want txt to be evaluated, i. e. to get sqrt(abcd) plotted,
(with the square root symbol replacing sqrt, of course).
Is there a way to achieve this?
Berwin Turlach provided the following:
> txt <- "abcd"
1999 Aug 12
0
text(x,y,expression(sqrt(txt))), where txt is a text stri
Further to my earlier message, I've now got both the Turlach
solution & the Venables solution to work in R0.64.2
The as.name() conversion in the Venables solution is not needed.
John Maindonald email : john.maindonald at anu.edu.au
Statistical Consulting Unit, phone : (6249)3998
c/o CMA, SMS, fax : (6249)5549
John Dedman Mathematical
1999 Jan 15
1
Bug in coplot()
I am using R0.63.1 under Windows 95.
Settings of <number> and <interval> when coplot is called
are ignored, except for generating a warning. For example:
> data(quakes)
> coplot(long ~ lat | depth * mag, data = quakes, number=3)
Warning: parameter "number" couldn't be set in high-level plot() function
The warning is repeated ad nauseum.
The following changes