Skip to content
Prev 256668 / 398506 Next

Assign with Paste Problem

Dear R Helpers,

I am trying to change the name of an object using the assign function. 
When I use paste on the new object but not the old, everything is fine:
The new object is a direct copy of the old object.  When I use a paste for
both the new and the old object, however, the new object is simply the
character representation of the old object name, not the old object
itself.

The example below uses quantmod, but you don't need that to see the nature
of the problem.

How can I get the new object to be a complete copy of the old object when
I use paste in both sides of the assign?

Your help would be most appreciated.
--John Sparks
[1] "NYSE.F.f"
Financial Statement for NYSE:F
Retrieved from google at 2011-04-12 20:03:20
Use "viewFinancials" or "viewFin" to view
Financial Statement for NYSE:F
Retrieved from google at 2011-04-12 20:03:20
Use "viewFinancials" or "viewFin" to view
Financial Statement for NYSE:F
Retrieved from google at 2011-04-12 20:03:20
Use "viewFinancials" or "viewFin" to view
[1] "NYSE.F.f"