R File Operation

From GM-RKB
Jump to navigation Jump to search

A Perl File Operation is a File Operation expressed in the R Programming Language.



References


Examples

reading from a file
array <- read.csv("~/data/documentClickedTermids.csv", header=F) ;
array <- read.table('~/data/vocabClickedTerms.csv', header=FALSE, stringsAsFactors=FALSE, sep=',') 
writing to a file
write.csv(array, file = '~/data/documentClickedTermids.csv', row.names = FALSE)


References