我的操作系统是debian6,编译安装R后有一个libR.pc
root@debian:/home/tiger# cat /home/tiger/R-2.15.1/lib/pkgconfig/libR.pc
rhome=/home/tiger/R-2.15.1/lib/R
rlibdir=${rhome}/lib
rincludedir=/home/tiger/R-2.15.1/lib/R/include
Name: libR
Description: R as a library
Version: 2.15.1
Libs: -L${rlibdir} -lR
Cflags: -I${rincludedir} -I${rincludedir}
Libs.private:
在 /etc/profile 中设置 R 环境时:
R_HOME= /home/tiger/R-2.15.1
或
R_HOME= /home/tiger/R-2.15.1/lib/R
我将选择在 /etc/ 中写入哪一行轮廓?