r - Unable to install 'rstats-db/bigrquery' from ipython notebook -
i'm trying query google big query r ipython notebook. i'm following post here:
it breaks when run line:
devtools::install_github("rstats-db/bigrquery", force = true)
the full error message isn't clear me, i'll paste below. when run interactive r environment this:
sh: /usr/bin/gnutar: no such file or directory sh: /usr/bin/gnutar: no such file or directory installation failed: error in running command trying url 'https://cran.rstudio.com/src/contrib/readr_1.1.1.tar.gz' content type 'application/x-gzip' length 233793 bytes (228 kb) ================================================== downloaded 228 kb
it seems unable unpack files.
i've tried installing gnutar brew, error still occurs.
how can passed error?
full error message:
installing package ‘/users/user/library/r/3.3/library’ (as ‘lib’ unspecified) downloading github repo rstats-db/bigrquery@master url https://api.github.com/repos/rstats-db/bigrquery/zipball/master installing bigrquery warning message in utils::untar(src, exdir = target, compressed = "gzip"): “‘/usr/bin/gnutar -xf '/var/folders/bx/t0zshghn4d97zrt6qfplsx0ngq83z6/t//rtmpvucfss/assertthat_0.2.0.tar.gz' -c '/var/folders/bx/t0zshghn4d97zrt6qfplsx0ngq83z6/t//rtmpvucfss/devtoolsb8f71357947'’ returned error code 127”installation failed: error in running command warning message in utils::untar(src, exdir = target, compressed = "gzip"): “‘/usr/bin/gnutar -xf '/var/folders/bx/t0zshghn4d97zrt6qfplsx0ngq83z6/t//rtmpvucfss/dbi_0.7.tar.gz' -c '/var/folders/bx/t0zshghn4d97zrt6qfplsx0ngq83z6/t//rtmpvucfss/devtoolsb8f4d592385'’ returned error code 127”installation failed: error in running command warning message in utils::untar(src, exdir = target, compressed = "gzip"): “‘/usr/bin/gnutar -xf '/var/folders/bx/t0zshghn4d97zrt6qfplsx0ngq83z6/t//rtmpvucfss/jsonlite_1.5.tar.gz' -c '/var/folders/bx/t0zshghn4d97zrt6qfplsx0ngq83z6/t//rtmpvucfss/devtoolsb8f40b600f1'’ returned error code 127”installation failed: error in running command warning message in utils::untar(src, exdir = target, compressed = "gzip"): “‘/usr/bin/gnutar -xf '/var/folders/bx/t0zshghn4d97zrt6qfplsx0ngq83z6/t//rtmpvucfss/readr_1.1.1.tar.gz' -c '/var/folders/bx/t0zshghn4d97zrt6qfplsx0ngq83z6/t//rtmpvucfss/devtoolsb8f2bae1fe6'’ returned error code 127”installation failed: error in running command '/applications/anaconda/lib/r/bin/r' --no-site-file --no-environ --no-save \ --no-restore --quiet cmd install \ '/private/var/folders/bx/t0zshghn4d97zrt6qfplsx0ngq83z6/t/rtmpvucfss/devtoolsb8f2945f879/rstats-db-bigrquery-ad77f0e' \ --library='/users/nickk/library/r/3.3/library' --install-tests reloading installed bigrquery
from traceback it's hard tell happened. try using official release instead of development one.
try using command instead:
install.packages("bigrquery")
as can see in official release, support uselegacysql
has been implemented.
Comments
Post a Comment