#26 R on Zenobe and NetCDF4

Öppen
öppnade 4 år sedan av fmasson · 0 kommentarer

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
Logga in för att delta i denna konversation.
Ingen Milsten
Ingen förvärvare
1 Deltagare
Laddar...
Avbryt
Spara
Det finns inget innehåll än.