Displaying 20 results from an estimated 4000 matches similar to: "Australian CRAN mirror"
2002 Jul 23
3
Aggregate: assembling the "by" part on the fly
Dear R users,
I'm having trouble using aggregate() and would
greatly appreciate your advice. I am using R 1.5.1
on Windows 2000.
I want to call my function in the following way
extract.data(x=dat[, "Age", "Year"])
where extract.data() uses aggregate() to count the number
of cases for each combination of "Age" and "Year".
I've defined
2002 Jul 18
0
Importing Data
Dear David,
If you have sufficient RAM you can increase the amount R uses by adding
the switch "--max-mem-size=1024M" to the command you use to start R
(change 1024 to whatever amount of RAM you have).
If you don't have lots of RAM, you may have to draw just a subset of data.
If you're developing or testing a model this will be okay, as long as you
choose
enough samples.
2003 Jan 17
0
Re: Universal legend in plot
Is your data such that it can be restructured into a form amenable to a
lattice plot, such as xyplot()? In that case, the legend (key in lattice)
can be placed pretty much anywhere.
Regards,
Andrew C. Ward
CAPE Centre
Department of Chemical Engineering
The University of Queensland
Brisbane Qld 4072 Australia
andreww at cheque.uq.edu.au
On Friday, January 17, 2003 10:22 PM, Vumani Dlamini
2001 Aug 03
0
update.packages: Resolution
Hello R users,
Thank you very much to those who responded so quickly and helpfully to my
question about update.packages() and Windows 2000. I am grateful to Thomas
Lumley, Jason Turner, Prof Brian D Ripley, Uwe Ligges and Andy Liaw (at least).
The solution was simply to use internet2.dll rather than internet.dll. I'm
sorry I didn't spot this in the documentation. Thank you again. As
2001 Nov 23
1
Changing strip widths in lattice plots
Hello R users,
I'm using xyplot (lattice) to plot some data. Unfortunately, the text that goes
into each strip is often too big to fit. For instance, one of the factors may
be labelled "Satisfaction with waiting time" which is too wide to fit. If I use
split.string() to wrap it onto two lines it is then too high to fit in the
strip. I'd prefer to apply split.string on the
2001 Dec 11
1
Paid support for R?
Dear R users,
Sorry if this has been discussed before.
I was recently looking at the MySQL site and saw that they offer various levels
of paid support. The support options range from basic email support (USD200)
through to extensive telephone support from the development team (USD10000).
These are annual prices.
This is something I would be happy to see available with R (maybe it is?). My
2001 Aug 28
2
Christmas tree graphs
Hello R users,
I wish to draw a type of horizontal bar chart for two groups (males and
females). The values for one group will start at the y-axis and point to the
left, and the values for the other group will start at the y-axis and point to
the right. If you're (un)lucky, the resulting graph can assume the shape of a
Christmas tree.
The data are
left.side <- c(107092, 113053,
2003 Apr 24
5
Fast R implementation of Gini mean difference
I have written the following function to calculate the weighted mean
difference for univariate data (see
http://www.xycoon.com/gini_mean_difference.htm for a related
formula). Unsurprisingly, the function is slow (compared to sd or mad)
for long vectors. I wonder if there's a way to make the function
faster, short of creating an external C function. Thanks very much
for your advice.
gmd
1999 Jul 19
0
AARNET mirror (Australia) of CRAN/R now available
Thanks to the efforts of Jason Andrade at AARNET and the CRAN people
there is now an Australian mirror of CRAN/R. The mirror will be
updated daily. It is
http://mirror.aarnet.edu.au/CRAN/
ftp://mirror.aarnet.edu.au/pub/CRAN/
To quote the web page
"R, also known as `GNU S', is a system for statistical computation and
graphics. It consists of a language plus a run-time environment with
2003 Oct 30
1
Trouble reshaping some data
I would appreciate some advice on the following task. I have
some data that currently looks like this:
t1 <- data.frame(id=c(1,1,2,2),
aspect=c("A","B","A","B"), score=c(10,9,11,12))
I'd like it to look like this:
id A B
1 10 9
2 11 12
reshape() looks like a good candidate for this job but I'm
not really sure about the roles of
2001 Jul 31
4
update.packages()
Dear R users,
I am using R Version 1.3.0 (2001-06-22) under Windows 2000 Professional (SP 2).
When I try "Packages"->"Update packages from CRAN"
the result is something like
trying URL `http://cran.r-project.org/bin/windows/contrib/PACKAGES'
unable to connect to 'cran.r-project.org'.
Error in download.file(url = paste(contriburl, "PACKAGES",
2008 Mar 18
1
Updating selected variables in a data frame
Dear list,
I'd like to update certain rows/columns in a data
frame with new values. The application is that
survey respondents may give an answer of "Other"
to a categorical question and then provide some
text describing what they mean. This text is then
reviewed and placed into a category. These edits
or recodes then need to be merged back into the
main dataset.
A small example
2008 Dec 15
2
Duplicates among columns of a data frame
Dear list,
I have a data frame of survey respondents, a little like this:
set.seed(20081215)
n <- 100
dat <- data.frame(id=1:100,
addr1=sample(LETTERS, n, replace=TRUE),
addr2=sample(LETTERS, n, replace=TRUE),
addr3=sample(LETTERS, n, replace=TRUE))
head(dat)
id addr1 addr2 addr3
1 1 R H Q
2 2 H C K
3 3
2003 Jan 22
4
Read.table for macs
Dear All,
I've been using R for windows for a while, without too many problems.
However, I'm forced to use the MAC OS system for teaching, because our
teaching labs are mac only (not my idea!!). I have a very basic problem,
but one that doesn't appear on the FAQs. I simply want to import data
from a spreadsheet. I'm using exactly what works fine on Windows, namely:
1 save
2003 Sep 04
2
laplace transform
Dear users,
is anybody of you aware of a R command to perform laplace transform or
even its inversion?
Thank you very much.
Luca
2003 Jul 22
3
R and C++ compared with only C++
My computer is a pentium 4 running at 2.4 GHz.
My R is 1.7.1
I have written a program in R that calls C++. The program spends most of the
time in C++ ( > 90% ). R basically deals with output and input.
How slower can this be compared with the program I would get from rewriting
everything in C++?
Thank you.
2003 Aug 21
5
graphic widow overwrite
Hi,
I am running a loop to plot multiple plots. In s-plus,
it shows multiple pages in the graphic window to allow
checking on each plot. but in R, the next plot always
overwrite the previous one, so i can only have the
last plot produced, is there a way to have multiple
pages in the graphic window just like S-plus does?
Thanks
2005 Dec 05
1
count.fields vs read.table
Dear R-help,
I am using R 2.1.1 on Windows XP.
I have a tab-delimited data file that has been exported by SAS. The file is reasonably big so I
apologise that I can't give a good toy example. I do this:
table(count.fields("t1.txt", sep="\t", quote="\""))
248
809
So I have 809 lines, each with 248 fields.
There's something wrong with
2006 Mar 23
1
NLME Covariates
HLM question?
Is there a minmum number of observations required for a category..I have
individusals in work teams.I have incomplete data for all the teams
..sometimes I only have data for one person in a team.I assume that HLM
can't work here! But what would be the mimimal.at the moment I have a
sample of about 240 in about 100 teams with teamsizes form 2 to 5.
Any advice?
Thanks
2003 Jul 30
6
reverse array indexing
Hi,
Suppose I have a multidimensional array:
tmp <- array(1:8, c(2,2,2))
is there a function out there that, given a one-dimensional array index,
will
return the separate indices for each array dimension?
for instance, tmp[8] is equivalent to tmp[2,2,2]. I'd like to derive the
vector (2,2,2)
from the index 8.
thanks,
Brad Buchsbaum