Re: [R] Importing data from text file with mixed format

2009-10-26 Thread delnatan
-help-boun...@r-project.org] On Behalf Of delnatan Sent: Saturday, October 24, 2009 8:32 PM To: r-help@r-project.org Subject: [R] Importing data from text file with mixed format Hi, I'm having difficulty importing my textfile that looks something like this: #begin text file Timepoint 1

[R] Importing data from text file with mixed format

2009-10-25 Thread delnatan
Hi, I'm having difficulty importing my textfile that looks something like this: #begin text file Timepoint 1 ObjectNumber Volume SurfaceArea 1 5.3 9.7 2 4.9 8.3 3 5.0 9.1 4 3.5

[R] how to convert list into a vector

2009-10-08 Thread delnatan
Hi , I want to convert a my list: myList [[1]] [1] 1 2 3 4 5 [[2]] [1] 6 7 8 [[3]] [1] 9 10 11 into something like c(1,2,3,4,5,6,7,8,9,10,11) I realized that this is possible by c(do.call(cbind,myList)) But only when list[[1]] through list[[3] have equal length of vectors within them

Re: [R] how to convert list into a vector

2009-10-08 Thread delnatan
Ok, nevermind. all I had to do was unlist(myList). delnatan wrote: Hi , I want to convert a my list: myList [[1]] [1] 1 2 3 4 5 [[2]] [1] 6 7 8 [[3]] [1] 9 10 11 into something like c(1,2,3,4,5,6,7,8,9,10,11) I realized that this is possible by c(do.call(cbind,myList