is this a bug?
--8<---------------cut here---------------start------------->8---
> head(1:10,-3)
[1] 1 2 3 4 5 6 7
> head(data.frame(a=1:5,b=5:9),-2)
  a b
1 1 5
2 2 6
3 3 7
> head(data.table(a=1:5,b=5:9),-2)
Error in seq_len(min(n, nrow(x))) : 
  argument must be coercible to non-negative integer
Calls: head -> head.data.table
--8<---------------cut here---------------end--------------->8---

-- 
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.10 (quantal) X 11.0.11300000
http://www.childpsy.net/ http://camera.org http://openvotingconsortium.org
http://truepeace.org http://pmw.org.il http://palestinefacts.org
Children fear dentists because of pain, adults - because of bills.
_______________________________________________
datatable-help mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help

Reply via email to