Re: [R] plot.hclust point to older version

2014-11-26 Thread Martin Maechler
Thanks! That worked Of course: As in about 99.99% of all cases where Bill Dunlap helps. You probably have a local copy of an old version of plot.hclust or plot.dendrogram in your global environmenet or another package that masks the one in package:stats. E.g., I fired up R-2.14.2 and

Re: [R] plot.hclust point to older version

2014-11-26 Thread Pascal Oettli
into their ~/.emacs {and I'd like to see a way to do this easily with RStudio...} In RStudio: Tools - Global Options - General - uncheck Restore .RData into workspace at startup and choose Never for Save workspace to .RData on exit -- Pascal Oettli Project Scientist JAMSTEC Yokohama, Japan

Re: [R] plot.hclust point to older version

2014-11-26 Thread PIKAL Petr
Hi You say in other words, experienced R users do not let their workspace be saved automatically (to '.RData') and hence do not load any .RData automatically at startup. I save/load .RData for years without any issues (except of not installed packages when working on different PCs).I

Re: [R] Presentation tables in R (knitr)

2014-11-26 Thread Franzini, Gabriele [Nervianoms]
I found also knitr + html + the ReporteRs package a good combination, and less intimidating than Latex. Have a look at their FlexTable tool. HTH, Gabriele -Original Message- From: Tom Wright [mailto:t...@maladmin.com] Sent: Tuesday, November 25, 2014 9:12 PM To: r-help@r-project.org

Re: [R] Error Missing values where true/false needed

2014-11-26 Thread Michael Dewey
Comments in-line below On 26/11/2014 06:27, Frederic Ntirenganya wrote: Hi PIKAL, Actually I am Michael, Petr is one of the other respondents. The error seems to be starnge to me because i access the indices of NAs. Indices can't be non-applicable. But you are not testing the indexes, see

[R] ggplot facet and subsetting

2014-11-26 Thread PIKAL Petr
Dear all I encountered strange behaviour of ggplot with combination of facet and subsetting. I use for creating plots sometimes a for cycle, something like this for (i in n:m) { p-ggplot(data, aes(x=x, y=data[,i], colour=f))), ...} However I found strange result with this combination This is

Re: [R] Checking the proportional odds assumption holds in an ordinal logistic regression using polr function

2014-11-26 Thread Rune Haubo
Dear Charlie, I admit that I haven't read your email closely, but here is a way to test for non-proportional odds using the ordinal package (warning: self-promotion) using the wine data set also from the ordinal package. There is more information in the package vignettes Hope this is something

Re: [R] ggplot facet and subsetting

2014-11-26 Thread Jeff Newmiller
I am not quite sure what you want to achieve here, but you only have one factor column so shouldn't you be using facet_wrap(~stroj), perhaps with nrow or ncol parameters? --- Jeff NewmillerThe

Re: [R] list.files() not compatible with all Unicode characters; file.exists() is compatible.

2014-11-26 Thread Prof Brian Ripley
On 25/11/2014 06:53, Prof Brian Ripley wrote: On 25/11/2014 01:25, MacQueen, Don wrote: Sorry, your email was undecipherable because you sent HTML formatted email. Please send plain text Also, the 'at a minimum' information requested by the posting guide is essential here (which OS and

[R] How to use ggplot2

2014-11-26 Thread jarod...@libero.it
Dear All!! I'll try to plot a barplot using aggplot2 head(alt) as.factor.data...7..Col ColMat Fastq miseq 1 189158158158104 2 190 54272 54272 54272 32122 3 191 301574 301574 301574 152625 4 192 161620

Re: [R] ggplot facet and subsetting

2014-11-26 Thread John Kane
Below John Kane Kingston ON Canada This is OK but only in BW p-ggplot(vec.c, aes(x=fi, y=nad1mi)) p+geom_point(size=5)+geom_line()+facet_grid(.~stroj) Perhaps: p - ggplot(vec.c, aes(x=fi, y=nad1mi, colour = stroj)) p+geom_point(size=5)+geom_line()+facet_grid(.~stroj) and this is mismatched

Re: [R] How to use ggplot2

2014-11-26 Thread John Kane
It is useful to have a reproducable example https://github.com/hadley/devtools/wiki/Reproducibility http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example However is this somethingl like what you want? Note I changed variable names and removed caps to make life

Re: [R] plot.hclust point to older version

2014-11-26 Thread William Dunlap
How disruptive would it be if R were changed so the startup line [Previously saved workspace restored] were changed to show the complete name, from normalizePath(), of the saved workspace file? E.g., [Previously saved workspace restored from 'C:\Program Files\R\.RData'] (It is bad enough

Re: [R] Checking the proportional odds assumption holds in an ordinal logistic regression using polr function

2014-11-26 Thread Rune Haubo
On 26 November 2014 at 17:55, Charlotte Whitham charlotte.whit...@gmail.com wrote: Dear Rune, Thank you for your prompt reply and it looks like the ordinal package could be the answer I was looking for! If you don't mind, I'd also like to know please what to do if the tests show the

Re: [R] plot.hclust point to older version

2014-11-26 Thread Jeff Newmiller
Short answer to your question is R files and original data from external sources. I tend to keep my projects in separate directories. I make a core R file that I can run from beginning to end using source() to generate my primary analysis objects. I then make another file to keep my source()

Re: [R] plot.hclust point to older version

2014-11-26 Thread David Winsemius
On Nov 26, 2014, at 9:49 AM, William Dunlap wrote: How disruptive would it be if R were changed so the startup line [Previously saved workspace restored] were changed to show the complete name, from normalizePath(), of the saved workspace file? E.g., [Previously saved workspace

[R] Using grid.layout inside grid.layout with grid package: naming of the viewports affects plotting

2014-11-26 Thread Helske Satu
R version 3.1.1 (2014-07-10) Platform: i386-w64-mingw32/i386 (32-bit) locale: [1] C attached base packages: [1] grid stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] tools_3.1.1 I have a plotting function to produce plots

Re: [R] Converting list to character

2014-11-26 Thread Massimiliano Tripoli
Thanks David, that's I was looking for. Thanks to Chel too. Massimiliano - Messaggio originale - Da: David L Carlson dcarl...@tamu.edu A: Chel Hee Lee chl...@mail.usask.ca, Massimiliano Tripoli mtrip...@istat.it, r-help@r-project.org Inviato: Martedì, 25 novembre 2014 19:40:51 Oggetto:

[R] rJava Package

2014-11-26 Thread Krishna Bhargava S K
Hi All, I am a beginner to R. I have installed tried a sample of JRI using Rengine and Rserve. I found normalization and sqrt function in some sample code. Is there any link where there is a list of functions that is provided in R which I can use

Re: [R] Checking the proportional odds assumption holds in an ordinal logistic regression using polr function

2014-11-26 Thread Charlotte Whitham
Dear Rune, Thank you for your prompt reply and it looks like the ordinal package could be the answer I was looking for! If you don't mind, I'd also like to know please what to do if the tests show the proportional odds assumption is NOT met. (Unfortunately I notice effects from almost all

[R] How can I run a TSP program inside R

2014-11-26 Thread Yousri Fanous
I have the following TSP code: options memory = 6; options crt; in 'mydat.tlb' ; ? ? Create 2 new variables ? age20 = age -20; lwage = log(wage); ? ? olsq lwage c f edy tenure age20 pu; How can I run it inside R? Where can I get more explanation on how to code for TSP [[alternative HTML

Re: [R-es] Duda sobre cómo analizar un experimento factorial con algoritmos de extracción de características, clustering y clasificación como factores

2014-11-26 Thread Daniel Carrillo Zapata
Hola Isidro, mira, te explico mejor: tengo una base de datos con información de 10 conductores en un recorrido de 30 minutos en coche. Para cada conductor, se le midió parámetros biomédicos como la temperatura corporal, su electrocardiograma, etc., durante todo el recorrido; en

Re: [R-es] Duda sobre cómo analizar un experimento factorial con algoritmos de extracción de características, clustering y clasificación como factores

2014-11-26 Thread Julio Alejandro Di Rienzo
CREO QUE ESTE TIPO DE CONSULTA, EXCEDE EL PROP�SITO DE ESTE FORO. El mi�rcoles, 26 de noviembre de 2014, Daniel Carrillo Zapata daniel.carril...@um.es escribi�: Hola Isidro, mira, te explico mejor: tengo una base de datos con informaci�n de 10 conductores en un recorrido de 30

[R-es] Duda sobre cómo analizar un experimento factorial con algoritmos de extracción de características, clustering y clasificación como factores

2014-11-26 Thread Daniel Carrillo Zapata
Hola compañeros :) Soy Daniel Carrillo, y os escribo porque me ha surgido una duda sobre si puedo tratar algoritmos de clustering como un factor en un experimento. Concretamente, tengo un conjunto de datos sin etiquetar, y quiero probar los siguientes algoritmos sobre él: 1) Extracción

Re: [R-es] Duda sobre cómo analizar un experimento factorial con algoritmos de extracción de características, clustering y clasificación como factores

2014-11-26 Thread eric
Hola Daniel, no te vayas a desanimar, seguro hay foros donde puedes plantear asuntos mas estadisticos que de R mismo. Saludos y suerte con todo, Eric. On 26/11/14 11:16, DANIEL CARRILLO ZAPATA wrote: Hola de nuevo a todos, me gustaría pediros disculpas por los correos que he enviado. La

[R-es] foro http://stats.stackexchange.com

2014-11-26 Thread Marcuzzi, Javier Rubén
Estimados Separando de una consulta anterior a esta lista de correos (sobre estad�stica sin R), y por la pregunta de Rub�n Casal. Yo supe utilizar http://stats.stackexchange.com , algunas cosas me fueron �tiles, buenas ideas, otras estaban con errores, o escrito de otra forma, en mi