#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명
로딩중...
취소
저장
아직 콘텐츠가 없습니다.