R 将fix()或page()命令的输出保存到文本文件中
如何将fix()或page()的内容保存到R中的文本文件中 例如:R 将fix()或page()命令的输出保存到文本文件中,r,R,如何将fix()或page()的内容保存到R中的文本文件中 例如: hcity.D2 <- hclust(UScitiesD, "ward.D2") # example of hclust in the R help file hcity.D2我们可以使用dput()函数 dput(hcity.D2,“test.txt”)
hcity.D2 <- hclust(UScitiesD, "ward.D2") # example of hclust in the R help file
hcity.D2我们可以使用dput()函数
dput(hcity.D2,“test.txt”)