I tested SPSS and excel with data generated this way.
*create file with 400 variables to see if SPSS can read a 400 variable CSV file.
new file.
input program.
vector x (400,f3).
loop id = 1 to 3.
loop #p = 1 to 400.
compute x(#p) = rnd(rv.normal(50,10)).
end loop.
end case.
end loop.
end file.
end input program.
SAVE TRANSLATE OUTFILE='C:\project\test400.csv'
/TYPE=CSV
/ENCODING='Locale'
/MAP
/REPLACE
/FIELDNAMES
/CELLS=VALUES.
I was able to read in the file with excel.
Using theGUI <file> <read text data>
I was able to read the file into SPSS.
See if you can work with the attached files.
the second one was created with
compute x(#p) = rnd(rv.normal(50000000,10)).
-------------------------------------------
Arthur Kendall
Social Research Consultants
-------------------------------------------
Original Message:
Sent: 08-13-2013 12:57
From: Chris Barker
Subject: Excel files with more than 300 columns
I'd appreciate suggestions preferably for open source software for reading in excel (or .csv) files with more than 300 columns.
R (the read.csv function) and SAS (9.2) could not read in the file.
- I'd also prefer not to split the file into smaller files.
thanks in advance.
-------------------------------------------
Chris Barker, Ph.D.
Publications Officer - ASA Statistical Consulting Section
&
Adjunct Associate Professor of Biostatistics
- University of Illinois Chicago
---
"In composition you have all the time you want to decide what to say in 15 seconds, in improvisation you have 15 seconds."
-Steve Lacy
-------------------------------------------