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 at the end of May, and its replacement, statalist.org is already up and running.


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

RE: st: version 11 - update swap doesn't work - installation


From   "Loncar, Dejan" <LoncarD@unaids.org>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: version 11 - update swap doesn't work - installation
Date   Mon, 25 Oct 2010 11:30:38 +0200

Thanks Nick,

Definitely it was something with installation. I installed STATA SE 11 and I can save graphs but I cannot execute command graph combine


1) 
..
save BA, replace 
..
save BA1, replace

graph combine BA.gph BA1.gph, cols(1)
too few quotes
error (132) reading file
varlist not allowed
r(101);

if I run 
graph combine BA.gph BA.gph, cols(1) 
IT WORKS !!!!


2) I tried "update swap" and got:

update swap

    1.  Removing older backups

File C:\Program Files\Stata11\StataSE.bin was not found, aborting swap.
r(601);

Cheers

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Nick Cox
Sent: 24 October 2010 18:23
To: 'statalist@hsphsun2.harvard.edu'
Subject: RE: st: version 10.1

This looks to me as a side-effect of an incomplete -update-. That is, your executable and other files are not now in sync, and/or you did not type -update swap-. 

Go back to -update query- and repeat the process. 

Nick 
n.j.cox@durham.ac.uk 

Loncar, Dejan

The same thing happened. I can see the histogram but it refuses to save. I have version Stata SE 10.

do "C:\DOCUME~1\loncard\LOCALS~1\Temp\STD1b000000.tmp"

. sysuse auto,clear
(1978 Automobile Data)

. local T  "OK"

. local var mpg

. histogram `var', normal title("`T'") saving(`var'_`T', replace)
(bin=8, start=12, width=3.625)
(pathsplit() in lmatabase, compiled by Stata 10.1, is too new to be run by this version of Stata and so was ignored)
      __filemkabsolute():  3499  pathsplit() not found
                 <istmt>:     -  function returned error
r(3499);

end of do-file

r(3499);

Steve Samuels

That's a strange error; I suggest that you contact support.

I have only Stata 11.1 up now, but, yes,  -graph save- and saving()
worked in 10.1.  The FAQ request that you duplicate an error on an
accessible data set. What happens when you run the following?

********************
sysuse auto,clear
local T  "OK"
local var mpg
histogram `var', normal title("`T'") saving(`var'_`T', replace)
********************


On Sun, Oct 24, 2010 at 11:25 AM, Steve Samuels <sjsamuels@gmail.com> wrote:
-
> Omit the quotes in the saving() command

> On Sun, Oct 24, 2010 at 10:53 AM, Loncar, Dejan <LoncarD@unaids.org> wrote:

>> Does command saving and save graph works in Stata 10.1?  I run the code that worked well but I get the error message below?
>>
>> histogram `var', normal title("`T'")  saving("`var'_`T'", replace)
>>
>>
>> (pathsplit() in lmatabase, compiled by Stata 10.1, is too new to be run by this version of Stata and so was ignored)
>>       __filemkabsolute():  3499  pathsplit() not found
>>                  <istmt>:     -  function returned error
>> r(3499);
>> end of do-file
>> r(3499);

*
*   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/

*
*   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