ChuckB == Charles C Berry [EMAIL PROTECTED]
on Sun, 20 Jan 2008 20:07:05 -0800 writes:
ChuckB On Sun, 20 Jan 2008, Andrew Yee wrote:
Hi, I've been using R in Windows but am now starting to
use it more often in the UNIX environment. In Windows,
I'm used to the text
You probably do not have write permission in your current working directory.
Uwe Ligges
amna khan wrote:
Dear Sir
When I close the R console I face the following problem continuously
Error in gzfile(file, wb) : unable to open connection
In addition: Warning message:
In gzfile(file, wb)
Dear Sir
When I close the R console I face the following problem continuously
Error in gzfile(file, wb) : unable to open connection
In addition: Warning message:
In gzfile(file, wb) : cannot open compressed file '.RDataTmp'
Help is required in this regard.
--
AMINA SHAHZADI
Department of
Example data frame:
a = c(Alpha, Beta, Gamma, Beeta, Alpha, beta)
b = c(1:6)
example = data.frame(Title = a, Vals = b)
example
Title Vals
1 Alpha1
2 Beta2
3 Gamma3
4 Beeta4
5 Alpha5
6 beta6
I would like to be able to get a new data frame from this data frame
You can find examples of using tcltk here:
http://www.sciviews.org/_rgui/tcltk/
Also the gwidgets package is a toolkit independent
layer that can run on top of tcltk or RGtk and it is described
with many examples here:
http://wiener.math.csi.cuny.edu/pmg/gWidgets
On Jan 21, 2008 4:02 AM,
Hello everyone,
I've been advised to use merge to extract information from two
data.frames with a number of common columns, but I cannot get a grasp
on how it sorts the result. With sort=FALSE, I would expect it to give
the result back sorted exactly as the input was but it seems it is not
Hi the list
*** New package ***
R to LaTeX : Univariate analyses
r2lUniv
*URL:*http://www.r-project.org, http://christophe.genolini.free.fr/r2lUniv
*** Description ***
r2lUniv performs some basic analyses, then generates a code to be
included in a LaTeX document
to print the analyses in a (so
Dear R Community,
I would like to announce the package surveillance, which provides
methods for the surveillance of count data time series originating
from the routine collection of public health data.
The package addresses epidemiologists and statisticians working with
routine surveillance, but
Thanks, Henrique!
Your approach definitely works and gives the result that I need, but the
calculations takes quite a while. As this problem itself is part of loop
(Markov Chain), I am still looking for faster and truely vectorized
solutions, maybe after a re-organisation of the data matrices?
On 1/21/2008 5:18 AM, Karin Lagesen wrote:
Example data frame:
a = c(Alpha, Beta, Gamma, Beeta, Alpha, beta)
b = c(1:6)
example = data.frame(Title = a, Vals = b)
example
Title Vals
1 Alpha1
2 Beta2
3 Gamma3
4 Beeta4
5 Alpha5
6 beta6
I would like
Hi!
I use R with Windows for a long time. In the last week I change to Windows
Vista. Now I can´t save the workspace image when I exit R. The system
presents the following message Unable to open .Rhistory. Does anyone can
help me?
I thank you in advance,
Ana
[[alternative HTML
a = c(Alpha, Beta, Gamma, Beeta, Alpha, beta)
b = c(1:6)
example = data.frame(Title = a, Vals = b)
example
Title Vals
1 Alpha1
2 Beta2
3 Gamma3
4 Beeta4
5 Alpha5
6 beta6
I would like to be able to get a new data frame from this data frame
jiho wrote:
[...snip...]
the result is still somehow sorted according to the order of b. I
would have expected the output to be:
merge(b,a,sort=F)
field1 field2 var2 var1
1 2 1 0.2739025 0.5134574
2 2 2 0.5147113 0.8063110
3 1 2 0.2958369
On Mon, 21 Jan 2008, Ana Azevedo wrote:
Hi!
I use R with Windows for a long time. In the last week I change to Windows
Vista. Now I can´t save the workspace image when I exit R. The system
presents the following message Unable to open .Rhistory. Does anyone can
help me?
Did you change the
I am downloading the latest R source code R-2.6.1.tar.gz
I am installing ion a 64-bit machine.
Is the configuration script the proper one for 64-bin installation ? I
mean the compiler and
linker options ..?
Thanks you,
Maura
--
Maura E.M
[[alternative HTML version deleted]]
Dear list,
I have a data.frame with nine categorical variables (0,1,2 and NAs)
that I would like to get the number of events for each of them. I can
extract this using summary() for each variable at a time with the
as.factor()argument (otherwise it will get me the mean value):
Hello,
I've meanwhile got onechannelGUI running (my OS is windows). I'm trying to
use it for the analysis of human exon arrays. I was able to load cel files
and run them through affymetrix power tools, to obtain normalized affy data.
My next step was trying to find differentially spliced
On 1/21/2008 8:08 AM, [EMAIL PROTECTED] wrote:
Dear list,
I have a data.frame with nine categorical variables (0,1,2 and NAs)
that I would like to get the number of events for each of them. I can
extract this using summary() for each variable at a time with the
as.factor()argument
Will not just apply(mydf, 2 table)
give you what you want in a list format?
--- [EMAIL PROTECTED] wrote:
Dear list,
I have a data.frame with nine categorical variables
(0,1,2 and NAs)
that I would like to get the number of events for
each of them. I can
extract this using summary()
Ubuntu users on the amd64 platform will be pleased to know that up-to-
date binary R packages are now available from CRAN. Following the
policy for the i386 architecture, the supported Ubuntu releases are
the latest two Ubuntu releases and the latest LTS release. Currently,
these are Gutsy
Dear list,
Does there exist R routines for reading output files from Genepop?
(GENEPOP is a population genetics software package by Raymond Rousset;
http://genepop.curtin.edu.au/ )
I find several R packages that contain function for writing Genepop input
files, but
non that does the reverse.
What you may want is a measure of inter-rater
reliablity though what you are discussing is not the
way it is normally used.
Try googling inter-rater reliability or have a
look at a text book like Introduction to classical
and modern test theory Linda Crocker and James
Algina.
New York : Holt,
Maura E Monville wrote:
I am downloading the latest R source code R-2.6.1.tar.gz
I am installing ion a 64-bit machine.
Is the configuration script the proper one for 64-bin installation ? I
mean the compiler and
linker options ..?
Thanks you,
Maura
The short answer is yes.
The
Hello,
I would like to optimize the function fqp as following:
a= c(0.2,0.3,0.4)
vcov=matrix(c(1,2,3,4,5,6,7,8,9),3,3)
fqp - function(b) {t(b)%*%a-0.5*((t(b)%*%vcov)%*%b)}
I want the linear constraint to be something like abs(b1)+ abs(b2)+abs(b3)
= 1.5.
I found it diffcult to use
Hi all,
My initial searches on this yielded bupkis; I'm looking to access the
pixel-by-pixel data (preferably as a matrix, 0 for black, 1 for white)
of rendered letters(given a specific font, size, and dpi. Any
suggestions as to how to achieve this?
Mike
--
Mike Lawrence
Graduate
Perhaps:
http://finzi.psych.upenn.edu/R/library/ARES/html/read.genepop.html
On 21/01/2008, H. Skaug [EMAIL PROTECTED] wrote:
Dear list,
Does there exist R routines for reading output files from Genepop?
(GENEPOP is a population genetics software package by Raymond Rousset;
hello,
it is in the summary.coxph object :
names(summary(yourcoxobject))
You can see '$coef'
summary(yourcoxobject)$coef[,5]
2008/1/21, Eleni Christodoulou [EMAIL PROTECTED]:
Hello R community!
I am trying to apply the cox model and thus I am creating a coxph object.
I
would like to
On Mon, 21 Jan 2008, Erin Hodgess wrote:
In Windows Vista, you have to run as administrator.
Please don't: the point of not running as administrator is to protect you
and your OS from rogue processes. *If* you use a starting directory you
own, there is no problem on Vista (for me, or many
Thank you very much for the help.
kk=data.frame(fact=letters[1:10], freq=c(5,1,10,2,10,7,5,10,30,20))
res - rep(kk[[1]], kk[[2]])
resmat - matrix(c(res), 10)
image(1:10, 1:10, resmat, col=rainbow(20))
grid(ncol(resmat), nrow(resmat))
Great! that is much better :-)
Still,... any idea
Also Rgui.bat and RguiStart.bat at http://batchfiles.googlecode.com
provide some alternate ways to start up R. For example, if Rgui.bat
is placed anywhere in your path then in the Windows console:
cd %homepath%
Rgui
will start up R in your home folder.
On Jan 21, 2008 6:46 AM, Prof Brian
Hello,
Here it is a better example:
http://amarsagoo.blogspot.com/2007/08/on-pie-charts-etc.html
best,
Marta
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
Thanks.
gWidgets is quite good. However, I want to get the selection text chunk as
well as the index, but the index arguments does not work for gtext.
obj-gtext(cont=T)
svalue(obj,drop=T)
[1] cde
svalue(obj,drop=T,index=T)
[1] cde
2008/1/21, Gabor Grothendieck [EMAIL PROTECTED]:
You can
Hi
I am looking for a function to convert an hexadecimal base input to a
binary base output.
May anybody help me?
Thank you
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
I have been running R on my Linux/SuSE for over 2 months. I know it works.
Some time ago it aborted as it ran out of memory in spite of having 2GB RAM
+ swap. Someone in this forum asked me whether I had compiled with the
64-bit libraries or the 32-bit since my computer is a 64-bit architecture.
Yes this should be possible using tcltk. Could you give a little more detail
of what you are trying to do? Are you putting the text in a text widget
(mini-wordproccessor type window) or an entry widget (small, 1 line of text)?
The methods are a little different between them. Also, do you
Hi Mark,
markaoki wrote:
hi,
I have determined some of my own answers, so will share here.
There are binary associations within the R libraries specific to the
environment
that created them, be it Windows or Linux, 32 or 64 bit. I found these
associations in the
Meta directory of the
I would like to make a small package for basic qualitative analysis (some
functions are like what http://www.pressure.to/qda/ does).
Basically, I read the texts into a database (using RSQLite), then fetch the
texts and push it to a text widget. Next, I will do some coding. That is,
select the
Maura E Monville wrote:
I have been running R on my Linux/SuSE for over 2 months. I know it
works.
Some time ago it aborted as it ran out of memory in spite of having
2GB RAM + swap. Someone in this forum asked me whether I had compiled
with the 64-bit libraries or the 32-bit since my
FOr some reason the R installation is failing with the following message:
configure: error: Neither an F77 compiler nor f2c found
But I do have f2c installed on my computer:
linux-Ciccia:/usr/local/bin/R-2.6.1 # which f2c
/usr/bin/f2c
I am installing as root. Is this the problem ?
Thank you.
On Mon, 21 Jan 2008, Gallego Liberman, Matias wrote:
Hi
I am looking for a function to convert an hexadecimal base input to a
binary base output.
May anybody help me?
Here are some pieces. Roll up your own function.
hexdat - replicate(10,
Hello all,
Thank you all very much for the many helpful suggestions. I think this
discussion has been extremely informative. Rather than try to list all
these examples in my talk, I sent out a link to everyone so that they
could read the discussion for themselves. If you would like to access
my
Does anyone know of a test for stationarity of a time series, or like
all ordination techniques it is a qualitative assessment of a
quantitative result. Books, papers, etc. suggestions welcome.
thanks
Stephen
--
Let's not spend our time and resources thinking about things that are
so little or
It is unlikely that f2c will work on a 64-bit platform. So you will have
to specify it manually (via the script src/scripts/f77_f2c perhaps?).
You would be much better off installing your OS's Fortran compiler.
On Mon, 21 Jan 2008, Maura E Monville wrote:
Last Friday my computer monitor was
kpss.test in the tsereis package should do the trick
On Jan 21, 2008 12:36 PM, stephen sefick [EMAIL PROTECTED] wrote:
Does anyone know of a test for stationarity of a time series, or like
all ordination techniques it is a qualitative assessment of a
quantitative result. Books, papers, etc.
stephen,
there are numerous tests. most widely used are adf test and pp test,
both of which can be implemented in R.
On Jan 21, 2008 2:36 PM, stephen sefick [EMAIL PROTECTED] wrote:
Does anyone know of a test for stationarity of a time series, or like
all ordination techniques it is a
Is there any (list.files)-like function that sorts the files by
(modification) date?
Alberto Monteiro
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
Perhaps:
lsfiles - file.info(dir())
lsfiles[order(lsfiles$mtime),]
On 21/01/2008, Alberto Monteiro [EMAIL PROTECTED] wrote:
Is there any (list.files)-like function that sorts the files by
(modification) date?
Alberto Monteiro
__
On Monday 21 January 2008 08:36:13 pm stephen sefick wrote:
ss Does anyone know of a test for stationarity of a time series, or like
ss all ordination techniques it is a qualitative assessment of a
ss quantitative result. Books, papers, etc. suggestions welcome.
I recommend the Walter Enders
I'm finalizing development of a package that will include a vignette.
Without the vignette, the package builds fine with no warnings and is
ready for distribution. Now, I am following the directions for
developing vignettes Sweave, Part II: Package Vignettes by Friedrich
Leisch.
I am using a
hello
I am dealing with a dataset in which I wish to do both quantile and
regional lowess normalization using the MAANOVA package. I looked
through the documentation for MAANOVA, and it appears that there is no
in-built function that does qq normalization on the data structure that
is
Hi Harold,
Doran, Harold wrote:
I'm finalizing development of a package that will include a vignette.
Without the vignette, the package builds fine with no warnings and is
ready for distribution. Now, I am following the directions for
developing vignettes Sweave, Part II: Package Vignettes by
There is now and it looks like I got through the first phase. But, now I
get the error below.
* DONE (MiscPsycho)
* creating vignettes ... ERROR
Loading required package: statmod
Below is what alpha *would be* if the item were removed
Error in texi2dvi(file = bft, pdf = TRUE, clean = FALSE,
Dear R-experts,
My problem is how to handle a 10GB data file containing genotype data. The file
is in a particular format (Illumina final report) and needs to be altered and
merged with phenotype data for further analysis.
PERL seems to be an frequently used solution for this type of work,
What TeX variant are you using? If texi2dvi() can't find texi2dvi, it
tries to fall back on pdflatex which has to be in the path.
I have always had good luck with MikTeX, which does have texi2dvi.
You could always try
library(tools)
Sweave(TheVignette.Rnw)
debug(texi2dvi)
Jim
First thanks for your patience. I use MikTex as well. I do have both
(texti2dvi and pdflatex) on my local machine. I copied and pasted the
code below and stepped through it. I think this break down with the
following error. Indeed, I think there is a path problem.
However, I don't see a
It is still not clear exactly how you want to be able to do the
transformation. What does Phenotypeinfo.txt contain and how big is
it? Is sound like this has some data that you want to be able to
merge into the other file. If this is just reading in
Phenotypeinfo.txt, and then using that data
Dear all,
I have a set of matrix and I need to compute several measures on source image
and to generate other matrices, in a moving window way. My input images have
integer and double precision values, and also NAs.
I need to compute some measures that I will define as functions (like the
On 21/01/2008, at 10:00 PM, Uwe Ligges wrote:
Fredrik Lundgren wrote:
Hello,
I recently changed from Win XP to Mac OS X (10.5.1).
Is there a way to run Bugs (in any version) in R (R version 2.6.0
(2007-10-03)) on this platform?
Which way to run Bugs in R did you use in Windows?
On MacOS
Hi everyone,
I am sure that this question has been asked here some
time ago but I do not remember the answer and was
unable to find it in the archives...
Below is my question: suppose that I have a data.frame
x and one of it's columns name is CPI/RPI (without
quotation marks of course). How can
Moshe Olshansky wrote:
Hi everyone,
I am sure that this question has been asked here some
time ago but I do not remember the answer and was
unable to find it in the archives...
Below is my question: suppose that I have a data.frame
x and one of it's columns name is CPI/RPI (without
I've been building, checking, and installing a package all day today
with no errors. I have even been able to bring the package into R on my
machine and use it all day doing test runs.
However, now, when I run Rcmd check, I get errors. Keep in mind not one
thing has changed. I haven't touched any
snip
(Ted Harding) wrote:
Are you sure the name really is CPI/RPI? In setting
yp my example, I read in a CSV file temp.csv:
A,B/C
1,2
3,4
5,6
with
D-read.csv(temp.csv)
and got:
D
A B.C
1 1 2
2 3 4
3 5 6
so read.csv() had changed the name from B/C to B.C.
I had
On Mon, 21 Jan 2008, Boks, M.P.M. wrote:
Dear R-experts,
My problem is how to handle a 10GB data file containing genotype data. The
file is in a particular format (Illumina final report) and needs to be
altered
and merged with phenotype data for further analysis.
If the data have all
You need to do 'is.na(x)' instead of x == NA.. Here is a way of doing it:
x - matrix(1,10,10)
x[sample(1:100,10)] - NA
x
[,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10]
[1,]111111111 1
[2,]111111 NA11 1
Thanks Jim
I see how this works. Problem is, I need to interrogate only a subset
of fields. In your example, I need to put the total number of NA
fields out of fields 3..8, excluding 1,2 9 10. Also, I don't see how
the method inserts the sum into a particular field in a row. I guess
you
If you only want a subset, then use that in the function:
Dataset.target - apply(x,1,function(.row) sum(is.na(.row[3:8])))
This will put it back in column1:
x - matrix(1,10,10)
x[sample(1:100,10)] - NA
x[,1] - 0 # make sure column 1 has no NAs so sums are correct
x
[,1] [,2] [,3]
ronggui ronggui.huang at gmail.com writes:
Thanks.
gWidgets is quite good. However, I want to get the selection text chunk as
well as the index, but the index arguments does not work for gtext.
obj-gtext(cont=T)
svalue(obj,drop=T)
[1] cde
svalue(obj,drop=T,index=T)
[1] cde
The
Thanks Jim
That got me there. I suppose R prefers absolute field references in
scripts rather than macrosubstitutions of field names like you would
do in pearl or shell scripts?
Anyway, thanks for you help.
Cheers
Jon
Soli Deo Gloria
Jon Erik Ween, MD, MS
Scientist, Kunin-Lunenfeld
I really have headache when I do google search for information about R.
Any tricks or tips?
thx.
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
Have you tried http://www.rseek.org/ ?
2008/1/22, Wensui Liu [EMAIL PROTECTED]:
I really have headache when I do google search for information about R.
Any tricks or tips?
thx.
__
R-help@r-project.org mailing list
Personaly, I add R statistics to the query and I am pretty satisfied
I really have headache when I do google search for information about R.
Any tricks or tips?
thx.
__
R-help@r-project.org mailing list
Quoth Wensui Liu on Boomtime, Chaos 22, 3174:
I really have headache when I do google search for information about
R.
Adding `site:r-project.org' (no quotes) will get you official docs,
`site:stat.ethz.ch' will get the mailing lists; for instance:
site:r-project.org markov chain
or:
Quoth ronggui on Boomtime, Chaos 22, 3174:
Have you tried http://www.rseek.org/ ?
That's great, ronggui; looks like they do some things I tried on an
ad-hoc basis:
* site:r-project.org
* filetype:r
* etc.
but save a lot of typing. Thanks.
On Mon, 21 Jan 2008, Moshe Olshansky wrote:
Thanks to all those who responded!
Now the obvious thing (putting the column name into
double quotes) works for me too. But it didn't work
yesterday! I have no explanation for this.
I would have thought 'the obvious thing' for $ was
x$`CPI/RPI`
74 matches
Mail list logo