Re: [R] Problems saving an Object called by get

2011-04-27 Thread Duncan Murdoch
Luis Felipe Parra wrote: Sorry David, I understand what you mean but could you help with how it would be done more specifically. Use save(list=paste(Algoritmo, "_Portafolio", sep=""), ... ) Duncan Murdoch Thanks On Wed, Apr 27, 2011 at 11:27 AM, David Winsemius wrote: On Apr 26, 2011,

Re: [R] Problems saving an Object called by get

2011-04-27 Thread Ivan Calandra
Hi, Not sure it is exactly what you're looking for, but it might help you: save(PortafolioInicial, ...) ## you just save the original object instead of the assign()ed one. But when you load() it, you have to know its name, so it might be difficult to use. Even better (for me at least), is to

Re: [R] Problems saving an Object called by get

2011-04-26 Thread Luis Felipe Parra
Sorry David, I understand what you mean but could you help with how it would be done more specifically. Thanks On Wed, Apr 27, 2011 at 11:27 AM, David Winsemius wrote: > > On Apr 26, 2011, at 7:37 PM, Luis Felipe Parra wrote: > > Hello. I am trying to save an object which I created using assign

Re: [R] Problems saving an Object called by get

2011-04-26 Thread David Winsemius
On Apr 26, 2011, at 7:37 PM, Luis Felipe Parra wrote: Hello. I am trying to save an object which I created using assign as following: assign(paste(NombreAlgoritmo,"_Portafolio",sep=""),PortafolioInicial) save(get(paste(Algoritmo,"_Portafolio",sep="")),file=paste(camino,"\ \Libreria\\Portafoli

[R] Problems saving an Object called by get

2011-04-26 Thread Luis Felipe Parra
Hello. I am trying to save an object which I created using assign as following: assign(paste(NombreAlgoritmo,"_Portafolio",sep=""),PortafolioInicial) save(get(paste(Algoritmo,"_Portafolio",sep="")),file=paste(camino,"\\Libreria\\Portafolio\\Port_",NombreAlgoritmo,"\\",NombreAlgoritmo,"_Portafolio.