Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Importing CVS files after "clear" command?


From   Ronan Conroy <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: Importing CVS files after "clear" command?
Date   Mon, 7 Mar 2011 15:55:19 +0000

On 7 Mar 2011, at 00:25, Sergio Villamayor Tomas wrote:

> This is what I did:
> I imported a CSV file into STATA. Then I typed "clear" in the command 
> box (I just wanted to try it out).

Memo: you are banned from the flight deck of any aircraft I am on.

> Then STATA cleared all the variables 
> of my imported CSV file.
> Then, I closed STATA.

But your csv file continued to exist wherever you had saved it. Furthermore, all your commands were available in the review window, so you could simply have re-run your session up to the point you pressed the big red knob to see what it did. 


> Then I created a new 
> copy of my CSV file (from an original excel file).

I don't see why. What had happened to the original one? 

> Then  tried to 
> import again the CSV file and, although STATA imported it, it only read 
> the labels of the file. It looks like it did not recognized the numbers 
> of the file.

Try opening the csv file in Excel to verify that it contains the data you expect. 


Ronán Conroy
[email protected]
Associate Professor
Division of Population Health Sciences
Royal College of Surgeons in Ireland
Beaux Lane House
Dublin 2


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index