mailto:lig...@statistik.tu-dortmund.de]
Sent: Tuesday, April 27, 2010 11:44 AM
To: arnaud Gaboury
Cc: r-help@r-project.org
Subject: Re: [R] save a data frame in environment
Don't print them but return() them from your function position() within
a list. Then you will have a list of two data.frames
2010 11:44 AM
> To: arnaud Gaboury
> Cc: r-help@r-project.org
> Subject: Re: [R] save a data frame in environment
>
> Don't print them but return() them from your function position() within
> a list. Then you will have a list of two data.frames for later usage
> a
Don't print them but return() them from your function position() within
a list. Then you will have a list of two data.frames for later usage
assigned to your list.
Uwe Ligges
On 27.04.2010 11:37, arnaud Gaboury wrote:
Dear group,
Here is my function :
position<-function(x)
{
Dear group,
Here is my function :
position<-function(x)
{
pose<-read.csv2((paste(c("LSCPos",x,".csv"),collapse="")),dec=".",sep=",",as
.is=T,h=T,skip=1)[,c(4,8,14,15)]
pose$CREATED.DATE<-as.Date(pose$CREATED.DATE,"%d/%m/%y")
futures<-pose[-grep("USD",pose[,
4 matches
Mail list logo