Removing empty branch.

git-svn-id: svn+ssh://svn.r-forge.r-project.org/svnroot/datatable@41 edb9625f-4e0d-4859-8d74-9fd3b1da38cb
Added branch2

git-svn-id: svn+ssh://svn.r-forge.r-project.org/svnroot/datatable@42 edb9625f-4e0d-4859-8d74-9fd3b1da38cb
Adding /R to branch2

git-svn-id: svn+ssh://svn.r-forge.r-project.org/svnroot/datatable@43 edb9625f-4e0d-4859-8d74-9fd3b1da38cb
Added remaining files to branch2

git-svn-id: svn+ssh://svn.r-forge.r-project.org/svnroot/datatable@44 edb9625f-4e0d-4859-8d74-9fd3b1da38cb
Fixed regex bug in [.data.table related to dots in names in the by argument. Included two tests in test.data.table. Data table names are still a bit mixed up.

Added an internal version of unlist that will function as a faster c.factor with sorted factors for use in the simplify step and rbind.data.table. 

git-svn-id: svn+ssh://svn.r-forge.r-project.org/svnroot/datatable@45 edb9625f-4e0d-4859-8d74-9fd3b1da38cb
Now pre-allocating result table for 'by' and dogroups populates it.
Avoids an intermediate list of results (which would have many small objects on the heap) so less memory required,  and avoids the need to unlist that list (faster).
Usual silent vector recycling within groups is implemented in a fast way inside dogroups (so j can be list() always and no need for j=DT() to do recylcling which slowed things down).

test.data.table not yet working as some more work to do: coerce single name j to list first, put colnames on ans, and get incbycols working.

git-svn-id: svn+ssh://svn.r-forge.r-project.org/svnroot/datatable@46 edb9625f-4e0d-4859-8d74-9fd3b1da38cb
Deleting *~ files from branch (mistakenly included).

git-svn-id: svn+ssh://svn.r-forge.r-project.org/svnroot/datatable@47 edb9625f-4e0d-4859-8d74-9fd3b1da38cb
* Fixed a few more issues with check.names and column names in both data.table and [.data.table. I'm still not sure everything's right. Added a few tests related to column names.

* Changed as.data.frame.data.table to remove the sorted attribute.


git-svn-id: svn+ssh://svn.r-forge.r-project.org/svnroot/datatable@48 edb9625f-4e0d-4859-8d74-9fd3b1da38cb
by cols included in result again now.
j single name and single expressions auto wrapped with list
DT auto replaced with list for backwards compatibility
interim commit.  test.data.table not yet fully working.

git-svn-id: svn+ssh://svn.r-forge.r-project.org/svnroot/datatable@49 edb9625f-4e0d-4859-8d74-9fd3b1da38cb
Work around made in fastorder to account for factor levels with NA's. The problem was due to na.last == NA and a bug in sort.list. Added a test to reflect this.

git-svn-id: svn+ssh://svn.r-forge.r-project.org/svnroot/datatable@50 edb9625f-4e0d-4859-8d74-9fd3b1da38cb
Interim commit.  Working up to test 86, failing due to column name not flowing through.

git-svn-id: svn+ssh://svn.r-forge.r-project.org/svnroot/datatable@51 edb9625f-4e0d-4859-8d74-9fd3b1da38cb
Fixed example: DT[J("B")] should have been DT[J("b")].
Thanks to notification from Rob Forler.

git-svn-id: svn+ssh://svn.r-forge.r-project.org/svnroot/datatable@52 edb9625f-4e0d-4859-8d74-9fd3b1da38cb
Simplify argument removed.
test.data.table now working again (various fixes).
Housekeeping complete - 4 spaces, no tabs.

git-svn-id: svn+ssh://svn.r-forge.r-project.org/svnroot/datatable@53 edb9625f-4e0d-4859-8d74-9fd3b1da38cb
In rbind.data.table, change unlist(lapply( back to do.call("c", lapply(.

git-svn-id: svn+ssh://svn.r-forge.r-project.org/svnroot/datatable@54 edb9625f-4e0d-4859-8d74-9fd3b1da38cb
First try at making a c.factor that uses the code from unlist.

git-svn-id: svn+ssh://svn.r-forge.r-project.org/svnroot/datatable@55 edb9625f-4e0d-4859-8d74-9fd3b1da38cb
Fix-ups of change from change unlist(lapply( back to do.call("c", lapply(. Added 2 tests to make sure grouping and rbinding keep classes. Added a faster version of c.factor using code from unlist.

git-svn-id: svn+ssh://svn.r-forge.r-project.org/svnroot/datatable@56 edb9625f-4e0d-4859-8d74-9fd3b1da38cb
Added tests from mainline SVN

git-svn-id: svn+ssh://svn.r-forge.r-project.org/svnroot/datatable@57 edb9625f-4e0d-4859-8d74-9fd3b1da38cb
Added a test with a classed integer (modified Date) in by.

git-svn-id: svn+ssh://svn.r-forge.r-project.org/svnroot/datatable@58 edb9625f-4e0d-4859-8d74-9fd3b1da38cb
First stab at vignette.  Incomplete.

git-svn-id: svn+ssh://svn.r-forge.r-project.org/svnroot/datatable@59 edb9625f-4e0d-4859-8d74-9fd3b1da38cb
Work in progress.

git-svn-id: svn+ssh://svn.r-forge.r-project.org/svnroot/datatable@60 edb9625f-4e0d-4859-8d74-9fd3b1da38cb