I have a data table called td and it contains 14k obs and 5k variables. When I run the command


I also get the whole data table as output in my console, which floods my console. Any ideas how to fix it ? (It might also be a setting in R, but I am not aware of it.

  • $\begingroup$ I fixed it by updating my R version ! $\endgroup$
    – quant
    Oct 17, 2016 at 10:26

1 Answer 1


R by default returns the updated dataframe to console.You can assign it to variable by avoiding it.

td <- td[,fv_mc2:=1]

By this way you can avoid the console of 14k data.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.