#26 R on Zenobe and NetCDF4

Mở
%! (template.HTML=4 năm trước cách đây)đang mở bởi fmasson · 0 ý kiến

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
Đăng nhập để tham gia bình luận.
Không có Milestone
Không có người được phân công
1 tham gia
Đang tải...
Hủy bỏ
Lưu
Ở đây vẫn chưa có nội dung nào.