// globals


function calculate () {
echo ('write.table ( x =  ' + getValue("data") + ' , file =  "' + getValue("file") + '" , append =  ' + getValue("append") + '  ,quote = ' + getValue("quote")) echo (' ,  sep = ' + getValue("sep")) echo (' , eol = "' + getValue("eol"))  echo ('" , na = "' + getValue("na"))  echo ('" ,  dec = ' + getValue("dec")) echo (' , row.names =  '); if (getValue("rows") == "custoRow") echo (getValue("rownames")); else  echo (getValue("rows") + ' ,  col.names =  '); if (getValue("columns") == "custoCol") echo (getValue("colnames")); else  echo (getValue("columns") + ' , qmethod=  ' + getValue("qmethod") + ' ) \n');
}

function printout () {
	makeHeaderCode ("Write as table", array ("File" ,  getValue ("file"), "Data" ,  getValue ("data")));
}

