In R, the functions dput() and dget() let you output an object to a string representation, and read it back in. This is handy for quickly reproducing objects for e.g. reproducible tests or for help.
In Julia, I can get a string representation of an object with repr():
tmpmatrix = [3 1; 3 2; 5 3; 5 4; 7 5; 7 6] tmpstr = repr(tmpmatrix) tmpstr
…but, is there a way to read in tmpstr into a matrix object again?
Any help appreciated. Cheers!