[R] Problem in installing ncdf package

2010-03-16 Thread BabyL BabyK
Dear R communities Could you please help me with the problem I encounter while trying to install the ncdf package? download.packages("ncdf", "/home/user/soft/R/library/") cd /home/user/soft/R/library R CMD INSTALL ncdf_1.6.tar.gz # fail sudo R CMD INSTALL ncdf_1.6.tar.gz # fail cd /home/user/s

[R] How to change color the default in levelplot() ?

2009-11-08 Thread BabyL BabyK
Dear R communities May I seek your advices on how to change color the default in levelplot(), e.g. from the default of pink and light blue, to e.g. red and green ? The levelplot function has 1 of the arguments being panel (which is actually panel.levelplot), but I am not sure where the commands