I have a code chunk which gets stuck while knitting and gives the following error:
boxplot(rawdata_order, frame.plot=F, cex.axis=0.7, main="Raw data",border=NULL) boxplot(affy_normalised_data, frame.plot=F,cex.axis=0.7, main="Normalized data",border=NULL) hist(rawdata_order, cex.axis=0.7, frame.plot=F, main="Raw data") hist(affy_normalised_data, cex.axis=0.7, frame.plot=F, main="Normalized data") ***Error in sort.int(x, na.last = na.last, decreasing = decreasing, ...) : 'x' must be atomic Calls: <Anonymous> ... boxplot.stats -> <Anonymous> -> sort -> sort.default -> sort.int***
The code chunk runs fine on its own. However, when I knit the document, I am unable to get past the first line of this code chunk. Can anyone help me resolve this issue?