There are several things to consider here. I will analyze each case and then choose which fits the problem brought by the original poster. For simplicity's sake, I will assume the representation and storage convention are the same.
I) EQUIVALENT SYSTEMS: Different labels for the axes, same intended meaning (East/Right, North/Front/Onward and Up) and same representation/storage convention order.
In this case, there is nothing to do, they are just labels. We can choose any letters or symbols. Both systems represent East with x, one represents North with y and the other with z. We are going to assume that x is the 1st axis and the other, y or z, is the second. If the systems use (x,y,z) and (x,z,y) respectively to represent a triplet, there is nothing to do. For example, 3 East, 1 North and 7 Up is represented in the same way in both systems: (3,1,7).
But, as the problem state that the second system is left-handed, we can discard this case. The only way the second system can be a left-handed system with the same graphic representation (assuming x as the 1st axis), is by adopting the y axis as the second axis, which produces a "vertical" R2.
II) NON-EQUIVALENT SYSTEMS: Different labels and same intended meaning but different representation/storage convention.
Above it was stated that the second system has y as the second axis and it points up. That means that the triplet is written as (x, y, z). In other words, our example will be represented as (3,7,1).
That means that when converting from the first system to the second, it is necessary to swap the 2nd. and 3rd. columns. The case brought by the OP fits this case.
III) OTHER NON-EQUIVALENT SYSTEMS:
There are lots of ways to do this. We have not analyzed cases when positive x points West or maybe downwards. What if matrices contain column-vectors instead of row-vectors?
Matrix with row-vectors
X1 Y1 Z1
X2 Y2 Z2
X3 Y3 Z3
Matrix with column-vectors
X1 X2 X3
Y1 Y2 Y3
Z1 Z2 Z3
FINAL WORDS
If you are confused about this topic is completely understandable. To really grasp complete understanding of this topic I had to research for a month and gather information from a huge amount of web sites, blogs and software product documentations.
I answered a similar question here: https://math.stackexchange.com/questions/3431461/different-representations-of-3d-cartesian-axes/4657893#4657893
(x,y,z,w)
, you've explained that to "change from right-handed to left-handed" means that you change it to the vector(x,z,y,w)
, but it is not at all clear what that phrase means for a matrix. For example, suppose a matrix takes the vector(1,2,3,4)
to the vector(5,6,7,8)
, then when you "change from right-handed to left-handed", should it take(1,2,3,4)
to(5,7,6,8)
, or should it take(1,3,2,4)
to(5,7,6,8)
, or did you mean for it to do something else?