r - Returning a data table from a subsetted data table -


OK I'm totally testing no-stupid question the extent of the philosophy but How can I set someone directly to me that how are the columns of a data table basalized in any other data table?

So we say that I create this data table below, and only me out of three columns for example (C ("Bob", "May", "Sue", "Bob" , "Suit", "bob"), c (

  example "a", "a", "a", "a", "b", "b"), as .Date (c ("2010/01/01", "2010/01/01", "2010 / 01/01", "2012/01/01", "2012/01/11", "2014/01 / 01 ")))   

I am trying to understand what is in data-wise () in Section 1.3 and 1.4 that what should be my result should be a new data table, not a character Vector According to the DT [. Is accomplished through the use of ()], although my efforts on that yield:

  example [,. Error in eval (v2, v3)] Expr, envir, enclos): The function "could not be found". I think, I think there is a problem like some version, but I got the latest version of R and this question was updated a week ago. > 

With curiosity and on one side, anyone knows that the default result of a data table sub-setting is anything other than the other data table? I am new to R (obviously), but for the programming boy, it sounds terrible as if you are coming out of your way just to be frustrated.

You have installed and then the most recent version of data.table Package?

  install.packages ('data.table') is required (Data Eligible) Example & lt; - data.table (c ("Bob", "May", "Sue", "Bob" ("A", "A", "A", "A", "B", "B"), as Date (c "(01/01/2010", "2010/01/01", "2010/01/01", "2012/01/01", "2012/01/11", "2014/01/01 "))) Example [.] (V2, V3)] # V2V3 # 1: A, 2010-01-01 # 2: A, 2010-01-01 # 3: A, 2010-01-01 # 4 : A 2012-01-01 # 5: B 2012-01 -11 # 6: B 2014-01-01   

I'm updated with the recent one from Crane, so I think Look at Arun's comment that you may have an older version of the table.

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -