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 nfu...@gmail.com wrote: print(1:100)

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 noahsilver...@ucla.edu wrote: Hi, Working with R, I often want to copy and paste

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

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 arun
71,72,73,74,75 76,77,78,79,80 81,82,83,84,85 86,87,88,89,90 91,92,93,94,95 96,97,98,99,100 A.K. - Original Message - From: Noah Silverman noahsilver...@ucla.edu To: R help r-help@r-project.org Cc: Sent: Wednesday, September 4, 2013 5:56 PM Subject: [R] Console Output Formatting Hi, Working

[R] Console Output Formatting

2013-09-04 Thread Noah Silverman
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 index number on the left side. For example:

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