Re: [R-es] Trabajar con un dataset muy grande

2016-12-30 Thread javier.ruben.marcuzzi
Estimados Hoy hay varias alternativas para trabajar con muchos datos, pero hay una parte técnica que no está especificada, ¿Cuánto es lo que se dice como muchos datos?, en este caso Victoria explique el tamaño de sus datos. Lo segundo es ¿Qué análisis o librería? Porque puede ser que R utilice

Re: [R] help for

2016-12-30 Thread David Winsemius
> On Dec 30, 2016, at 4:24 PM, Elham - wrote: > > yes me too,but I do not have time to install and learn linux,I need tutorial > based on windows Fine. But you are asking in the wrong place. It's a BioC question. Most of us here are not Bioc users. Use the forum that

Re: [R] help for

2016-12-30 Thread Elham - via R-help
yes me too,but I do not have time to install and learn linux,I need tutorial based on windows On Saturday, December 31, 2016 3:50 AM, David Winsemius wrote: > On Dec 30, 2016, at 9:57 AM, Elham - via R-help wrote: > > hi all, I am

Re: [R] help for

2016-12-30 Thread David Winsemius
> On Dec 30, 2016, at 9:57 AM, Elham - via R-help wrote: > > hi all, I am following > http://bioinformatics.knowledgeblog.org/2011/06/20/analysing-microarray-data-in-bioconductor/ That page was designed by and for someone with Linux installation. To quote from the

Re: [R] help for

2016-12-30 Thread Elham - via R-help
actually I do not work with linux. do you know same of this tutorial for windows? On Friday, December 30, 2016 10:16 PM, John McKown wrote: On Fri, Dec 30, 2016 at 12:08 PM, Sarah Goslee wrote: This isn't an R question, but a

Re: [R] stacked and dodged bar graph ggplot

2016-12-30 Thread Jim Lemon
Hi Robert, I realize that this isn't in ggplot, but are you looking for something like this? Demog <- data.frame(source=c(rep("Davis",4),rep("Dixon",4),rep("Winters",4)), group =c("Asian / Pacific Islander","Caucasian","Latinx", "Not Latinx","African American", "Native American", "Latinx",

Re: [R] about data format in R

2016-12-30 Thread Duncan Mackay
Hi Is this the output from Excel? If so format it in Excel for a date format not a date-time format . Depending how the dates were inputted into Excel and the Excel setup a date may not be a date format. There are no rules with microsoft formatting so beware! Regards Duncan Duncan Mackay

Re: [R] stacked and dodged bar graph ggplot

2016-12-30 Thread Ulrik Stervbo
You can use the tidyr package to combine race and enth into one column and fill by that. Then you get one colour for race and one for enth. HTH Ulrik On Fri, 30 Dec 2016, 20:12 Richard M. Heiberger, wrote: > I reproduced your graphs, but I don't understand what you want

Re: [R] stacked and dodged bar graph ggplot

2016-12-30 Thread Richard M. Heiberger
I reproduced your graphs, but I don't understand what you want instead. There are several problems. one group is spelled "Lantinx". your factor statements mostly lead to NA values. The two panels of the plot do not use the same number of inches of the plotting window, due to different

Re: [R] about data format in R

2016-12-30 Thread Rui Barradas
Hello, What I did was: DF <- read.table(text = " dateevap precipintercept 10/01/1995-00:00:00 1.5 20.2 10/01/1995-12:00:00 1.7 2.2 0.1 10/02/1995-00:00:00 1.5 1.8 0.3 ", header = TRUE,

Re: [R] about data format in R

2016-12-30 Thread Sarah Goslee
Probably you need to use file1 <- read.table('df', header=TRUE, stringsAsFactors=FALSE) str(file1) generally shows you all sorts of useful things about the file you have just imported into R. Sarah On Fri, Dec 30, 2016 at 1:37 PM, lily li wrote: > Hi Rui, > > Thanks for

Re: [R] help for

2016-12-30 Thread John McKown
On Fri, Dec 30, 2016 at 12:08 PM, Sarah Goslee wrote: > This isn't an R question, but a linux question. > > Open a new terminal window: > The directions you are following tell you how to do that for the > Ubuntu linux being used, right at the beginning: > > Open up a

Re: [R] about data format in R

2016-12-30 Thread lily li
Hi Rui, Thanks for your reply. When I read in data using my code, the first column ranges from 0 to 1. So when I use the code you wrote, it shows the error message: Error in as.POSIXct.numeric(DF$Date, format = "%m/%d/%Y-%H:%M:%S") : 'origin' must be supplied On Fri, Dec 30, 2016 at 11:23 AM,

[R] stacked and dodged bar graph ggplot

2016-12-30 Thread Robert Lynch
I have some census data with race and ethnicity for various towns. I am trying to make a stacked bar graph where all the race data is in one stacked bar, and all the ethnicity data is in another. Below is a minimal reproducible sample. library("ggplot2") Demog <-

Re: [R] about data format in R

2016-12-30 Thread Rui Barradas
Hello, Have you tried df$date <- as.POSIXct(dat$date, format = "%m/%d/%Y-%H:%M:%S") ? Hope this helps, Rui Barradas Em 30-12-2016 17:40, lily li escreveu: Hi R users, I'm trying to read in data, and then plot time series data. However, I have some problems. In my dataset, the first

Re: [R] help for

2016-12-30 Thread Sarah Goslee
This isn't an R question, but a linux question. Open a new terminal window: The directions you are following tell you how to do that for the Ubuntu linux being used, right at the beginning: Open up a terminal (Applications->Accessories->Terminal from the the toolbar) As for your command, the $

[R] help for

2016-12-30 Thread Elham - via R-help
hi all, I am following  http://bioinformatics.knowledgeblog.org/2011/06/20/analysing-microarray-data-in-bioconductor/  I need to download phenotypic data in the form of text file that describe chip names, and the source of the biological samples as well as probe that hybridised to them. I can

[R] about data format in R

2016-12-30 Thread lily li
Hi R users, I'm trying to read in data, and then plot time series data. However, I have some problems. In my dataset, the first column represents time, and in the format: mm/dd/-hr:min:sec; For example, 10/01/1995-00:00:00, 10/01/1995-06:00:00, etc. df: date

Re: [R] Date Column error: 'origin' must be supplied

2016-12-30 Thread Achim Zeileis
On Fri, 30 Dec 2016, Frederic Ntirenganya wrote: Hi All, I am creating date column on my data but getting the following error: #add date column dat1$Date=paste(as.Date(dat1$Year,dat1$Month, dat1$Day, sep="-"))Error in as.Date.numeric(origin, ...) : 'origin' must be supplied You first need

[R] Date Column error: 'origin' must be supplied

2016-12-30 Thread Frederic Ntirenganya
Hi All, I am creating date column on my data but getting the following error: #add date column dat1$Date=paste(as.Date(dat1$Year,dat1$Month, dat1$Day, sep="-"))Error in as.Date.numeric(origin, ...) : 'origin' must be supplied I will appreciate any help from you guys. Thanks. Here is the

Re: [R-es] Conversión de datos a fechas

2016-12-30 Thread Carlos Ortega
​Hola, Siempre te puedes bajar el tar.gz e instarlo de forma manual... Saludos, Carlos.​ El 30 de diciembre de 2016, 14:41, Ruben Tobalina Ramirez < lagrimaescr...@gmail.com> escribió: > buenas, > > no sé que versión de Debian usas, pero yo recuerdo instalarme el paquete en > Ubuntu 16.10 (y

Re: [R-es] Conversión de datos a fechas

2016-12-30 Thread Ruben Tobalina Ramirez
buenas, no sé que versión de Debian usas, pero yo recuerdo instalarme el paquete en Ubuntu 16.10 (y creo que tb en 16.04) desde los repositorios. Podrias intentar añadir los repositorios de Ubuntu donde se encuentra el paquete y descargarlo desde allí: <

Re: [R-es] Conversión de datos a fechas

2016-12-30 Thread Horacio
Agradezco la ayuda recibida me vino muy bien,,, el problema de instalar el paquete lubridate es que no está en los repositorios de Debian,,, al usar RStudio creo que se debe instalar en ~/R/x86_64-pc-linux-gnu-library previa compilación de fuente bajada de r-cran,,, cosa que será otro pedido de

Re: [R] [FORGED] Export R output in Excel

2016-12-30 Thread John McKown
On Thu, Dec 29, 2016 at 4:32 PM, Erich Subscriptions < erich.s...@neuwirth.priv.at> wrote: > Just a very brief footnote. > I is easy to write badly structured spreadsheets. > But if people dong this would not have spreadsheets > and be forded to write code, they probably also > would write badly

Re: [R-es] Trabajar con un dataset muy grande

2016-12-30 Thread Carlos Ortega
Hola, El que "R" no lo soporta quiere decir que "tu máquina no lo soporta". Y no lo soporta porque tiene una cantidad de RAM insuficiente. En este caso puedes hacer diferentes cosas: - Sin tener que cambiar tu hardware: - Hacer un sampling y quedarte con un número de observaciones con

Re: [R-es] Conversión de datos a fechas

2016-12-30 Thread Carlos Ortega
Hola, Con esto de las fechas, la verdad es que hay múltiples alternativas. Por comentar algunas otras más: + as.Date() - Con esta opción no hace falta cargar ningún paquete. - Es una función a usar cuando tu columna de fechas es homogénea. - Si el formato de tus fechas es homogénea

Re: [R-es] Conversión de datos a fechas

2016-12-30 Thread Víctor Granda García
Hola a todos. A las soluciones de Javier y de Carlos añadiria: 1. Cargar los datos en R con el paquete "readr" y la orden "read_csv2" (fijate que en vez de un punto es un guión bajo). De esta manera la variable fecha ya estará en formato POSIXct (formato fecha), ya que esta orden "adivina" los