Varible Conversion & Serial question

The packet (r) needs to be between start and end markers. Try sending "", instead of "r".