Dear R People:
I am trying to build R-2.5.0 from source on a Windows machinee.
I downloaded the tools and such, and started things off.
I received some odd errors messages, looked on the R Search
and found a similar problem. The suggestion was to re-load
ld.exe.
I downloaded and installed
I see several mapping libraries but cannot find how to do a simple task.
Starting with a vector of zip codes (in the United States and in Canada) I
would like to automatically lookup the corresponding coordinates. Can you
suggest a package and function that I should turn to?
I would also like to
Hi everyone,
Can anyone kindly help me with the interpretation of colors in the
RColorBrewer Package (brewer.pal) ?
For example, in brewer.pal command, when picking up the RdBu palette,
does red means larger or smaller value?
I am new to this fantastic program, and I have searched up and
W. Katy linlicc at hotmail.com writes:
Can anyone kindly help me with the interpretation of colors in the
RColorBrewer Package (brewer.pal) ?
For example, in brewer.pal command, when picking up the RdBu palette,
does red means larger or smaller value?
Conventionally, the redder colors
It looks like your tools are not current. mbrtowc is in mingw-runtime,
and you need version =3.11 (preferably 3.12).
The rest of the messages suggest that malloc.c did not get built
correctly, and for that you need to look at what happened in a clean
build. (Just rm malloc.o and rebuilding
hello,
what about these functions lex/yacc which can parse and recognize a syntax?
thanks
_
[[alternative HTML version deleted]]
__
R-help@stat.math.ethz.ch
These are not functions.
These are separate products (one more is bison), aimed to help in creating
programming language interpreters.
You should know the C programming language and be familiar with the
algorithm theory, the finite state machine theory and with the LALR
grammatics, in order to
Dear List,
I am ploting an its object with user-specified ticks on the x axis, but
cannot figure out how to adjust the plotted grid to these ticks.
temp - its(1:3,dates=as.POSIXct(strptime(c(1999-12-31
01:00:00,2000-01-01 02:00:00,2000-01-10 02:00:00),format=%Y-%m-%d
%X)))
plot(temp)
Gives the
elyakhlifi mustapha wrote:
hello,
what about these functions lex/yacc which can parse and recognize a syntax?
thanks
What about them? There are books, notably an O'Reilly one by D.Brown, as well
as works on parser theory (Aho+Sethi+Ullman, e.g.).
(This is more than a bit off-topic for
hie
when using survdiff there are only 2 values for rho 01 but there are other
rank tests .l know l can use other values of rho (l have tried it) but then
how do l know what test is being carried out. l know there is more than 1 test
for comparing survival data
thanks
Great!
I was thinking about adding such a feature in the future.
Gabor Grothendieck wrote:
Note that a significant difference between the two solutions is that
the OO solution allows new methods corresponding to method=
to be added without changing the function holding the statements.
If I understood correctly, the initial post asked for a vector of the same
length as the original one. This is why I suggested:
tapply(Measure,Month,mean)[as.character(Month)]
btw, this is handy way to compute deviations from the means of subgroups (x
- tapply(x, group,
Hi
I'm using R version 2.3.1 on Red Hat Enterprise Server 3.
When I run a simple:
plot(1:10,1:10)
The plot comes out great, but the fonts are displayed wrongly:
http://coxpress.sourceforge.net/test.jpg
I realise this is probably not an R problem per se, but before I go
messing about with
I am writing a function in which, at some point, I to recuperate the
name of a previous object in quotes. I am currently using the function
Cs() from the Hmisc library but the result is:
foo - function(xvar) {
variable - Cs(xvar)
return(variable)
}
foo(x1)
xvar
when I would expected to
Are you using a UTF-8 locale? (You know, there are good reasons why the
posting guide asks for sessionInfo() output.)
If so, the problem is probably with the non-availability of fonts in
ISO10646 encoding, and you may well find that the R update suggested
(before posting) in the posting guide
On 23/05/2007 2:13 AM, Erin Hodgess wrote:
Dear R People:
I am trying to build R-2.5.0 from source on a Windows machinee.
I downloaded the tools and such, and started things off.
Could you give the details on what you downloaded? As Brian said, it
looks like you found obsolete copies.
Use ave. Assuming DF is your 2 column data frame:
ave(DF[,1], DF[,2], FUN = mean)
On 5/22/07, Benoit Chemineau [EMAIL PROTECTED] wrote:
Hello,
I have a basic problem but i can't figure it out with the
table underneath. I would like to compute monthly averages.
I would like to have the
We were promised this package last spring but I can't find it anywhere! Does
anyone have any info? Thanks.
From RNews:
Umacs (Universal Markov chain sampler) is an R package (to be released in
Spring 2006) that facilitates
the construction of the Gibbs sampler and Metropolis algorithm for
Hi,
I have 2 text files , the first one looks like this :
CC: some statements
this is followed by 10-12 lines in the similar pattern and then the next line
is a comment and from the 14th line all the columns are aligned and the
variable values are filled in
The next
francogrex wrote:
We were promised this package last spring but I can't find it anywhere! Does
anyone have any info? Thanks.
From RNews:
Umacs (Universal Markov chain sampler) is an R package (to be released in
Spring 2006) that facilitates
the construction of the Gibbs sampler and
Hi R people,
I need to do a gaussian interpolation, but I can't find a R function to do.
Maybe this interpollation have a different name ?
Regards
J.S.
_
__
It may be poor form, but whenever I deal with factors in this way I
find as.character and as.numeric useful
ex.
#if your factor levels are letters
z=factor(unique(c(as.character(x),as.character(y
#if your factor levels are numbers
I have numerous replicated goodness-of-fit experiments (observed compared to
expected counts in categories) and these
replicates are nested within a factor.
The expected counts in each cell are external (from a
scientific model being tested). The
calculations I need within each level of the
Hi All,
I am still new and so good with R. I am looking for anyone who can help
me with a script that can read and merge two ascii rainfall datasets but
discarding all the similar/repeated years within them. The new dataset
has missing months but it has a longer period than the old data which
Judith Flores wrote:
Hi,
I used split.screen command to creaye 5 screens,
4 screens contain a plot each, the fifth screen is
designated to a legend. I am having difficulties
setting the dimensions of the screens in a way that
would allow me to have the screen dedicated to the
I am trying to use Fisher's z' transformation of the Pearson's r but the
standard error does not appear to be correct. I have simulated an example
using the R code below. The z' data appears to have a reasonably normal
distribution but the standard error given by the formula 1/sqrt(N-3) (from
Quoting Judith Flores [EMAIL PROTECTED]:
Hi,
I have been trying many of the suggested options
to place a legend outside plotting area, including
something like this:
par(xpd=T,
oma=par()$oma+c(4.5,0,1.5,0),mar=par()$mar+c(1,0,1,0)
But the aspect of the four plots gets
This is a long-standing idiom:
foo - function(xvar) deparse(substitute(xvar))
foo(x1)
[1] x1
Bill Venables
CSIRO Laboratories
PO Box 120, Cleveland, 4163
AUSTRALIA
Office Phone (email preferred): +61 7 3826 7251
Fax (if absolutely necessary): +61 7 3826 7304
Mobile:
On 5/23/2007 7:40 AM, Mike White wrote:
I am trying to use Fisher's z' transformation of the Pearson's r but the
standard error does not appear to be correct. I have simulated an example
using the R code below. The z' data appears to have a reasonably normal
distribution but the standard
Mike White wrote:
I am trying to use Fisher's z' transformation of the Pearson's r but the
standard error does not appear to be correct. I have simulated an example
using the R code below. The z' data appears to have a reasonably normal
distribution but the standard error given by the
Hi folks,
I'm attempting to compile and install 2.5.0, and make check is failing
one of the earlier sanity tests. I'll append the relevant portion of the
Rout.fail file below, but I've narrowed it down manually to a single
command:
sessionInfo()
R version 2.5.0 (2007-04-23)
Hi,
I've seen various posts on this question, but still can't get the code
right.
If I run the following code one line at a time, it works fine. If I run
it together as a block, however, it doesn't wait for the input and gives
an error.
There must be a way to have are pause/wait for an
as you are using MacOS X, you'll have ghostscript installed anyway. so
try in R `dev2bitmap' with `type =pdfwrite'. I believe `gs' _does_
include compression. a quick test showed at least a reduction by about
a factor of 2 relative to `pdf()'. probably one can fiddle with the
ghostscript
Forest Floor wrote:
Hi,
I've seen various posts on this question, but still can't get the code
right.
If I run the following code one line at a time, it works fine. If I run
it together as a block, however, it doesn't wait for the input and gives
an error.
There must be a way to
Hi,
I have a problem with .RData.
A friend gave me file .RData (he works on Linux).
I have installed but I got the message(I'm in Windows):
erreur fatale:impossible de recuperer les données sauvées dans .RData.
Can you help me please to solve my problem. It's very important for me.
If there
I want to use table() to show NA values with factor variables. Using
the set up from the help page, I have:
b - factor(rep(c(A,B,C), 10))
d - factor(rep(c(A,B,C), 10), levels=c(A,B,C,D,E))
is.na(d) - 3:4
table(b, d)
d
bA B C D E
A 9 0 0 0 0
B 0 10 0 0 0
C 0 0 9 0
On Wednesday 23 May 2007 07:31:47 am CHANDRAMOULI BANERJEE wrote:
Hi,
I have 2 text files , the first one looks like this :
CC: some statements
this is followed by 10-12 lines in the similar pattern and then the next
line is a comment and from the 14th line all the columns are
On Wed, May 23, 2007 at 07:24:04AM -0700, Waichler, Scott R wrote:
as you are using MacOS X, you'll have ghostscript installed anyway. so
try in R `dev2bitmap' with `type =pdfwrite'. I believe `gs' _does_
include compression. a quick test showed at least a reduction by about
a factor of 2
Can you tell us a bit more. In particular where is
the .RData stored and how are you accessing it?
An example of the actual code would help.
--- dieng alle [EMAIL PROTECTED] wrote:
Hi,
I have a problem with .RData.
A friend gave me file .RData (he works on Linux).
I have installed but
Scott
Scott Waichler, Senior Research Scientist
Pacific Northwest National Laboratory
MSIN K9-36
P.O. Box 999
Richland, WA 99352USA
509-372-4423 (voice)
509-372-6089 (fax)
[EMAIL PROTECTED]
http://hydrology.pnl.gov
Dear All,
I am on WindowsXP with 512 MB of RAM, R 2.4.0, and I want to read in a
big file mln100.txt. The file is 390MB big, it contains a column of 100
millions integers.
mln100=scan(mln100.txt)
Error: cannot allocate vector of size 512000 Kb
In addition: Warning messages:
1: Reached total
Hi
I'm using R version 2.3.1 on Red Hat Enterprise Server 3.
When I run a simple:
plot(1:10,1:10)
The plot comes out great, but the fonts are displayed wrongly:
http://coxpress.sourceforge.net/test.jpg
I realise this is probably not an R problem per se, but before I go messing
about with
You haven't given us much to go on.
The most likely problem is with 'A friend gave me file', is that the file
could have got corrupted in the transfer.
However, other possibilities are
1) You have a much older version of R than your friend.
2) Your computer has much less RAM than your
Dear R People:
I thought all was well with my source compilation on Windows
until I tried make check
Here is an abbreviated version of my results:
C:\esr\R-2.5.0\src\gnuwin32make check
make check
Testing package base
Running examples in 'base-Ex.R' ...
Comparing `base-Ex.Rout'
Erin Hodgess wrote:
Dear R People:
I thought all was well with my source compilation on Windows
until I tried make check
Here is an abbreviated version of my results:
C:\esr\R-2.5.0\src\gnuwin32make check
make check
Testing package base
Running examples in 'base-Ex.R'
It looks like the system does not like that you installed the apps under
your user folders.
E.g. C:\Documents and Settings\Erin\Local
Can you install in C:\Erin\Local
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Erin Hodgess
Sent: Wednesday, May 23,
I am rebuilding R in a Mandriva Linux environment and have hit a new
stumbling point I get the following error. Any help would be greatly
appreciated.
make[1]: Entering directory `/usr/local/R_HOME/R-2.5.0/tests'
make[2]: Entering directory `/usr/local/R_HOME/R-2.5.0/tests'
make[3]: Entering
I use code ( actually its code from vars package and its directly below
) to do a sequence of lm calls and the data I use from the matrix
depends on restrictions.
for(i in 1:K){
datares - datasub[, which(x$restrictions[i, ] == 1),drop=FALSE]
y - yendog[, i]
lmres - lm(y ~ -1
hi every body.
Im new in this program. Im traying to install R in linux suse10.0 in
two following form:
a) with the file R-2.5.0.tar.gz
b) and the rpm file : R-base-2.5.0-2.1.i586.rpm
** In the first case a) when i uncompressed and type:
linux:/opt/R/R-2.5.0 # ./configure
the
I am not completely clear on the duplicate problem but
have you had a look at ?unique as an approach to
dealing with this and at ?merge to handle the actual
data merging?
--- Marshall L. Mdoka [EMAIL PROTECTED] wrote:
Hi All,
I am still new and so good with R. I am looking for
anyone who
On Tue, 22 May 2007, Farrel Buchinsky wrote:
I see several mapping libraries but cannot find how to do a simple task.
(for some definition of simple)
Perhaps this thread:
http://article.gmane.org/gmane.comp.lang.r.geo/1534
on geocoding might help, especially Gabor Grothendieck's
see:http://finzi.psych.upenn.edu/R/Rhelp02a/archive/92525.html
On 5/23/07, Remigijus Lapinskas [EMAIL PROTECTED] wrote:
Dear All,
I am on WindowsXP with 512 MB of RAM, R 2.4.0, and I want to read in a
big file mln100.txt. The file is 390MB big, it contains a column of 100
millions
Surprisingly, I played around with some test code and below actually
creates equations that look correct.
tempmat-matrix(10,nrow=6,ncol=6)
restrictmat-diag(6)
colnames(tempmat)-c(AUD.l1,CHF.l1,CAD.l1,GBP.l1,EUR.l1,JPY.l
1)
rownames(tempmat)-c(AUD,CHF,CAD,GBP,EUR,JPY)
eqn-list()
for ( i in 1:6
Hi All
I am saving a dataframe in my MS-Win R with save().
Then I copy it onto my personal AFS space.
Then I start R and run it with emacs and load() the data.
It loads only 2 lines: head() shows only two lines nrow() als say it has only 2
lines, I get error message, when trying to use this data
Hi List
I'm running a series of mixed models using lme, and I wonder if there
is a way to sort them by AIC prior to testing using anova
(lme1,lme2,lme3,lme7) other than by hand.
My current output looks like this.
anova
Hmmm, been away and got this... I appreciate the effort but there
wasn't anything, in principle, in MASS on this I didn't already
know. My question is just more about the functioning of the lm
command and deriving these values. I understand that its the wrong
approach for repeated
Can someone direct me to a package, or packages, that can perform data
augmentation to deal with missing data?
Thanks,
John
John Sorkin M.D., Ph.D.
Chief, Biostatistics and Informatics
University of Maryland School of Medicine Division of Gerontology
Baltimore VA Medical Center
10 North Greene
Dear R People:
There seem to be some problems with the make check still.
I changed the TMPDIR to C:\Temp, and that helped a great deal.
But I'm still having problems with the internet.r functions.
Please see below:
C:\esr\R-2.5.0\src\gnuwin32make check
make check
Testing package base
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Christie
Sent: Wednesday, May 23, 2007 6:09 PM
To: Bert Gunter
Cc: R-help@stat.math.ethz.ch
Subject: Re: [R] repeated measures regression
Hmmm, been away and got this... I appreciate the
Hi John,
I have collected a few methods for doing this in a very empyrical
fashion. I've asked a few questions on r-help about them, and got
mixed responses. You can find the archived thread at:
http://tolstoy.newcastle.edu.au/R/e2/help/07/05/16660.html
The responses and linked resources might
60 matches
Mail list logo