[R] fft and wavenumber

2012-12-07 Thread sara martino
Hi I need to compute the fft of an image A with dimension (Nx,Ny) and are not sure on how to compute the wavenumber. I have done like that but i am not sure i am computing the wavenumber in the correct way..can someone help? sara image.plot(x,y,A) dx = diff(x)[1] dy = diff(y)[1]      ##

[R] Problem installing packages

2008-08-18 Thread sara martino
Hei there, I am trying to build a new R package and after running R CMD check and R CMD build I have now my pkg.tar.gz file. The problem is that if i try to install it using install.packages(pkg.tar.gz,repos=NULL) i get the error Warning in install.packages(pkg/INLA_1.0.tar.gz, repos = NULL) :

[R] create file with unique names

2008-08-11 Thread sara martino
Hei, is it possible to create from R a series of files with unique(random) names? I have tryed with file.create and dir.create but did not manage to do it. Thanks a lot for help Sara [[alternative HTML version deleted]] __ R-help@r-project.org