Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Something wrong with -colorpalette-

    Dear Stata users,

    I have installed the -colorpalette- wrote by Ben Jann, and I remenber that it run successfully before. I run it today but fails. I reinstall -colorpalette- and -colrspace-, but the problem still exists. Below is the information:
    Code:
    . version
    version 16.0
    
    . colorpalette
    function pexists() not declared in class ColrSpace
    (176 lines skipped)
    (error occurred while loading colorpalette.ado)
    r(3000);
    Last edited by Chen Samulsion; 26 Dec 2022, 18:55.

  • #2
    I'm sorry to post the question before carefully examining. I find the reason is that I have installed -palettes- and -colrspace- more than once. The command runs well after removing older copies.

    Code:
    . adoupdate palettes colrspace
    (note: ado update updates community-contributed files; type -update- to check for updates to official Stata)
    (note: package mrtab was installed more than once; older copy removed)
    (note: package palettes was installed more than once; older copy removed)
    (note: package colrspace was installed more than once; older copy removed)
    
    Checking status of specified packages...
    
      [802] palettes at http://fmwww.bc.edu/RePEc/bocode/p:
            installed package is up to date
    
      [810] colrspace at http://fmwww.bc.edu/RePEc/bocode/c:
            installed package is up to date
    
    (no packages require updating)

    Comment

    Working...
    X