MathGroup Archive 2004

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

Search the Archive

Re: No Output, No Error

  • To: mathgroup at smc.vnet.net
  • Subject: [mg46400] Re: No Output, No Error
  • From: drbob at bigfoot.com (Bobby R. Treat)
  • Date: Mon, 16 Feb 2004 23:43:27 -0500 (EST)
  • References: <c0qj5b$k87$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

That probably is occurring because you haven't loaded the package that
contains Correlation. There is no output or error because Mathematica
has no pattern that tells it to "do" anything with your input.

This happens much less often to me now, because I include the
following statements in my Init.nb:

Off[General::"spell"]
Off[General::"spell1"]
Needs["Statistics`"]
Needs["Graphics`"]

I put Init.nb in the AutoLoad directory inside $BaseDirectory, and I
give each cell in it the Initialization Cell property. When I save the
notebook, Mathematica creates an Autosave package called Init.m, and
that's what actually gets loaded automatically when I start the
kernel.

The first Needs statement above would prevent your problem.

Bobby

"Jackson" <jackson101 at hotmail.com> wrote in message news:<c0qj5b$k87$1 at smc.vnet.net>...
> Warning, new user!
> 
> I have been experiencing some weird output. Some functions just output the
> input. No errors, no indications of a problem. Most functions work well, but
> some just don't provide any feedback as to the error.
> 
> For example:
> xlist = {1, 2, 3, 4, 5};
> ylist = {2, 4, 6, 8, 10};
> Correlation[xlist, ylist]
> 
> Yields the output with no error:
> 
> Correlation[{1, 2, 3, 4, 5}, {2, 4, 6, 8, 10}]
> 
> 
> 
> Thanks.


  • Prev by Date: Re: No Output, No Error
  • Next by Date: RE: Pattern matching algorithm
  • Previous by thread: Re: No Output, No Error
  • Next by thread: Re: No Output, No Error