Thanks to those who responded. I finally got by with some pretty ugly hack
(ceorcing ... to list, delete the unwanted part, add other arguments, and
use do.call).
Cheers,
Andy
> -Original Message-
> From: Ben Bolker [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 21, 2003 3:59 PM
> To: L
I have a couple of slightly ugly functions to do this in my bbmisc
package:
clean.args <- function(argstr,fn,extrabad=NULL,dots.ok=TRUE) {
fnargs <- names(formals(fn))
if (length(argstr)>0 && !("..." %in% fnargs && dots.ok)) {
badargs <- !sapply(names(argstr),"%in%",c(fnargs,""))
As Brian Ripley pointed out in a recent post, you can just give g() its own
"..." argument.
Regards,
Matt Wiener
-Original Message-
From: Liaw, Andy [mailto:[EMAIL PROTECTED]
Sent: Friday, March 21, 2003 3:37 PM
To: '[EMAIL PROTECTED]'
Subject: [R] manipulating "..." inside a function
Dear R-help,
Can some one tell me how to do the following (if it's possible)?
Suppose I have a function like this:
f <- function(x, y, ...) {
## some code
g(x, y, ...)
## some more code
}
The problem is that g() may not understand everything that comes through in
"...". Is there a w
You were right!Thank a lot, I think that I'm really dumm!I've lost 3 hours trying to solve the problem!!Regards,Sabrina Servanty__Gagne une PS2 ! Envoie un SMS avec le code PS au 61166(0,35 Euro Hors coût du SMS)
_
Have you tried "count.fields" to confirm that R thinks all records have
the same number of fields?
Spencer Graves
sabrina servanty wrote:
Dear all,
I was used to work on R1.6 and I have now passed on R1.6.2 but I can't
read my
file (and that is a big problem!!).
I made a data sheet with some
s
How about replacing "/t" by "\t" ?
Jerome
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of sabrina
servanty
Sent: Friday, March 21, 2003 1:22 PM
To: [EMAIL PROTECTED]
Subject: [R] Problem with read.table
Dear all,
I was used to work on R1.6 and I have now passed on R1.6.2 but I can't
read my
fi
Should that be sep="\t" ?
On Fri, 21 Mar 2003, sabrina servanty wrote:
> Dear all,
>
> I was used to work on R1.6 and I have now passed on R1.6.2 but I can't read my
> file (and that is a big problem!!).
> I made a data sheet with some
> spreadsheet in Excell, and save it as separeted by tab
--
=
Wagner Silva
[EMAIL PROTECTED]
Bacharel em Ciência da Computação
Universidade Federal de Lavras
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
Seth Falcon wrote:
I am now downloading r-devel to compile it on windows XP. The CRAN
source code page says "you will prefere to use rsync". I am googling
around, and cannot find anything about rsync on windows.
You can use rsync on Windows via the Cygwin toolset (see
www.cygwin.com).
Dear all, I was used to work on R1.6 and I have now passed on R1.6.2 but I can't read my file (and that is a big problem!!).I made a data sheet with some spreadsheet in Excell, and save it as separeted by tab .txt.I write in Rread.table ("file.txt",h=T,sep="/t",dec=",")But R consider that I have on
It looks like the Makefiles "make" is looking at aren't the ones configure
created. I did the install on solaris 2.6 with no problem just now. The line
about "Stata 6 installation" is certainly suspicious... maybe some makefiles
got overwritten somehow?
Can you start clean and try again?
Reid Hun
Hi Latif,
You need to build your own panel function that will fit your purpose.
This will do what you want, but it's not very elegant. A better solution
would have the panel function depend on the value of z. Any other suggestions
on own to do this?
Jerome
library(lattice)
x <- c(rep(LETTERS
Try using the `pixmap' package from CRAN.
-roger
___
UCLA Department of Statistics
[EMAIL PROTECTED]
http://www.stat.ucla.edu/~rpeng
On Fri, 21 Mar 2003, vincent deschodt wrote:
> How can i open a bmp image and transform it in a matrix of pixels?
> how can i save it
> I am now downloading r-devel to compile it on windows XP. The CRAN
> source code page says "you will prefere to use rsync". I am googling
> around, and cannot find anything about rsync on windows.
You can use rsync on Windows via the Cygwin toolset (see
www.cygwin.com).
I've also seen an rs
Hi,
Perhaps have a look at
http://optics.ph.unimelb.edu.au/help/rsync/rsync_pc1.html "Installing
rsync on a Windows machine"?
FYI, I did a google search on "Using rsync on Windows" and found it.
On Fri, 21 Mar 2003, kjetil brinchmann halvorsen wrote:
> Date: Fri, 21 Mar 2003 13:35:20 -0400
>
If I'm not mistaken, that's sort of local polynomial with even degree and
fixed bandwidth (based on my own interpretation of description in Numerical
Recipes). You can do that with functions in the KernSmooth package.
HTH,
Andy
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAI
Hello,
Is there any libary with the algorithms of the Savitzky-Golay Derivative
and Smoothing. I found the calculation on the web site
"www.galactic.com/algorithms/" but I'm to new in R so I cant programm it in
R.
Can someone help me?
Thanx
Andreas
micro-biolytics GmbH
Andreas Wolf
Georges-Köhl
Hola!
I am now downloading r-devel to compile it on windows XP. The CRAN
source code page says "you will prefere to use rsync". I am googling
around, and cannot find anything about rsync on windows.
Anybody has any experience with rsync on windows?
Kjetil
_
Hi,
I'm trying to understand the lme output and procedure.
I'm using the Crawley's book.
I'm try to analyse the rats example take from Sokal and Rohlf (1995).
I make a nested analysis using aov following the book.
> summary(rats)
Glycogen Treatment Rat Liver
Min. :12
Today, Insightful Corporation (www.insightful.com) is announcing the
availability of S+ArrayAnalyzer, a new, integrated module for S-PLUS
based on collaboration with the BioConductor Project
(www.bioconductor.org) - an open source and open development software
project for the analysis and comprehen
>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf Of Ott Toomet
>Sent: Friday, March 21, 2003 8:44 AM
>To: [EMAIL PROTECTED]
>Subject: [R] barplot legend size
>
>
>Dear R-people,
>
>are there any way to change the size of legend in barplot? I
>have tried v
Dear R-people,
are there any way to change the size of legend in barplot? I have
tried various versions of cex, both as par(cex.*= ) and barplot(...,
cex.*= ). So long without success.
Sincerely,
Ott
> version
_
platform i686-pc-linux-gnu
arch i686
os
> "mhoward" == mhoward <[EMAIL PROTECTED]> writes:
> R help, How can I plot the below data table by Data ~ Site
> and group by Grinder and Equip Id so I get a chart like
> this Excel version? I have tried coplot with little success
> and lattice makes a pretty good chart like
Base on the earlier question: there is a "redundancy" measure for
Canonical Correlation "Canonical Correlation Redundancy Analysis". You
may be able to adapt it to your situation.
See the
paper by
Stewart David W., Love W. (1968), A General Canonical Correlation Index,
Psychological Bulletin
Hi there,
I need some help about trellis plot. I have the following plot.
x <- c(rep(LETTERS[1:4],13), rep(LETTERS[4:1],12))
y <- rnorm(100)z <- rep(1:2,50)bwplot(y~factor(x)|z,layout=c(2,1), panel=function(x,y) panel.bwplot(x,y,horizontal=F))
Now I want to place "*" on the positions (1,-1.5) in
On Fri, 21 Mar 2003, Wayne Jones wrote:
> Hi there,
>
> When I enter a particularly long number into R it rounds it down into
> scientific notation.
> For example,
>
> > 251002679
>
> [1] 2.51e+12
>
> How can I preserve the precision of the original number?
It has been preserved:
> a<-251
Hi there,
When I enter a particularly long number into R it rounds it down into
scientific notation.
For example,
> 251002679
[1] 2.51e+12
How can I preserve the precision of the original number?
Regards,
Wayne
Dr Wayne R. Jones
Statistician / Research Analyst
KSS Group plc
St James
How can i open a bmp image and transform it in a matrix of pixels?
how can i save it after transform on matrix?
(Sorry for my english i don't speak it very well)
[[alternate HTML version deleted]]
__
[EMAIL PROTECTED] mailing list
https://www.s
Hi,
I use R 1.6.2 under Mandrake9.0.
I've got a problem with the postscript files I try to creat.
When I look to the file with ghostview it's ok.
When I want to print it, I've got a blank page or a black page (fill of black
encre)
I changed the printer (guessing it was my driver printer), it was t
Hi,
I use R 1.6.2 under Mandrake9.0.
I've got a problem with the postscript files I try to creat.
When I look to the file with ghostview it's ok.
When I want to print it, I've got a blank page or a black page (fill of black
encre)
I changed the printer (guessing it was my driver printer), it was t
Hi,
Does anyone know if Curvilinear Component Analysis (CCA) or Curvilinear
Distance Analysis (CDA) has already been implemented in R ? I couldn't
find it.
Many thanks
Anne-Laure
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/
Probably you have to set a new max value for the max
amount of the "heap" memory, look at the R-help on 'memory.limit'
function.
Good luck
A.S.
Alessandro Semeria
Models and Simulations Laboratory
The Environment Research Center - Montecatini (Edison Group),
Via
34 matches
Mail list logo