Displaying 1 result from an estimated 1 matches for "infelizment".
Did you mean:
infelizmente
2011 Dec 18
2
write.xls dont find the object in function
Hi,
I try to use write.xls from dataframes2xls inside a function. The
write.xls work normally in console, but inside a function it dont find
the object.
Look this example:
> library(dataframes2xls)
> test <- function(x){
+ a <- data.frame(A=c(1,2),B=c(10,11))
+ write.xls(a,file="a.xls")
+ }
> test()
Erro em get(s[i]) : objeto 'a' não encontrado
Why the