Re: [R] Mandriva Spring 2007 and R

2007-06-06 Thread NOEL Yvonnick
Jonathan, If you are not willing to use the very last version of R, there is always a RPM package for R under Mandriva, called R-base. So that basically, connected as root, just type: urpmi R-base to install it. HTH, Yvonnick Noel U. of Rennes 2 _

Re: [R] correspondence analysis

2007-06-06 Thread Jari Oksanen
Artem Mariupol gmail.com> writes: > > Hello, > > I am new to R and I have a question about the difference between > correspondence analysis in R and SPSS. > This is the input table I am working with (4 products and 18 attributes): > > > mytable >1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1

Re: [R] Refactor all factors in a data frame

2007-06-06 Thread Gregor Gorjanc
Hilmar Berger imise.uni-leipzig.de> writes: ... > So, is there any way in drop the unused factor levels from *all* factors > of a data frame without import/export ? There is a generic drop.levels in gdata. Here is part of its help page: "\code{drop.levels} is a generic function, where default m

Re: [R] spgrass6 and aggregation (bis)

2007-06-06 Thread Roger Bivand
On Wed, 6 Jun 2007 [EMAIL PROTECTED] wrote: > > Dear all, > > I have some additionale question concerning the spgrass6 package. > > * When you set a region in GRASS, does the readGRASS6 function in R only > load data contained in the zoomed region or the whole map ? readRAST6() uses the curren

Re: [R] Svar: Re: help with simple R-question

2007-06-06 Thread Rina Miehs
The left column is boar id number, and the right is the random effect estimate. I need the numbers in the left column when i merge far1 together with other data.frames based on the id numbers. When i use ranef the output is the class list and R only sees the intercepts, but i need a data.frame wi

[R] Odp: Svar: Re: help with simple R-question

2007-06-06 Thread Petr PIKAL
[EMAIL PROTECTED] napsal dne 06.06.2007 10:56:18: > thanks, that works great!! > > just have another thing...i the same area > What if the class is list instead of array, how can you name the first > unrecognized column? Hi look in some intro manual and learn about R data structures. Matrix, a

Re: [R] list

2007-06-06 Thread John Kane
--- elyakhlifi mustapha <[EMAIL PROTECTED]> wrote: > hello, > I wanna know how to create a list of list if it's > possible and if it isn't possible how to do without. > thanks. Why? The question is not clear and could mean several things. Can you explain a bit? ___

Re: [R] Svar: Re: help with simple R-question

2007-06-06 Thread John Kane
--- Rina Miehs <[EMAIL PROTECTED]> wrote: > thanks, that works great!! > > just have another thing...i the same area > What if the class is list instead of array, how can > you name the first unrecognized column? I am not sure that I understand the question. You don't really have an unrecogni

Re: [R] list

2007-06-06 Thread ONKELINX, Thierry
Sure you can. > list(list(), list(), list()) > library(fortunes) > fortune("Yoda") Evelyn Hall: I would like to know how (if) I can extract some of the information from the summary of my nlme. Simon Blomberg: This is R. There is no if. Only how. -- Evelyn Hall and Simon 'Yoda' Blomberg

[R] spgrass6 and aggregation (bis)

2007-06-06 Thread jessica . gervais
Dear all, I have some additionale question concerning the spgrass6 package. * When you set a region in GRASS, does the readGRASS6 function in R only load data contained in the zoomed region or the whole map ? * When you have a MASK map in grass, does the readGRASS6 function in R only load data

Re: [R] list

2007-06-06 Thread David Barron
There's no special method, just create a list in the usual way. For example: > l1<-list(a=letters[1:5],b=letters[6:10]) > l1 $a [1] "a" "b" "c" "d" "e" $b [1] "f" "g" "h" "i" "j" > l2<-list(c=LETTERS[1:5],d=LETTERS[6:10]) > l2 $c [1] "A" "B" "C" "D" "E" $d [1] "F" "G" "H" "I" "J" > l3<-list(l

Re: [R] opening vignetten

2007-06-06 Thread Stefan Grosse
?vignette Original Message Subject: [R] opening vignetten From: Schmitt, Corinna <[EMAIL PROTECTED]> To: r-help@stat.math.ethz.ch Date: 06.06.2007 10:41 > Dear R-Users, > > I have a quite stupid question. I load the GO-package with the command > require(GO). Now I want to read

[R] list

2007-06-06 Thread elyakhlifi mustapha
hello, I wanna know how to create a list of list if it's possible and if it isn't possible how to do without. thanks. _ [[alternative HTML version deleted]] _

Re: [R] naiveBayes other than e1071

2007-06-06 Thread Uwe Ligges
Dear Max, thanks for your work on this! I totally agree in all points and have added some check for zero variances to my working copy of NaiveBayes.default() which will be published in the next klaR release. if(!usekernel){ temp <- apply(sapply(tables, function(x) x[,2]), 2,

[R] Svar: Re: help with simple R-question

2007-06-06 Thread Rina Miehs
thanks, that works great!! just have another thing...i the same area What if the class is list instead of array, how can you name the first unrecognized column? Rina >>> John Kane <[EMAIL PROTECTED]> 06/05/07 3:17 >>> --- Rina Miehs <[EMAIL PROTECTED]> wrote: > hello > > what do i write fo

[R] opening vignetten

2007-06-06 Thread Schmitt, Corinna
Dear R-Users, I have a quite stupid question. I load the GO-package with the command require(GO). Now I want to read the corresponding vignetten but I forgot the command for opening it. Please help me, Corinna __ R-help@stat.math.ethz.ch mailing list h

Re: [R] rJava installation under linux: configuration failed

2007-06-06 Thread Stefan Grosse
> > Precautionary note: the '1.5 series Java' (aka Java 5) does not work > with JNI (and hence rJava) on some platforms, including AMD64 Linux. > >> You can google how to do those installations on suse linux. > > It can be tricky, especially if you need a later Java than your OS > version supports

[R] spgrass6 and aggregation

2007-06-06 Thread jessica . gervais
Dear all, I am exporting grass map into R thanks to the very useful spgrass6 package. library(spgrass6) # I have 3 map I am working with a MASK map of a specific area. # 1) a landuse map landuse<-readRAST6("landuse_mapname_in_grass") # 2) a catchment map which divide the area in several catc

Re: [R] rJava installation under linux: configuration failed

2007-06-06 Thread Prof Brian Ripley
On Wed, 6 Jun 2007, Stefan Grosse wrote: > Which java have you installed? ( java -version ) > > You need a Sun Java and better is a 1.5 series Java, JGR seems to have > some problem with the new 1.6 series. And you need the JDK, not the JRE. Precautionary note: the '1.5 series Java' (aka Java 5)

Re: [R] odfTable

2007-06-06 Thread Laurence Amilhat
Great, I will waiting for the new version... with the nice documentation! thank you, Laurence. Kuhn, Max a écrit : > Sarah and Laurence, > > A few comments: > > 1. The default background color for columns is horrible. I've changed > to white it in the upcoming version. > > 2. In the next v

Re: [R] multiple plot in odfWeave

2007-06-06 Thread Laurence Amilhat
Hello Max, Thanks for your help. So, I changed the << >>= with <>= So , now I can open the output file .odt, but it plot only the last map and not all the maps. But on the R graphics window, i can see the several maps overwrite each other. Maybe there is something wrong in my loop? I attached

Re: [R] rJava installation under linux: configuration failed

2007-06-06 Thread Stefan Grosse
Which java have you installed? ( java -version ) You need a Sun Java and better is a 1.5 series Java, JGR seems to have some problem with the new 1.6 series. And you need the JDK, not the JRE. You can google how to do those installations on suse linux. Stefan Original Message

<    1   2