[R] ffdfindexget from package ff

Jan jwijffels at bnosac.be
Mon Nov 5 10:45:49 CET 2012


Hi Dave,

I'm working currently on Windows and I didn't get the error message. I'm
getting the following output shown below.
Maybe you changed something in the ffbatchbytes option?

> require(ff)
> myVec = ff(1:5) 
> another = ff(10:14) 
> littleFrame = ffdf(myVec, another) 
> posVec = ff(c(2, 4), vmode = 'integer') 
> ffdfindexget(littleFrame, posVec)
ffdf (all open) dim=c(2,2), dimorder=c(1,2) row.names=NULL
ffdf virtual mapping
        PhysicalName VirtualVmode PhysicalVmode  AsIs VirtualIsMatrix
PhysicalIsMatrix PhysicalElementNo PhysicalFirstCol PhysicalLastCol
PhysicalIsOpen
myVec          myVec      integer       integer FALSE           FALSE           
FALSE                 1                1               1           TRUE
another      another      integer       integer FALSE           FALSE           
FALSE                 2                1               1           TRUE
ffdf data
  myVec another
1     2      11
2     4      13
> sessionInfo()
R version 2.14.2 (2012-02-29)
Platform: i386-pc-mingw32/i386 (32-bit)

locale:
[1] LC_COLLATE=English_United Kingdom.1252  LC_CTYPE=English_United
Kingdom.1252    LC_MONETARY=English_United Kingdom.1252 LC_NUMERIC=C                           
LC_TIME=English_United Kingdom.1252    

attached base packages:
[1] tools     stats     graphics  grDevices utils     datasets  methods  
base     

other attached packages:
[1] ff_2.2-9  bit_1.1-9


Jan




--
View this message in context: http://r.789695.n4.nabble.com/ffdfindexget-from-package-ff-tp4648087p4648458.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list