Announcement

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

  • copying additional packages to server without internet access

    Hi there

    i'm trying to install a few packages on Stata 14 MP (windows server) (or Stata12 IC on a Linux box).

    Neither is letting me use the -ssc install - option.

    Is there a way to copy them to my local PC and copy the items into the correct folders on the server, or set up a path on the server to link to the packages I've already downloaded?

    Cheers
    Dan

  • #2
    Hi Dan,

    you can change the directory that Stata uses to install ado packages from an online source by typing:
    Code:
    sysdir set PLUS "/path/to/directory"
    Put this line into your profile.do, then you don't need to repeat it every time you start Stata.

    If the directory you specify already contains packages (for instance, if your directory is a network drive and you installed packages into it on any other machine), Stata will find and use them.

    Alternatively, you can of course manually download all package contents on another machine with internet access and copy-and-paste them to your server's PLUS directory. But this might be quite cumbersome, depending on the number of packages you're interested in.

    Regards
    Bela
    Last edited by Daniel Bela; 25 Aug 2016, 02:09. Reason: typo

    Comment


    • #3
      The problem here is not precisely specified.

      Evidently, you tried to use ssc. But precisely what did you type and precisely what happened?
      Please see FAQ Advice, especially #12.

      In addition to Daniel's suggestions:

      Sometimes people's set up won't let them install programs from the internet as a matter of workplace policy.

      Sometimes it's just a matter of telling Stata about your set up. For example, on a (British) university system, I have to specify this kind of stuff in my profile.do (if, as is only natural, I don't want to do it each time I install):

      Code:
       Turn on or off the use of a proxy server
      
              set httpproxy {on|off} [, init]
      
      
          Set proxy host name
      
              set httpproxyhost ["]name["]
      
      
          Set the proxy port number
      
              set httpproxyport #
      
      
          Turn on or off proxy authorization
      
              set httpproxyauth {on|off}
      See help netio


      See also http://www.statalist.org/forums/foru...nternet-access
      Last edited by Nick Cox; 25 Aug 2016, 02:22.

      Comment

      Working...
      X