Displaying 2 results from an estimated 2 matches for "full_cm_shared_lib_path".
2017 Nov 23
5
libPaths displays truncated path?
...itional packages, I have the following in
the site-wide Rprofile
v <- R.Version()
base_path = "/cm/shared/apps/R/site-library/"
major_minor_version = paste(v["major"],v["minor"],sep=".")
cm_shared_lib_path = paste0(base_path,major_minor_version)
full_cm_shared_lib_path <- c(file.path(chartr("\\", "/", R.home()), "site-library"), cm_shared_lib_path)
.libPaths( c( .libPaths(), full_cm_shared_lib_path ) )
Thus, when I start R I get this:
> full_cm_shared_lib_path
[1] "/usr/lib64/R/site-library"
[2] &...
2017 Nov 23
0
libPaths displays truncated path?
...ollowing in
> the site-wide Rprofile
>
> v <- R.Version()
> base_path = "/cm/shared/apps/R/site-library/"
> major_minor_version = paste(v["major"],v["minor"],sep=".")
> cm_shared_lib_path = paste0(base_path,major_minor_version)
> full_cm_shared_lib_path <- c(file.path(chartr("\\", "/", R.home()), "site-library"), cm_shared_lib_path)
> .libPaths( c( .libPaths(), full_cm_shared_lib_path ) )
>
> Thus, when I start R I get this:
>
>> full_cm_shared_lib_path
> [1] "/usr/lib64/R/site-library...