Re: [R] Matrix Results

2012-03-18 Thread Uwe Ligges
On 13.03.2012 15:40, RMSOPS wrote: Hello Error: could not find function sqldf: Hello, I'm using R Studio, and installed the option of installing the packages sqldbf function. But When I run the code give the next error. install.packages("sqldf") library("RSQLite") require(sqldf) x<-

Re: [R] Matrix Results

2012-03-13 Thread RMSOPS
Hello Error: could not find function sqldf: Hello, I'm using R Studio, and installed the option of installing the packages sqldbf function. But When I run the code give the next error. install.packages("sqldf") library("RSQLite") require(sqldf) x <- read.fwf(textConnection("4 - 4 5

Re: [R] Matrix Results

2012-03-13 Thread RMSOPS
Hello is the dataset that was sent to help, has over two columns the source and destination, is the separation of position pos POS DIF SourceDest 4 - 4 56 4 4 4 - 3 61 4 3 3 - 3 300 3 3 3 -

Re: [R] Matrix Results

2012-03-13 Thread jim holtman
Try this: > require(sqldf) > x <- read.fwf(textConnection("4 - 4 56 + 4 - 3 61 + 3 - 3 300 + 3 - 327 + 3 - 3 33 + 3 - 3 87 + 3 - 4 49 + 4 - 4 71 + 4 - 3 121 + 3 - 4 138 + 4 - 3 15"), width = c(7,8) , header = FALSE, as.is = TRUE) > close

Re: [R] Matrix Results

2012-03-13 Thread Petr PIKAL
Hi > > Hello > >I am developing a small program that to calculate the maximum, minimum > and average. > > The data.frame v is > > POS DIF > 4 - 4 56 > 4 - 3 61 > 3 - 3 300 > 3 - 327 > 3 - 3 33 > 3 - 3 87 > 3 - 4 49 > 4 - 4 71 > 4

[R] Matrix Results

2012-03-13 Thread RMSOPS
Hello I am developing a small program that to calculate the maximum, minimum and average. The data.frame v is POS DIF 4 - 4 56 4 - 3 61 3 - 3 300 3 - 327 3 - 3 33 3 - 3 87 3 - 4 49 4 - 4 71 4 - 3 121 3 - 4 138 4 - 3 15