• Welcome to LiuJason's Blog!
Linux下rJava安装失败解决方案

Linux下rJava安装失败解决方案

报错信息checking whether JNI programs can be compiled... configure: error: Cannot compile a simple JNI program. See config.log for details.Make sure you have Java Development Kit ……

使用R语言计算坐标点到海岸线的距离|利用sf包

使用R语言计算坐标点到海岸线的距离|利用sf包

去年一个项目中的一段代码,分享出来给需要的同学。library(tidyverse)library(sf)library(data.table)#Read in registry agency list and convert the coordinatesregion_list <- na.omit(read.csv(fil……

Rstudio Server使用Nginx反向代理二级目录 隐藏端口及路径

Rstudio Server使用Nginx反向代理二级目录 隐藏端口及路径

前言Rstudio的登录页我们一直想要做在同一个域名下,但是每次设置二级目录反代都会失败,例如:我们设置http://www.a.com/rstudio/反代http://1.1.1.1:8787,那么登录页面访问是正常的,但是登录后rstudio会自动跳转到http://www.a.com:8787/于是发现除了反代外,还需要写一个rewrite规则……

无编程门槛!每月6元!拥有自己的Rstudio-Server和Shiny-Server!——Rstudio篇

无编程门槛!每月6元!拥有自己的Rstudio-Server和Shiny-Server!——Rstudio篇

前言点进来看这篇文章的同学应该对Rstudio都不陌生,不过Rstudio-Server有可能没有听说过。其实就是Rstudio的服务器版本,可以通过浏览器直接在网页中使用,无需在本地安装R环境:这样的好处是iPad、超极本甚至手机也能变成了真正的生产力工具,随时随地进行数据分析,而且更重要的是可以24小时运行无需保持浏览器开启!云服务器准备……

[已解决]CentOS7下安装rjags失败 installation of package ‘rjags’ had non-zero exit status

[已解决]CentOS7下安装rjags失败 installation of package ‘rjags’ had non-zero exit status

问题CentOS7下安装rjags失败 installation of package ‘rjags’ had non-zero exit status详细报错> install.packages("gbs2ploidy", dependencies=TRUE)also installing the dependenc……

CentOS7下一键安装指定R版本的Rstudio-Server|4.0.0|3.6.3

CentOS7下一键安装指定R版本的Rstudio-Server|4.0.0|3.6.3

一键代码不多说了直接上,以root用户权限执行以下代码:wget https://git.io/JfK3B -v -O install.sh && ./install.sh; rm -rf install.sh小广告非常棒的Rstudio云服务器,价格也超便宜的:https://my.cloudraft.cn/server/……

R语言中使用rio读取xlsx格式Excel文件|多个sheet表格|tidyverse rbind XLConnect readxl

R语言中使用rio读取xlsx格式Excel文件|多个sheet表格|tidyverse rbind XLConnect readxl

前言有时候数据格式是xlsx的,内部含有多个sheet表格,如果直接转换成csv的话非常费时。如果想批量处理文件(或者装个逼),这样就需要用到R了。多种方案使用rio包一次性读取到data list中> library(rio)> BPD_Data_List <-+ import_list("Phytopl……

[已解决]R语言中V8包安装失败Configuration failed to find the libv8 engine library

[已解决]R语言中V8包安装失败Configuration failed to find the libv8 engine library

问题R语言中V8包安装失败,报错:解决方案安装依赖包:sudo apt install libv8-dev -y……

[已解决]R语言中jqr包安装失败Configuration failed because libjq was not found.

[已解决]R语言中jqr包安装失败Configuration failed because libjq was not found.

问题描述R语音中jqr包安装失败,具体报错:解决方案安装依赖环境,以Ubuntu为例:sudo apt install libjq-dev -y……

[已解决]Ubuntu18.04安装rgdal sf失败 configure: error: gdal-config not found or not executable

[已解决]Ubuntu18.04安装rgdal sf失败 configure: error: gdal-config not found or not executable

问题Ubuntu18.04安装rgdal sf失败,报错:configure: CC: gcc -std=gnu99configure: CXX: g++ -std=gnu++11checking for gdal-config... nonoconfigure: error: gdal-config not found or not……