#26 R on Zenobe and NetCDF4

开启中
fmasson4 年之前创建 · 0 条评论

Hello @pbarriat @klein

There is a problem with the loading of NetCDF4 libraries for R on Zenobe:

fmasson@frontal3 15:12:46 ~ 28 > module purge
fmasson@frontal3 15:12:50 ~ 29 > module load R
fmasson@frontal3 15:12:52 ~ 30 > R

R version 3.5.1 (2018-07-02) -- "Feather Spray"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(ncdf4)
Error in library(ncdf4) : there is no package called ‘ncdf4’

Currently, the only way to overcome the problem is to copy the netcdf4 libraries on one's home

fmasson@frontal3 15:13:42 ~ 32 > cp -r ~klein/R ~/

fmasson@frontal3 15:13:42 ~ 32 > module purge
fmasson@frontal3 15:13:46 ~ 33 > module load R
fmasson@frontal3 15:13:49 ~ 34 > R

R version 3.5.1 (2018-07-02) -- "Feather Spray"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(ncdf4)
> quit()
Save workspace image? [y/n/c]: n

Is there a cleaner way to fix this?

François

Hello @pbarriat @klein There is a problem with the loading of NetCDF4 libraries for R on Zenobe: ``` fmasson@frontal3 15:12:46 ~ 28 > module purge fmasson@frontal3 15:12:50 ~ 29 > module load R fmasson@frontal3 15:12:52 ~ 30 > R R version 3.5.1 (2018-07-02) -- "Feather Spray" Copyright (C) 2018 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. Natural language support but running in an English locale R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(ncdf4) Error in library(ncdf4) : there is no package called ‘ncdf4’ ``` Currently, the only way to overcome the problem is to copy the netcdf4 libraries on one's home ``` fmasson@frontal3 15:13:42 ~ 32 > cp -r ~klein/R ~/ fmasson@frontal3 15:13:42 ~ 32 > module purge fmasson@frontal3 15:13:46 ~ 33 > module load R fmasson@frontal3 15:13:49 ~ 34 > R R version 3.5.1 (2018-07-02) -- "Feather Spray" Copyright (C) 2018 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. Natural language support but running in an English locale R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(ncdf4) > quit() Save workspace image? [y/n/c]: n ``` Is there a cleaner way to fix this? François
登录 并参与到对话中。
未选择里程碑
未指派成员
1 名参与者
正在加载...
取消
保存
这个人很懒,什么都没留下。