|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Transposing a huge space delimited file
Hi,
How do I transpose a huge space delimited file with more than 2 million columns and about 100 rows? Thanks! |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
Transpose into what? Vice versa?
|
| The Following User Says Thank You to Corona688 For This Useful Post: | ||
evelibertine (02-08-2013) | ||
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
Quote:
Seriously: if we are supposed to help you with a problem you have to explain first which problem you have: what have you tried and in which way did it fail? Or are you just lonely and seeking conversation? bakunin |
| The Following User Says Thank You to bakunin For This Useful Post: | ||
evelibertine (02-08-2013) | ||
|
#4
|
|||
|
|||
|
Some more information on the file would be nice, too. Do the columns have a maximum width? Or better yet, a fixed width?
|
| The Following User Says Thank You to Corona688 For This Useful Post: | ||
evelibertine (02-08-2013) | ||
| Sponsored Links | |
|
|
#5
|
|||
|
|||
|
I'm sorry the question was vague. By transpose I mean flipping the rows into columns and the columns into rows. The file basically has 2,000,000 columns and 100 rows that all have digits ranging from 0 to 9, except the first row which has strings corresponding to column names. I hope this makes sense. Thanks a lot!
![]() ---------- Post updated at 01:58 PM ---------- Previous update was at 01:57 PM ---------- Quote:
. I have tried tranposing in RGui but it seemed to take forever! |
| Sponsored Links | |
|
|
#6
|
|||
|
|||
|
Does the first column have a fixed width?
|
| The Following User Says Thank You to Corona688 For This Useful Post: | ||
evelibertine (02-08-2013) | ||
| Sponsored Links | |
|
|
#7
|
|||
|
|||
|
I'm not sure any tool will handle lines at least 4 million chars long (one char cols assumed). Where do these loooong lines come from? A database? Can't they be created in a different way from the start?
|
| The Following User Says Thank You to RudiC For This Useful Post: | ||
evelibertine (02-08-2013) | ||
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Changing only the first space to a tab in a space delimited text file | evelibertine | UNIX for Dummies Questions & Answers | 3 | 01-24-2013 12:18 AM |
| Swap two rows in a space delimited text file? | evelibertine | UNIX for Dummies Questions & Answers | 4 | 11-05-2012 06:09 AM |
| How to convert a space delimited file into a pipe delimited file using shellscript? | nithins007 | Shell Programming and Scripting | 7 | 09-25-2011 05:33 AM |
| Converting Space delimited file to Tab delimited file | jeevs81 | UNIX for Dummies Questions & Answers | 16 | 02-26-2009 01:49 AM |
| Searching for text in a Space delimited File | andyblaylock | UNIX for Dummies Questions & Answers | 6 | 11-27-2007 06:33 PM |
|
|