You are viewing a single comment's thread from:

RE: R programming for quantitative investment: part 1 - fetch market data from web

in #cryptocurrency7 years ago

When running this code:

R> top_100_mcap <- arrange(.data = tbl_clean, desc(mcap))[1:100, ]

I got this error:

Error in arrange(.data = tpl_clean, desc(mcap)) : 
  could not find function "arrange"

Am I missing a package?

Sort:  

When I tried it in Rstudio it worked. Not sure why it did not in R console.

arrange() is a function in dplyr package. Install the package by running install.packages("dplyr").

Coin Marketplace

STEEM 0.20
TRX 0.12
JST 0.028
BTC 64252.58
ETH 3495.24
USDT 1.00
SBD 2.50