# Error regarding Combinatorca

**URL:** <https://community.wolfram.com/t/error-regarding-combinatorca/1066>\
**Category:** Questions\
**Tags:** mathematica, packages-and-paclets\
**Created:** [December 8, 2013, 6:34am UTC](https://community.wolfram.com/t/error-regarding-combinatorca/1066 "2013-12-08T06:34:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jyotipandeyiiitdmj](https://avatars.discourse-cdn.com/v4/letter/j/65b543/32.png) [@jyotipandeyiiitdmj](https://community.wolfram.com/u/jyotipandeyiiitdmj)\
**Post date:** [December 8, 2013, 6:34am UTC](https://community.wolfram.com/t/error-regarding-combinatorca/1066/1 "2013-12-08T06:34:56Z")

</div>

Hello…  
I’m new to Mathematica and just started to work with the trial version of Mathematica. I get an error like “Get::noopen: Cannot open DiscreteMath`Combinatorica`. \>\>”  
when I’m including \<\< DiscreteMath`Combinatorica` …what is the problem can anyone tell…

---

<div class="post-metadata">

**Author:** ![fkampas](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/fkampas/32/41217_2.png) [@fkampas](https://community.wolfram.com/u/fkampas)\
**Post date:** [December 8, 2013, 2:49pm UTC](https://community.wolfram.com/t/error-regarding-combinatorca/1066/2 "2013-12-08T14:49:09Z")

</div>

```auto
<< Combinatorica`

```

All the functionality in DiscreteMath`Combinatorica` is available in the newly created Combinatorica Package.

---

<div class="post-metadata">

**Author:** ![jyotipandeyiiitdmj](https://avatars.discourse-cdn.com/v4/letter/j/65b543/32.png) [@jyotipandeyiiitdmj](https://community.wolfram.com/u/jyotipandeyiiitdmj)\
**Post date:** [December 11, 2013, 12:27pm UTC](https://community.wolfram.com/t/error-regarding-combinatorca/1066/3 "2013-12-11T12:27:10Z")

</div>

this also gives error like…General::compat: Combinatorica Graph and Permutations functionality has been superseded by preloaded functionality. The package now being loaded may conflict with this. Please see the Compatibility Guide for details.  
Message::name: Message name 4::usage is not of the form symbol::name or symbol::name::language. \>\>

what to do??

---

<div class="post-metadata">

**Author:** ![fkampas](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/fkampas/32/41217_2.png) [@fkampas](https://community.wolfram.com/u/fkampas)\
**Post date:** [December 11, 2013, 1:58pm UTC](https://community.wolfram.com/t/error-regarding-combinatorca/1066/4 "2013-12-11T13:58:57Z")

</div>

I think that is a warning, rather than an error message. You should still be able to use functions in the Combinatorica package.

---

<div class="post-metadata">

**Author:** ![szhorvat](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/szhorvat/32/3531_2.png) [@szhorvat](https://community.wolfram.com/u/szhorvat)\
**Post date:** [December 13, 2013, 6:27pm UTC](https://community.wolfram.com/t/error-regarding-combinatorca/1066/5 "2013-12-13T18:27:37Z")

</div>

Combinatorica is “obsoleted” since version 8 of Mathematica and there are several symbol names that conflict with built-ins. However, Combinaotrica still contains many useful functions that are not available elsewhere. Because of the name conflicts, after loading Combinatorica you need to explicitly specify whether you’re referring to a built-in symbol or a Combinatorica symbol, e.g. System`Graph or Combinatorica`Graph

Many find ti convenient to load Combinatorica as

```auto
Block[{$ContextPath}, Needs["Combinatorica`"]]

```

This won’t add the package to the context path, so there won’t be name conflicts. But now you need to explicitly use the context of _every_ Combinatorica symbol (i.e. write Combinatorica`Automorphisms instead og Automorphisms), not just conficting ones such as Graph.
