Hi all,
Lately I've been having this issue and kept ignoring and addinc -clear- to all -import- calls for a long time but decided to ask in case there is a problem.
In my do files I'm always intentional not to use clear/replace/force options automatically and only include them when I know i want that kind of destructive action.
I've been observing that -import- command gives the 'data has changed' error even if it should not, i.e. if there is a -save- command just before it.
So, basic repro steps would be, in a freshly opened Stata instance (StataNow, with latest update) to run:
. sysuse auto
. generate aa = 1
. tempfile bb
. save `bb'
. import excel 'some_excel_file'
no; data in memory would be lost
r(4);
. display c(changed)
0
Anything I may be misinterpreting or not aware of changes in how these commands are intended to work?
Thanks a lot,
Zurab
Lately I've been having this issue and kept ignoring and addinc -clear- to all -import- calls for a long time but decided to ask in case there is a problem.
In my do files I'm always intentional not to use clear/replace/force options automatically and only include them when I know i want that kind of destructive action.
I've been observing that -import- command gives the 'data has changed' error even if it should not, i.e. if there is a -save- command just before it.
So, basic repro steps would be, in a freshly opened Stata instance (StataNow, with latest update) to run:
. sysuse auto
. generate aa = 1
. tempfile bb
. save `bb'
. import excel 'some_excel_file'
no; data in memory would be lost
r(4);
. display c(changed)
0
Anything I may be misinterpreting or not aware of changes in how these commands are intended to work?
Thanks a lot,
Zurab
Comment