Re: [R] Boxplot of multiple vectors with different lengths

2011-12-13 Thread William Dunlap
> -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf Of Trevor Carey- > Smith > Sent: Monday, December 12, 2011 4:22 PM > To: r-help@r-project.org > Subject: Re: [R] Boxplot of multiple vectors with different

Re: [R] Boxplot of multiple vectors with different lengths

2011-12-13 Thread Ryan Utz
> Spotfire, TIBCO Software > wdunlap tibco.com > > > -Original Message- > > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On Behalf Of Ryan Utz > > Sent: Monday, December 12, 2011 3:15 PM > > To: r-help@r-project.org > > S

Re: [R] Boxplot of multiple vectors with different lengths

2011-12-12 Thread Trevor Carey-Smith
V. -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Ryan Utz Sent: Monday, December 12, 2011 1:24 PM To: r-help@r-project.org Subject: [R] Boxplot of multiple vectors with different lengths Hello, I'm attempting to write a co

Re: [R] Boxplot of multiple vectors with different lengths

2011-12-12 Thread William Dunlap
["b"]], etc. instead. You may want to use a shorter name than dataList. Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf Of Ryan Utz > Sent: Monday, Decembe

Re: [R] Boxplot of multiple vectors with different lengths

2011-12-12 Thread Bert Gunter
Thomas: I stand corrected. Thank you. -- Bert On Mon, Dec 12, 2011 at 2:21 PM, Thomas Adams wrote: > Bert, > > I may be mistaken, but I thought Ryan wrote "write code that automatically > imports data from different files (with different lengths-just one > variable)", so, I was referring to doi

Re: [R] Boxplot of multiple vectors with different lengths

2011-12-12 Thread Peter Ehlers
ct.org] On Behalf Of Ryan Utz Sent: Monday, December 12, 2011 1:24 PM To: r-help@r-project.org Subject: [R] Boxplot of multiple vectors with different lengths Hello, I'm attempting to write a code that automatically imports data from different files (with different lengths-just one variable) an

Re: [R] Boxplot of multiple vectors with different lengths

2011-12-12 Thread Ryan Utz
elp-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On Behalf Of Ryan Utz > Sent: Monday, December 12, 2011 1:24 PM > To: r-help@r-project.org > Subject: [R] Boxplot of multiple vectors with different lengths > > Hello, > > I'm attempting to write a code tha

Re: [R] Boxplot of multiple vectors with different lengths

2011-12-12 Thread Vining, Kelly
: r-help@r-project.org Subject: [R] Boxplot of multiple vectors with different lengths Hello, I'm attempting to write a code that automatically imports data from different files (with different lengths-just one variable) and makes tidy box plots for comparison. I can successfully import the da

Re: [R] Boxplot of multiple vectors with different lengths

2011-12-12 Thread Thomas Adams
Bert, I may be mistaken, but I thought Ryan wrote "write code that automatically *imports data* from different files (with different lengths-just one variable)", so, I was referring to doing something with the data before it gets into R. I understand that one should not need to write out data and

Re: [R] Boxplot of multiple vectors with different lengths

2011-12-12 Thread Bert Gunter
Sorry -- previous versiuon prematurely sent. Full version is: Yikes!  You should never have to do this sort of thing (writing stuff out to files, etc.) What is wanted, I believe, is ?do.call as in do.call(boxplot, z) where z is list(a,b,c)   as Sarah described. However, I think you might

Re: [R] Boxplot of multiple vectors with different lengths

2011-12-12 Thread Thomas Adams
Ryan, I think you could do what you want by having the vector data written to separate files; then create a file containing the individual file names. In R, read the file containing the list of file names and loop through this reading in the individual vector files. Maybe this is an inelegant, bru

Re: [R] Boxplot of multiple vectors with different lengths

2011-12-12 Thread Sarah Goslee
Hi, On Mon, Dec 12, 2011 at 4:24 PM, Ryan Utz wrote: > Hello, > > I'm attempting to write a code that automatically imports data from > different files (with different lengths-just one variable) and makes tidy > box plots for comparison. I can successfully import the data and create a > list of t

[R] Boxplot of multiple vectors with different lengths

2011-12-12 Thread Ryan Utz
Hello, I'm attempting to write a code that automatically imports data from different files (with different lengths-just one variable) and makes tidy box plots for comparison. I can successfully import the data and create a list of the vectors I want to compare. But I cannot, for the life of me, fi