Entering edit mode
5.4 years ago
xiaoguang
▴
160
When I install R package "sf", I always meet this error:
configure: error: proj_api.h not found in standard or given locations."
Actually, I have "proj_api.h" in my miniconda3 includ dir and "proj_api.so"in lib dir, but it continue give me an error?
I do not know if it helps in your case but explicitely setting the following three paths in
~/.bashrc
helped me getting rid of these kinds of errors:Thank you very much, I know what's wrong with me. I have not installed proj.4.