[R] Error: cannot allocate vector of size

2011-03-25 Thread mipplor
i run a model ,but i turn out to be like this. but i have run this model days ago and it works well whats going on here? any suggestion. > model1<‐siarmcmcdirichletv4(data,sources,tef,concdep=0,50,5) Error: cannot allocate vector of size 2.2 Gb In addition: Warning messages: 1: In matrix

Re: [R] ) Error in eval(expr, envir, enclos) : object '' not found

2011-03-24 Thread mipplor
thx , i have solved this by sep="," -- View this message in context: http://r.789695.n4.nabble.com/Error-in-eval-expr-envir-enclos-object-not-found-tp3399503p3402403.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org

Re: [R] ) Error in eval(expr, envir, enclos) : object '' not found

2011-03-23 Thread mipplor
exactly, i dont know why the header are separated by invisible periods. and it only happen to the header. -- View this message in context: http://r.789695.n4.nabble.com/Error-in-eval-expr-envir-enclos-object-not-found-tp3399503p3400824.html Sent from the R help mailing list archive at Nabble

[R] ) Error in eval(expr, envir, enclos) : object '' not found

2011-03-23 Thread mipplor
> datafilename="E:/my documents/r/sex/bysex1.csv" > data.sex=read.table(datafilename,header=T) > data.sex y.sex.age.region.c.n 1 1980,F,A,N,-18.15,13.61 2 1980,F,A,N,-18.61,13.04 3 1980,F,A,N,-18.81,12.32 41990,F,A,N,-21.12,11.7 5 1990,F,A,N,-20.77,11.58 61990,F,A,N,-21.6,13.

Re: [R] incomplete final line

2011-02-18 Thread mipplor
yepp,i have done as you said and run my test. but it seems something wrong with "sources" file. what it does mean? > model1<‐siarmcmcdirichletv4(data,sources,tef,concdep=0,50,5) Error in the sources file - check this is numeric. Problems with inputs: siar has not been run. Warning mes

Re: [R] incomplete final line

2011-02-17 Thread mipplor
thx for your suggestions , i have made it csv file,and it looks: > data<‐read.table('E:/my documents/r/1.csv',header=TRUE) Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, : line 1 did not have 2 elements is there wrong with the data? -- View this message in cont

[R] incomplete final line

2011-02-16 Thread mipplor
Hi, I work like this: > data<‐read.table('E:/my documents/r/consumer.xls',header=TRUE) Warning message: In read.table("E:/my documents/r/consumer.xls", header = TRUE) : incomplete final line found by readTableHeader on 'E:/my documents/r/consumer.xls' could someone shoot the trouble for me ?