Re: [R] data import: strange experience

2013-08-22 Thread jwd
On Wed, 21 Aug 2013 10:35:53 -0400 SH empti...@gmail.com wrote: It looks like your problem has already been answered, however, as a rule of thumb anytime you see a peculiarity like this you should look for minor variations between what you expected to export and what Excel really exported as

[R] data import: strange experience

2013-08-21 Thread SH
Dear List: I had some strange experience in importing data. I wonder if anyone of you had the same problem before and would greatly appreciate your suggestion in advance. The original data set in excel format. Here is a brief summary of the procedure I did: 1. I saved the original excel data

Re: [R] data import: strange experience

2013-08-21 Thread Sarah Goslee
Hi, We don't know anything about your data or your file, so it's utterly impossible to offer useful suggestions. The very best thing you can do is condense your problem into a reproducible example, with fake data if necessary. Otherwise you're limited by the ability of the list to guess what

Re: [R] data import: strange experience

2013-08-21 Thread David Carlson
-project.org] On Behalf Of SH Sent: Wednesday, August 21, 2013 9:36 AM To: r-help@r-project.org Subject: [R] data import: strange experience Dear List: I had some strange experience in importing data. I wonder if anyone of you had the same problem before and would greatly appreciate your suggestion

Re: [R] data import: strange experience

2013-08-21 Thread SH
Hi Sarah, Thanks for a prompt feedback. I knew it will be very vague without example. However, I only used two commands to import data and had no 'apparent' errors. The original data have about 19000 obs and I was able to reduce about 3200. I wonder if I can attach the data file (size: 109K)

Re: [R] data import: strange experience

2013-08-21 Thread SH
-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of SH Sent: Wednesday, August 21, 2013 9:36 AM To: r-help@r-project.org Subject: [R] data import: strange experience Dear List: I had some strange experience in importing data. I wonder if anyone of you had the same problem before

Re: [R] data import: strange experience

2013-08-21 Thread David Carlson
21, 2013 10:14 AM To: dcarl...@tamu.edu; peter dalgaard Cc: r-help Subject: Re: [R] data import: strange experience Thanks Peter.  It works with read.delim.   David: Thanks for your comments.  To answer your questions.  I don't have 'NA' and all balanced.  The number of mssing levels were 4