Hi All,
I am now trying to use multiple file names into data.
clear
global f "D:\data_science\myr\raw\image"
*ssc install fs
local jpg : dir "$f" files "*.jpg"
di `jpg'
foreach name in `jpg' {
input x
`name'
end
}
When I do these codes, I got the error
. foreach name in `jpg' {
2.
. input x
3. `name'
4. end
--Break--
r(1);
Related Posts with using input in stata for file name
note: index_msa omitted because of collinearityhi friends. i have faced a problem. in my regression , this notification confused me. my regression:…
Line graph with different style for forecasted valuesHello, I have some values which are both historical and forecasted. Let's say that from 2000q1 to 2…
egen anycountI have five variables that all take on values 0, 1, or 2. I want to create a new variable that equal…
note: index_msa omitted because of collinearityhi friends. i have faced a problem. in my regression , this notification confused me. my regression:…
Linear regressionI have squared root the dependent variable to deal with the non-normally distributed residuals. The …
Subscribe to:
Post Comments (Atom)
0 Response to using input in stata for file name
Post a Comment