If you have access to the necessary enzymes that use one or the other as a substrate, then you would be able to distinguish them. For example, there is an enzyme called ribulokinase that catalyzes the reaction R5P + ADP ribulose + ATP. This could be followed by measuring the production of ATP. It's actually the reverse of the normal reaction, so it might not go too well.