Hello

getdata <- function(p){
  fname <- NULL; dl <- list(NULL)#build the sturcture
  dt <- read.csv(file.path(d,i),header=F)  #data frame
  ret <- builddl(dt,s) #where "s" is a string
}

how can I get this following function to use fname and
dl from the above function without passing them down
the chain?

builddl <- function(q,s){
  fname <- c(fname,s)
  dl <- list( dl, q)
}

thanks

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to