Re: [R] Loading data into R

2013-01-26 Thread arun
ot;"  "" #[4,] ""  "34" ""  "4" "" #[5,] "2" ""   "4" ""  "4" str(as.matrix(myData)) # chr [1:5, 1:5] "a" "2" "" "" "2" "b"

Re: [R] Loading data into R

2013-01-26 Thread Duncan Murdoch
On 13-01-26 3:00 PM, Christofer Bogaso wrote: Hello again, I generally use Clipboard to load data into R from Excel using the read.delim() function. In most cases, my data after loading looks like below: myData <- structure(list(V1 = structure(c(3L, 2L, 1L, 1L, 2L), .Label = c("", "2", "a"), cl

[R] Loading data into R

2013-01-26 Thread Christofer Bogaso
Hello again, I generally use Clipboard to load data into R from Excel using the read.delim() function. In most cases, my data after loading looks like below: myData <- structure(list(V1 = structure(c(3L, 2L, 1L, 1L, 2L), .Label = c("", "2", "a"), class = "factor"), V2 = structure(c(4L, 3L, 1L, 2L