<div dir="ltr">Look what happens when I execute the example. Any idea why I am getting the error.<div><br></div><div><div>> DT <- data.table(A = rep(1:3, each=4), B = rep(1:4, each=3), C = rep(1:2, 6), key = "A,B")</div><div>> duplicated(DT)</div><div> [1] FALSE TRUE TRUE FALSE FALSE TRUE FALSE TRUE FALSE FALSE TRUE TRUE</div><div>> unique(DT)</div><div>Error in .Call("Cwhichwrapper", x, bool) : </div><div> "Cwhichwrapper" not resolved from current namespace (data.table)</div><div><br></div><div>Here is my session info</div><div><br></div><div>Running from within RStudio Version 0.99.179</div><div><br></div><div><div>R version 3.1.2 (2014-10-31)</div><div>Platform: x86_64-w64-mingw32/x64 (64-bit)</div><div><br></div><div>locale:</div><div>[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 </div><div>[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C </div><div>[5] LC_TIME=English_United States.1252 </div><div><br></div><div>attached base packages:</div><div>[1] stats graphics grDevices utils datasets methods base </div><div><br></div><div>other attached packages:</div><div> [1] knitr_1.9 zoo_1.7-11 RGoogleDocs_0.7-0 reshape2_1.4.1 </div><div> [5] ggplot2_1.0.0 stringi_0.4-1 stringr_0.6.2 car_2.0-22 </div><div> [9] plyr_1.8.1 data.table_1.9.5 lubridate_1.3.3 RODBC_1.3-10 </div><div><br></div><div>loaded via a namespace (and not attached):</div><div> [1] bitops_1.0-6 chron_2.3-45 colorspace_1.2-4 digest_0.6.8 </div><div> [5] evaluate_0.5.5 formatR_1.0 grid_3.1.2 gtable_0.1.2 </div><div> [9] lattice_0.20-29 MASS_7.3-35 memoise_0.2.1 munsell_0.4.2 </div><div>[13] nnet_7.3-8 proto_0.3-10 Rcpp_0.11.4 RCurl_1.95-4.5 </div><div>[17] scales_0.2.4 tools_3.1.2 XML_3.98-1.1 </div></div><div><br></div><div><br></div><div><div class="gmail_signature">Thanks a lot. Farrel</div><div class="gmail_signature"><br></div><div class="gmail_signature"><br></div><div class="gmail_signature">Farrel J. Buchinsky MBChB, BSc(HONS)MED, FACS</div></div><div class="gmail_signature">(412) 567-7870 [mobile, work, home]</div><div class="gmail_signature">Director, Pediatric Otolaryngology: Allegheny General Hospital</div><div class="gmail_signature">Director, Respiratory Papillomatosis Program: Allegheny-Singer Research Institute</div><div class="gmail_signature">320 E. North Ave.</div><div class="gmail_signature">Pittsburgh, PA 15212 </div>
</div></div>