noxma forum

noxma forum description


    Google Sheets R API

    Share

    Admin
    Admin

    จำนวนข้อความ : 33
    Join date : 09/12/2017

    Google Sheets R API

    ตั้งหัวข้อ by Admin on Mon Dec 11, 2017 7:06 pm

    Install googlesheets

    The released version is available on CRAN

    sudo su - -c "R -e \"install.packages('googlesheets', repos='http://cran.rstudio.com/')\""


    ****Fix problem******
    Dependency packages as installed
    1) curl ,need to as follow before to install
     $ sudo apt install libcurl4-openssl-dev


    2) httr

    3)readr

    ##error##
    * installing *source* package ‘readr’ ...
    ** package ‘readr’ successfully unpacked and MD5 sums checked
    ** libs
    g++ -I/usr/share/R/include -DNDEBUG -I"/usr/local/lib/R/site-library/Rcpp/include" -I"/usr/local/lib/R/site-library/BH/include" -fpic -g -O2 -fdebug-prefix-map=/build/r-base-pIzt6B/r-base-3.4.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c Collector.cpp -o Collector.o
    g++: internal compiler error: Killed (program cc1plus)
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.
    /usr/lib/R/etc/Makeconf:168: recipe for target 'Collector.o' failed
    make: *** [Collector.o] Error 4
    ERROR: compilation failed for package ‘readr’
    * removing ‘/home/ubuntu/R/x86_64-pc-linux-gnu-library/3.4/readr’

    The downloaded source packages are in
    ‘/tmp/RtmpeAdn3W/downloaded_packages’




      เวลาขณะนี้ Fri Oct 19, 2018 4:49 am