[R] Question concerning Loading large Data Sets

Spencer Brackett @pbr@ckett20 @end|ng |rom @@|ntjo@ephh@@com
Mon May 6 01:09:19 CEST 2019


Good evening,

I am attempting to reproduce the following lines of code...

library(data.table)
anno = as.data.frame(fread(file = "file name", sep ="\t", header = T))


The following is my attempt...

> library(data.table)
> mapper <- read.delim("~/Vakul's GBM code/mapper.txt")
>   View(mapper)
## fread() was used as datset is quite large ##
> GBM_meth <- fread("~/Vakul's GBM code/mapper.txt")
> anno = as.data.frame(fread(file = "~/Vakul's GBM code/mapper.txt", sep
="\t", header = T))

Via View(mapper), I can view the dataset contained within the "mapper.txt"
file, but the >anno = as.data.frame portion does not trigger any sort of
'response' on R and simply brings my cursor down to the next line, ready
for further implementation. Should I be getting some sort of output from R,
and if so what should I expect?

I apologize in advance for any errors in the summary of the above script

Best,

Spencer Brackett

	[[alternative HTML version deleted]]



More information about the R-help mailing list