Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Problems with my first package: Statistics`Common`RegressionCommon`BestFitParameters instead of BestFitParameters

  • To: mathgroup at smc.vnet.net
  • Subject: [mg58198] Re: [mg58049] Problems with my first package: Statistics`Common`RegressionCommon`BestFitParameters instead of BestFitParameters
  • From: frank <frank at kuesterei.ch>
  • Date: Wed, 22 Jun 2005 01:55:40 -0400 (EDT)
  • References: <200506170918.FAA07763@smc.vnet.net> <601b11be352ef0d1e54f3f8432ea9a41@omegaconsultinggroup.com>
  • Sender: owner-wri-mathgroup at wolfram.com

Mathematica Ezine <ezine at omegaconsultinggroup.com> wrote:

>
> The best analogy I've heard for this is: A friend of my friend is not
> necessarily my friend. So the correct thing to do is explicitly list
> the context of all symbols you want to use in your package:
>
> BeginPackage["MyPackage`", "Statistics`NonlinearFit`",
> "Statistics`Common`RegressionCommon`"]

Thank you, that did it.

Regards, Frank

-- 
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer


  • Prev by Date: a question about plot a list of functions.
  • Next by Date: Re: lists of variables
  • Previous by thread: Re: Problems with my first package: Statistics`Common`RegressionCommon`BestFitParameters instead of BestFitParameters
  • Next by thread: usage messages in packages