Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/r/72.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
R 将fix()或page()命令的输出保存到文本文件中_R - Fatal编程技术网

R 将fix()或page()命令的输出保存到文本文件中

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”)

如何将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”)