convert string back into object in r [closed]
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 2 years ago . In R, I get the content of a binary file as a string (because of design issues, I can't access the file directly). This file was originally an lm model. How do I convert that string back into the lm model? Thanks 回答1: I'm assuming you used base::dput() according to the following example (based on