Accéder au contenu principal

Articles

Sélection

Netcdf in R. Part 1: Installation in Linux debian based (ubuntu, linux mint)

Many scientific data (remoted sensed data, environmental, etc..) are distributed in NetCDF (nc format, .nc). In R, the most used package to process these data is ncdf4 but it requires some other LINUX packages to be installed correctly in R. The required packages are libnetcdf-dev, libnetcdfc++4, libnetcdfc7, libnetcdff5, libcf0, netcdf-bin These required packages can be installed using apt-get install, Synaptic or Software Manager. If they aren't installed you can have errors such if you try to install ndcf4 in R ERROR: configuration failed for package ‘ncdf4’  ncdf.c:3:20: fatal error: netcdf.h: No such file or directory  #include <netcdf.h>                     ^ compilation terminated. make: *** [ncdf.o] Error 1 ERROR: compilation failed for package ‘ncdf4’ After installing these requirements you can install now ncdf4 in R (install.packages('ncdf4') In the next post, I'll give some useful tips to explore ncdf files in R.    

Derniers articles

Revolution Analytics joins Microsoft: Microsoft prête à engager réellement le combat dans les "Big" Data Science?

Matlab, eval: Dynamic variable naming with eval/Création dynamique de variables

Windows change directory to no system drive (cd another drive) using cmd, command line, prompt

elsarticle: psyr at 12.0pt not loadable: Metric (TFM) file not found for Ubuntu, Mint using Kile

Matlab: plot, imagesc, graphical options don't work.

R  code  for listing directories/code R pour lister les repertoires

simple way to compute rmse root mean square error in R

plot two histograms together in R