While running the scripts given below in R studio, it is nicely working. But I get the error message as"Quitting from lines 11-14 (analysisNEW_1_.Rmd)
Error in file(file, "rt") : cannot open the connection
Calls: <Anonymous> ... withCallingHandlers -> withVisible -> eval -> eval -> read.table -> file
Execution halted" when I go for File>publish.
How to resolve it?
---
title: "Augmented block"
author: "Sarma, R.N."
date: "December 21, 2016"
output: word_document
---
###Reading...
```{r}
library(agricolae)
A<-read.table("data-1.txt",header = TRUE)
str(A)
```
###Analysis by groups
```{r,echo=FALSE}
options(digits=2)
attach(A)
out<-DAU.test(BLOCK,Genotypes,HI, method=c("lsd"), console=TRUE)
detach(A)
names(out)
print(out$means)
print(out$groups)
```
###All comparison
```{r,echo=FALSE}
attach(A)
out<-DAU.test(BLOCK,Genotypes,HI, method=c("lsd"), group=FALSE)
detach(A)
names(out)
head(out$comparison)