# PermutationReplace does not seem to work when Combinatorica is open. Is there a function that is equivalent.?

I want a permutation to act on a set. For example: I want the permutation {2,1,3,5,4} to act on the set {2,3,4} by returning {1,3,5}. I need to do this in the same code that has functions that need Combinatorica.

I thought that maybe Orbits[pg,x] might work but I cannot understand the information in the help section.

You can try adding the context of the functions explicitly if you're having clashes with Combinatorica, e.g. SystemPermutationReplace[] and SystemPermutationCycles[]:
SystemPermutationReplace[{2, 3, 4}, SystemPermutationCycles[{2, 1, 3, 5, 4}]]

Block[{\$ContextPath},  Needs["Combinatorica"]];