Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

Re: st: Append in combination with insheet (of csv files)


From   Neil Shephard <nshephard@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Append in combination with insheet (of csv files)
Date   Mon, 19 Jul 2010 14:41:14 +0000

On Mon, Jul 19, 2010 at 2:34 PM, Kaspar Dardas
<kaspar.dardas@students.ebs.edu> wrote:
> Hi guys,
>
> is there an efficient way of combining the append and insheet command?
> I have multiple csv files, which I would like to display in one Stata session.
>
> I have already tried
> http://www.stata.com/statalist/archive/2007-08/msg00949.html,
> however, I get an error message which says "dir. not allowed" after
> the fourth row.
> I can't figure out this command doesn't work. I use Stata 11.

See -man extended fcn- for how the code in that line works.

Based on the above I'd hazard a guess that you have removed a space
between 'dir' and '.' as the '.' is indicating that files ending with
".csv" in the current directory (the '.' means current directory).

Neil



-- 
"... no scientific worker has a fixed level of significance at which
from year to year, and in all circumstances, he rejects hypotheses; he
rather gives his mind to each particular case in the light of his
evidence and his ideas." - Sir Ronald A. Fisher (1956)

Email - nshephard@gmail.com
Website - http://slack.ser.man.ac.uk/
Photos - http://www.flickr.com/photos/slackline/
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index