Re: [R] Console Output Formatting

2013-09-16 Thread Noah Silverman
Neal, I like this answer. Simple and clean. Don't know why I didn't think of that before. Thanks! -- Noah Silverman, M.S., C.Phil UCLA Department of Statistics 8117 Math Sciences Building Los Angeles, CA 90095 On Sep 4, 2013, at 3:12 PM, Neal Fultz wrote: > > print(1:100) > [1] 1 2

Re: [R] Console Output Formatting

2013-09-04 Thread Duncan Murdoch
On 13-09-04 5:56 PM, Noah Silverman wrote: Hi, Working with R, I often want to copy and paste some values somewhere else. (Its not worth saving a CSV file for a dozen or so entries.) Or, I may want to copy all the names of an object into some code. Besides the other suggestions, the data e

Re: [R] Console Output Formatting

2013-09-04 Thread arun
Hi, You could use ?cat() For ex: vec1<-1:100 cat(vec1) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 8

Re: [R] Console Output Formatting

2013-09-04 Thread Neal Fultz
> print(1:100) [1] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 > 16 17 18 19 20 21 22 23 24 25 26 [27] 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 [53] 53 54 55 56 57 58 59 60 61 62 63 64 65 66

Re: [R] Console Output Formatting

2013-09-04 Thread Prof Brian Ripley
On 04/09/2013 22:56, Noah Silverman wrote: Hi, Working with R, I often want to copy and paste some values somewhere else. (Its not worth saving a CSV file for a dozen or so entries.) Or, I may want to copy all the names of an object into some code. R, rather nicely, wraps output with an ind

Re: [R] Console Output Formatting

2013-09-04 Thread Steve Friedman
Depending on the OS you are working with awk or gawk are great utilities for stripping columns from files. Also if you use a spreadsheet it is quite easy to drop a column. On Sep 4, 2013 5:59 PM, "Noah Silverman" wrote: > Hi, > > Working with R, I often want to copy and paste some values somewhe