Displaying 1 result from an estimated 1 matches for "htmlreplacena".
2006 Oct 13
2
bug: Editing function formals deletes the environment
...me", "R2HTML")
# change the default for an argument
formals(x)["Border"]=list(NULL)
# put the function back
assignInNamespace("HTML.data.frame", x, "R2HTML")
#test the function:
HTML(data.frame(1:2), file=stdout())
Error: could not find function "HTMLReplaceNA"
# what seems to be happening is that the formals function is
stripping the namespace off the variable x. I can't tell why.