Hi Folks,
I see that people have been discussing the win.metafile device
on the list since before 2000.
Yet I have never seen this on a Linux distribution of R.
Is this because the device works by making calls (GPL calls of
course!) to a proprietary Windows library?
In that case I can
(Ted Harding) [EMAIL PROTECTED] writes:
Hi Folks,
I see that people have been discussing the win.metafile device
on the list since before 2000.
Yet I have never seen this on a Linux distribution of R.
Is this because the device works by making calls (GPL calls of
course!) to a
On Mon, 20 Oct 2003 [EMAIL PROTECTED] wrote:
Hi Folks,
I see that people have been discussing the win.metafile device
on the list since before 2000.
Yet I have never seen this on a Linux distribution of R.
Is this because the device works by making calls (GPL calls of
course!) to a
Kuantsai == Kuantsai Lee [EMAIL PROTECTED]
on Sat, 18 Oct 2003 18:20:23 -0700 writes:
Kuantsai Has anyone ported the Bagplot function by
Kuantsai Rousseeuw, Ruts, and Tukey from S to R? The S
Kuantsai function comprises a script and a FORTRAN
Kuantsai function. I assume
Thanks for good suggestions for alternatives to princomp!
My original question, though, was /why/ it was decided to disallow
more coloumns than rows in princomp. (And also whether it would be
possible to augment the result from prcomp with the coloumn means.)
--
Bjørn-Helge Mevik
Hi
I wondered what the standard procedure was for upgrading from one version of R to the
next. I currently have R 1.7.1 and want the latest release, R 1.8.0. I am running
SUSE linux 8.2. The main thing is that I want to keep all of the libraries that I
have installed for R 1.7.1 without
I posted a similar query some months ago. Some people answered stating that
win.metafiles were not available for R in linux. However, I was suggested
to use the package RSvgDevice, which allows transforming any graphic device
into Scalable Vector Graphics format, this file can then be opened with
Am using R on a Linux box and am currently writing an interactive R script.
1. How do I ask a user to press any key to continue ? I used a system call to
read but this only works if the Enter key is pressed:
print(Press any key to continue)
system(read)
2. How do I get a string input from
Dear R experts
How do I save a plot to a file in a specified format, f.ex png?
Apparently save.plot no longer exists, so I tried instead
dev.print(file=H:\\jesperf\\data1image,device=png())
However no file is created and much worse no graphics is produced
(on screen or
On 10/21/03 14:47, Ernie Adorio wrote:
Am using R on a Linux box and am currently writing an interactive R script.
1. How do I ask a user to press any key to continue ? I used a system call to
read but this only works if the Enter key is pressed:
print(Press any key to continue)
On Mon, 20 Oct 2003 [EMAIL PROTECTED] wrote:
I posted a similar query some months ago. Some people answered stating that
win.metafiles were not available for R in linux. However, I was suggested
to use the package RSvgDevice, which allows transforming any graphic device
into Scalable Vector
On Tue, 21 Oct 2003, Ernie Adorio wrote:
Am using R on a Linux box and am currently writing an interactive R script.
1. How do I ask a user to press any key to continue ? I used a system call to
read but this only works if the Enter key is pressed:
print(Press any key to continue)
I can't help you with 1.7.1: it is obselete. But since you are apparently
using Windows, there are menus in 1.8.0 to do what you want, as well as
the command savePlot() (AFAIK there never was a function save.plot).
On Mon, 20 Oct 2003, Kim Mouridsen wrote:
Dear R experts
How do I save
On Tue, 21 Oct 2003, Ernie Adorio wrote:
Am using R on a Linux box and am currently writing an interactive R script.
1. How do I ask a user to press any key to continue ? I used a system call to
read but this only works if the Enter key is pressed:
print(Press any key to continue)
On Tue, 21 Oct 2003, Ernie Adorio wrote:
Am using R on a Linux box and am currently writing an interactive R script.
1. How do I ask a user to press any key to continue ? I used a system call to
read but this only works if the Enter key is pressed:
print(Press any key to continue)
On Tue, 21 Oct 2003, Ko-Kang Kevin Wang wrote:
On Tue, 21 Oct 2003, Ernie Adorio wrote:
Am using R on a Linux box and am currently writing an interactive R script.
1. How do I ask a user to press any key to continue ? I used a system call to
read but this only works if the Enter key
On Mon, 20 Oct 2003, michael watson (IAH-C) wrote:
Hi
I wondered what the standard procedure was for upgrading from one version of R to
the next. I currently have R 1.7.1 and want the latest release, R 1.8.0. I am
running SUSE linux 8.2. The main thing is that I want to keep all of the
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Loops are time consuming in R. Try one of the apply functions
for vectorized
calculations, like apply, lapply,sapply or tapply.
Also see help for
split.
Have you actually compared for loop with apply, in terms of timing? Have
you
Am using R on a Linux box and am currently writing an interactive R script.
1. How do I ask a user to press any key to continue ? I used a system call to
read but this only works if the Enter key is pressed:
print(Press any key to continue)
system(read)
If you want to do something prettier,
Hello all - I've just recently been exploring R for the
first time. After noticing a few things that have changed
from S to R, I started looking for an R-S compatibility table
but didn't find it. Is such a table out there ? Where ?
Thanks much,
Purvis Bedenbaugh
[EMAIL PROTECTED]
Examples:
On 19 Oct 2003 21:18:09 -0700, you wrote:
The problem seems to be that some of the values of d$Age.Month are 0
and since the Weibull always has a value of 0 at 0, the log likelihood
comes out insane. (I'm getting 0 values due to quantization error).
OTOH when I remove the 0 values it works
Hello all,
Would anybody tell me how to present spatial-temoral point processes in R,
for example, I'd like to plot the spatial points in the sequence of
their time domain?
Cheers
--
Pingping Zheng
Department of Mathematics and Statistics
Fylde College
Lancaster University
Lancaster LA1 4YF
UK
I've found a nice page of tcltk examples:
http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/
so no excuse now for giving R users nice UIs. Or making horrendously
bad ones, of course.
I've just been a collaborator on a grant application knocked back
partly because the funders thought
Hello
library(fields)
x-cbind(dt1$V1,dt1$V2) # V1:east , V2=north coordinates of points
Y-cbind(dt1$V4,dt1$V5) # V4,V5 cos and sines components
fit2 - Krig(x,Y,cov.function=exp.cov, scale.type=range) : this gives
Error in if (abs(f2 - f1) tol) { : missing value where TRUE/FALSE needed
what
One comment: the first two of those are not in S, but rather in S-PLUS.
So a big question is compatibility with what? (There are quite large
compatibility differences between versions of S-PLUS too.)
There are comments on differences in the FAQ, but they are not
comprehensive.
On Mon, 20 Oct
On Mon, 20 Oct 2003, Liaw, Andy wrote:
What I do is to separate packages that shipped with R separate from other
contributed packages from CRAN, so that when I upgrade, I can wipe clean the
old R and re-install while keeping all other packages in place.
What's not clear to me is a good way
Dear all:
Professor Ripley commented:
Note that libEMF's help page says
It is also possible now to generate EMF files from PSTOEDIT
on POSIX
systems. Therefore, if your graphics code only outputs
PostScript, you
can now easily convert it to EMF.
but that is only true on
Dear R-helpers,
After putting my somewhat sparse (21 points) data into a 'ppp' format, I am
unable to calculate the K function using Kest. I get the error some 'x' not
counted; maybe 'breaks' do not span range of 'x' . So I tried to calculate
the K function using the swedishpines dataset.
On Mon, 20 Oct 2003, A.J. Rossini wrote:
Note that the same did hold true for PICT format on Macs. Not sure if
it still does, though.
It's been rendered less relevant on Macs by the use of PDF in OS X.
-thomas
__
[EMAIL PROTECTED] mailing
On Mon, 20 Oct 2003, Prof Brian Ripley wrote:
I can't help you with 1.7.1: it is obselete. But since you are apparently
using Windows, there are menus in 1.8.0 to do what you want, as well as
the command savePlot() (AFAIK there never was a function save.plot).
There was, back in prehistory.
hello,
I'm looking for a R function proceeding MRPP (Multi-Response Permutation
Procedures). Is it available?
Mielke,P.W., Jr. 1984. Meteorological applications of permutation
techniques based on distance functions. Pages 813-830. In P.R. Krishnaiah
and P.K, Sen, eds, Handbook of Statistics,
Mike,
If depth is positive downward, you can simply plot its negative. Fir
example, suppose you have a dataframe with ctd data:
ctd[1,]
id p t s
104613 5993512 2 25.248 36.238
unique(ctd$id)
[1] 5993512 3319148 3358648 3358538 3317809 3317562 3304786 3300555
3313863
Purvis == Purvis Bedenbaugh [EMAIL PROTECTED]
on Mon, 20 Oct 2003 08:03:13 -0400 writes:
Purvis Hello all - I've just recently been exploring R for
Purvis the first time. After noticing a few things that
Purvis have changed from S to R, I started looking for an
Purvis R-S
In a message dated 10/20/03 5:11:25 AM Pacific Daylight Time,
[EMAIL PROTECTED] writes:
Have you actually compared for loop with apply, in terms of timing? Have
you looked at the R code for apply()? It has:
...
if (length(d.call) 2) {
if (length(dn.call))
dimnames(newX)
On 20-Oct-03 Pingping Zheng wrote:
Hello all,
Would anybody tell me how to present spatial-temoral point processes in
R, for example, I'd like to plot the spatial points in the sequence of
their time domain?
Perhaps you need a movie? You can use different colours to show the
progression of
After 25 years of using SPSS syntax
I am having some problems adapting to
R. It would be a huge help for people
like myself to have an introductory
help document, like R for SPSS Users.
Such a document would jump start SPSS users
by covering the use of the foreign function
to read .sav
Hello,
I start running into problems with 1.7. due to packages which are only
supported by 1.8., therefore I tried to get 1.8. but synaptic only shows up
with 1.7.. Are there already debian 1.8 packages?
Another question would be, how I can keep all my previously installed
packages.
will
Hi Martin,
Another question would be, how I can keep all my previously installed
packages.
will they be kept in '/usr/local/lib/R/site-library or does the new R
overwrite these addional packages?
cheers Martin
don't know about your first question. But your second question has
Hi,
V1.8.0 seems to allow DateTimeClasses as the x argument in xyplots (lattice).
For example:
x - seq.POSIXt(strptime(2003/01/01, format = %Y/%m/%d),
strptime(2003/10/01, format = %Y/%m/%d), by = month)
y - rnorm(length(x))
dat - data.frame(x= x, y = y)
xyplot(y ~ x, data = dat,
x[x[,20]45 | x[,20]315, ]
On Mon, 20 Oct 2003, Laura Quinn wrote:
Probably a stupid question, but I don't seem to be able to find the answer
I'm looking for from any of the R literature. Basically I have a matrix
with several thousand rows and 20 columns(weather stations) of wind
direction
Martina Pavlicova [EMAIL PROTECTED] writes:
Is it not true that the Shapiro Wilks test implemented in the package
ctest requires the assumption that the population variance of the
variable is known?
I am not sure about this one...
No, that is false. Shapiro-Wilks basically measures the
On Monday 20 October 2003 12:35, [EMAIL PROTECTED] wrote:
Hi,
V1.8.0 seems to allow DateTimeClasses as the x argument in xyplots
(lattice).
For example:
x - seq.POSIXt(strptime(2003/01/01, format = %Y/%m/%d),
strptime(2003/10/01, format = %Y/%m/%d), by = month)
y -
try:
mat[(mat[,20] 315 | mat[,20] 45),]
At 06:41 PM 10/20/2003 +0100, Laura Quinn wrote:
Probably a stupid question, but I don't seem to be able to find the answer
I'm looking for from any of the R literature. Basically I have a matrix
with several thousand rows and 20 columns(weather
On 20 Oct 2003 at 7:35, Haynes, Maurice (NIH/NICHD) wrote:
Is it not true that the Shapiro Wilks test implemented in the package
ctest requires the assumption that the population variance of the
variable is known?
AFAIK, there is not. And there is no such argument to shapiro.test,
so if this
On 20-Oct-03 Laura Quinn wrote:
Probably a stupid question, but I don't seem to be able to find the
answer I'm looking for from any of the R literature. Basically I have
a matrix with several thousand rows and 20 columns(weather stations)
of wind direction data.
I am wanting to extract a
Hi,
is there any way I can change the column header in a data.frame?
Thanks,
---
Rajarshi Guha [EMAIL PROTECTED] http://jijo.cjb.net
GPG Fingerprint: 0CCA 8EE2 2EEB 25E2 AB04 06F7 1BB9 E634 9B87 56EE
Have you tried the following:
optim(3, cost.f, x=x, y=y)
In the form given below, R interprets you call as equivalent to
the following:
optim(par=3, fn=cost.f, gr=x, method=y)
Arguments will get passed via ... when they have names that are
different from names in the official
If you data.frame is called df, then
names(df) - c(new names here)
You can also do individual names
names(df)[1] - new name for first column
HTH
Jim
James W. MacDonald
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical Center Drive
7410 CCGC
Ann Arbor
On Mon, 20 Oct 2003, Laurent Gautier wrote:
Hello,
I'd like to use optim, and give extra arguments to the objective
function. The man page says that the '...' should let one do it,
but I have a hard time to understand how.
Example:
x - 1:10
y - rnorm(10)
cost.f - function(par, x, y)
What is a good way to create a matrix of index variables based on all
possible combinations of a list of factors in a data-frame, say list(age, sex)? age
and sex are numeric and factor variables in a dataframe, with 99 and 2
values, respectively.
I would like to use these for subsetting the
On Mon, 20 Oct 2003, Laurent Gautier wrote:
I'd like to use optim, and give extra arguments to the objective
function. The man page says that the '...' should let one do it,
but I have a hard time to understand how.
Try reading up on argument matching, then. E.g. in `S Programming'
(see the
Consider the following:
DF - data.frame(a=1:2, b=3:4)
names(DF) - letters[1:2]
DF
dimnames(DF)[[2]][2] - z
DF
This example illustrates two different ways to do what I
understood from your question. Answered?
spencer graves
Rajarshi Guha wrote:
Hi,
is there any way I can change
In R1.8.0 for Windows, immediately after I
execute win.metafile(...) and lset(...) I get the
following values for .Device and .Devices:
.Device
[1] win.metafile://.../plot1.wmf
.Devices
[[1]]
[1] null device
[[2]]
[1] win.metafile://.../plot1.wmf
However, when I change to
On Monday 20 October 2003 18:58, Rau, Roland wrote:
Hi Martin,
Another question would be, how I can keep all my previously installed
packages.
will they be kept in '/usr/local/lib/R/site-library or does the new R
overwrite these addional packages?
cheers Martin
don't know
As a followup to a previous posting regarding the win.metafile()
function, I've been having some problems as well. In my case, I've been
converting some scripts from S-SPLUS to R that create graphs in order to
take advantage of R's plotmath capabilities.
In the sample code shown below, the axis
OK, I see the problem, and it should be fixed in the next release. Use
trellis.device() till then. Thanks,
Deepayan
On Monday 20 October 2003 14:59, Paul, David A wrote:
In R1.8.0 for Windows, immediately after I
execute win.metafile(...) and lset(...) I get the
following values for
Hi Folks,
My recent response to Laura Quinn's query about matrix subsetting
reminded of a question.
I wrote:
iDir - ((Winds[,20]45)|(Winds[,20]315))(!is.na(Winds[,20]))
Now, I find !is.na a bit awkward to type, so I might prefer to
type it as nis.na.
While it is possible to define
nis.na
[EMAIL PROTECTED] wrote:
What is a good way to create a matrix of index variables based on all
possible combinations of a list of factors in a data-frame, say list(age, sex)? age
and sex are numeric and factor variables in a dataframe, with 99 and 2
values, respectively.
I would like to use
Prof Brian Ripley [EMAIL PROTECTED] wrote:
(AFAIK there never was a function save.plot).
In R 1.7.1 ?save.plot does in fact list save.plot among the ?Defunct
functions. In the text, it says
The new function `dev.print()' should now be used for saving plots
to a file or
Dear R experts,
I have been trying to run an iterative procedure in R and am having
some sort of memory build up problem. I am using R1.8.0 on Windows XP.
One single iteration of my procedure is coded into a function. This
function creates an extremely large matrix of simulated values (actually
On Mon, 20 Oct 2003 [EMAIL PROTECTED] wrote:
Hi Folks,
My recent response to Laura Quinn's query about matrix subsetting
reminded of a question.
I wrote:
iDir - ((Winds[,20]45)|(Winds[,20]315))(!is.na(Winds[,20]))
Now, I find !is.na a bit awkward to type, so I might prefer to
type it
Richard A. O'Keefe [EMAIL PROTECTED] writes:
?dev.print explains
device: A device function (e.g., `x11', `postscript', ...)
which unfortunately suggests that the argument should be a string,
Mmmno. It suggests quite specifically that it should be a function. In
the plaintext help files,
Laura Quinn [EMAIL PROTECTED] writes:
Probably a stupid question, but I don't seem to be able to find the answer
I'm looking for from any of the R literature. Basically I have a matrix
with several thousand rows and 20 columns(weather stations) of wind
direction data.
Is it a matrix or a
How about:
nis.na - complete.cases
---
From: [EMAIL PROTECTED]
Hi Folks,
My recent response to Laura Quinn's query about matrix subsetting
reminded of a question.
I wrote:
iDir - ((Winds[,20]45)|(Winds[,20]315))(!is.na(Winds[,20]))
Now, I find !is.na a bit awkward to type, so I might
hi,
I compiled R 1.8.0 on mandrake 9.2 dowload eddition.
I got tools necessary to compile it, but what I find that the function
link.html.help() is not found. There could be more functions not found.
Anybody give some advice on this.
Thank you for your help.
Ahmad Abu Hammour
Thanks for your help everyone,
My data is a matrix. However if i use the command:
x[(x[,20] 315 | x[,20] 45), ]
and then request a summary, I get a warning message saying that a large
number of the row names have been duplicated - I don't understand this?
On 20 Oct 2003, Douglas Bates wrote:
Laura Quinn wrote:
Thanks for your help everyone,
My data is a matrix. However if i use the command:
x[(x[,20] 315 | x[,20] 45), ]
and then request a summary, I get a warning message saying that a large
number of the row names have been duplicated - I don't understand this?
If x is the
Dear R experts,
I have been trying to run an iterative procedure in R and am having
some sort of memory build up problem. I am using R1.8.0 on Windows XP.
One single iteration of my procedure is coded into a function. This
function creates an extremely large matrix of simulated values (actually
Dirk Eddelbuettel [EMAIL PROTECTED] wrote:
Sure, got uploaded the day of the 1.8 release. You may want to
learn how to point apt at different archives. Debian has 1.8 in
unstable; CRAN has it in testing (thanks to Doug Bates) and
even in stable (thanks to Korbinian Strimmer)
Please, note
I will make an interpolation of data which represents azimuth
direction( angle from north in clockwise direction) values.
But there is a problem.
Say, for instance, while 1 and 359 indicate somewhat same direction,
interpolation puts values
in the range from 1 to 359. What can I do to
On Tue, Oct 21, 2003 at 08:31:35AM +0700, Philippe Glaziou wrote:
Dirk Eddelbuettel [EMAIL PROTECTED] wrote:
Sure, got uploaded the day of the 1.8 release. You may want to
learn how to point apt at different archives. Debian has 1.8 in
unstable; CRAN has it in testing (thanks to Doug Bates)
Do you know where I find a patched version, or where I find the patch an
instructions on how to install it? (I didn't see anything about this on
CRAN.) I'm running R-base-1.8.0-1.i386.rpm (the most recent binary
available for SuSE) and it appears to have the 'valueClass' problem.
Thanks,
72 matches
Mail list logo