Typo? Try write.xlsx(x, "table name.xlsx") Example install.packages('openxlsx') library(openxlsx)
write.xlsx(df, "stations.xlsx") On Thu, 14 Jul 2022 at 15:40, Muhammad Zubair Chishti <mzchis...@eco.qau.edu.pk> wrote: > > Dear Experts, > I have obtained the results through applying Time Varying VAR model in R. > Now I want to save my results in a excel sheet. Kindly guide me how to > create a excel or excel table. Although I have tried the following code but > I face error. > Write.xlsx(x, "table name.xlsx") > > Kindly guide. > > Regards > Chishti > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- John Kane Kingston ON Canada ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.