Re: [R] load ff object in a different computer

2013-05-26 Thread Djordje Bajic
Milan Bouchet-Valat > Le dimanche 26 mai 2013 à 13:53 +0200, Djordje Bajic a écrit : > > Hi all, > > > > I am having trouble loading a ff object previously saved in a different > > computer. I have both files .ffData and .RData, and the first of them is >

[R] load ff object in a different computer

2013-05-26 Thread Djordje Bajic
Hi all, I am having trouble loading a ff object previously saved in a different computer. I have both files .ffData and .RData, and the first of them is 13Mb large from which I know the data is therein. But when I try to ffload it, checkdir error: cannot create /home/_myUser_ Pe

Re: [R] Merging data tables

2012-12-28 Thread Djordje Bajic
see ?merge, for your dataframes, the following should work: merge(bat_activity, weather, by=c(date, time), all=T) 2012/12/28 Neotropical bat risk assessments > Hi all, > > I am trying to merge several data sets and end up with a long data > format by date & time so I can run correlations and

Re: [R] Read File for Matrix with rownames

2012-03-23 Thread Djordje Bajic
first problem: the "blank" space in first position in the first line. Try removing it, so that the file looks like this: "1","2","3","4" "1",484,43,67,54 "2",54,35,67,34 "3",69,76,78,55 "4",67,86,44,34 Second: your colnames and rownames are numeric; R recognizes it but puts an X (but it recognize

Re: [R] best option for big 3D arrays?

2012-02-27 Thread Djordje Bajic
is helped. Cheers, djordje 2012/2/23 steven mosher > Did you have to use a particular filename? or extension. > > I created a similar file but then could not read it back in > > Steve > > On Mon, Feb 13, 2012 at 6:45 AM, Djordje Bajic wrote: > >> I've been inve

Re: [R] best option for big 3D arrays?

2012-02-13 Thread Djordje Bajic
ll. I have yet to see the limitations, but I hope it helps. a foo example: myArr <- ff(NA, dim=rep(904,3), filename="arr.ffd", vmode="double") myMat <- matrix(1:904^2, ncol=904) for ( i in 1:904 ) { myArr[,,i] <- myMat } Thanks all, 2012/2/11 Duncan Murdoch &

[R] best option for big 3D arrays?

2012-02-10 Thread Djordje Bajic
Hi all, I am trying to fill a 904x904x904 array, but at some point of the loop R states that the 5.5Gb sized vector is too big to allocate. I have looked at packages such as "bigmemory", but I need help to decide which is the best way to store such an object. It would be perfect to store it in thi