Skip to content

write.xls dont find the object in function

7 messages · Ronaldo Reis Júnior, Rolf Turner, Uwe Ligges +1 more

#
On 18.12.2011 12:58, Ronaldo Reis J?nior wrote:
Because at least that part of the function is poorly written.

Uwe Ligges
#
On 19/12/11 04:29, Uwe Ligges wrote:
<SNIP>
Surely this should be a fortune!

     cheers,

         Rolf
#
On 19.12.2011 13:30, Ronaldo Reis J?nior wrote:
You could assign() it to that environment, but working around the 
write.xls() shortcoming by another hack is maybe not the best idea.

Best wishes,
Uwe
1 day later
#
Or:
+    a <- data.frame(A=c(1,2),B=c(10,11))
+    write.xlsx(a,file="a.xlsx")
+  }
[1] "a.xlsx"
2 days later