How to install sf r package in linux mint v 19.1 64 bit

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to install sf r package in linux mint v 19.1 64 bit

Yuster Ronoh
I am not making head way on installing sf package  on R vs 3.4.4

and this is the error I am getting:

configure error: libroj not found in standard or given locations

Error: configuration failed for package ’sf’

  * removing ‘/home/feltp/R/x86_64-pc-linux-library/3.4.sf’

Warning in install.packages :

       installation of ’sf’ had non-zero exit status


The downloaded source packages are in

        ‘/tmp/RtmpSyJk3r/downloaded_packages”
Regards.

*Yuster Ronoh* | County Epidemiologists | *Nakuru County Health
Department *| Club
Road, Regional Commissioner HQs, Block 'B' 2nd Floor

P.O. Box 2060 - 20100 * Nakuru*| Mobile +254724305899/ +254733573770 |
Skype: yronoh

        [[alternative HTML version deleted]]

_______________________________________________
R-sig-Geo mailing list
[hidden email]
https://stat.ethz.ch/mailman/listinfo/r-sig-geo
Reply | Threaded
Open this post in threaded view
|

Re: How to install sf r package in linux mint v 19.1 64 bit

chris english-2
Yuster,

Perhaps you don't have libproj-dev installed, though you probably do, but
if not:

sudo apt-get install libproj-dev

then help your system tell where things are located with:

export LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib

these advice from:

https://gis.stackexchange.com/questions/157059/repairing-broken-gdal-and-proj-4-on-ubuntu

HTH,

Chris

ug 2, 2018 at 4:53 AM, Yuster Ronoh <[hidden email]> wrote:

> I am not making head way on installing sf package  on R vs 3.4.4
>
> and this is the error I am getting:
>
> configure error: libroj not found in standard or given locations
>
> Error: configuration failed for package ’sf’
>
>   * removing ‘/home/feltp/R/x86_64-pc-linux-library/3.4.sf’
>
> Warning in install.packages :
>
>        installation of ’sf’ had non-zero exit status
>
>
> The downloaded source packages are in
>
>         ‘/tmp/RtmpSyJk3r/downloaded_packages”
> Regards.
>
> *Yuster Ronoh* | County Epidemiologists | *Nakuru County Health
> Department *| Club
> Road, Regional Commissioner HQs, Block 'B' 2nd Floor
>
> P.O. Box 2060 - 20100 * Nakuru*| Mobile +254724305899/ +254733573770 |
> Skype: yronoh
>
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> [hidden email]
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>

        [[alternative HTML version deleted]]

_______________________________________________
R-sig-Geo mailing list
[hidden email]
https://stat.ethz.ch/mailman/listinfo/r-sig-geo