Re: [R] Problems w/ creating object

2019-04-22 Thread William Dunlap via R-help
Also, recall that on Windows each drive has its own root directory so the meaning of "/some/file" depends on where your working directory is at the moment. E.g., > setwd("C:/tmp") > cat(file="junk.txt",1:10) > file.info("/tmp/junk.txt") size isdir mode mtime

Re: [R] Problems w/ creating object

2019-04-22 Thread William Dunlap via R-help
file.info( "/rsrch1/bcb/kchen_group/v_mohanty/data/TCGA/450K/mapper.txt" ) would tell about the permissions on the file, if it exists (and give NA's if it did not). Bill Dunlap TIBCO Software wdunlap tibco.com On Mon, Apr 22, 2019 at 2:00 PM David Winsemius wrote: > > On 4/22/19 11:49 AM,

Re: [R] Problems w/ creating object

2019-04-22 Thread David Winsemius
On 4/22/19 11:49 AM, Spencer Brackett wrote: Hello R users, I am trying to create an object out of some data a colleague sent my way, so to duplicate the following code... library(data.table) anno = as.data.frame(fread(file = "/rsrch1/bcb/kchen_group/v_mohanty/data/TCGA/450K/mapper.txt", sep

[R] Problems w/ creating object

2019-04-22 Thread Spencer Brackett
Hello R users, I am trying to create an object out of some data a colleague sent my way, so to duplicate the following code... library(data.table) anno = as.data.frame(fread(file = "/rsrch1/bcb/kchen_group/v_mohanty/data/TCGA/450K/mapper.txt", sep ="\t", header = T)) meth = read.table(file =