Reputation: 3
I am trying to use the unfold
function from package RcmdrPlugin.survival
.
I used the following command:
long.df <- unfold(testdf,time="deathint", event="death",
cov=list(31:70,71:110), cov.names=c("adopted","age"))
However, R is returning the following error message:
Error in structure(.External(.C_dotTcl, ...), class = "tclObj") : [tcl] wrong # args: should be "winfo rootx window".
I am using R version 3.2.4. Any suggestions?
Upvotes: 0
Views: 656
Reputation: 735
I had the same problem in R studio. This is how I solved it: intall.packages("Rcmdr") It installed R commander gui for me,then I went to R commander gui, installed and loaded RcdmrPlugin.survival and then I ran unfold from there and it worked.
Upvotes: 1