search for: akima

Displaying 20 results from an estimated 183 matches for "akima".

2009 Nov 20
1
AKIMA: z values at a set coordinate
Dear all. I am using the akima function to produce 3d contour plots using interp based on irregular data. using the eg in the akima manual library("akima") data(akima) plot(y ~ x, data = akima, main = "akima example data") with(akima, text(x, y, formatC(z,dig=2), adj = -0.1)) ## linear interpolation akima.l...
2006 Feb 01
1
akima 0.4-5, interpp() bug = COMMON block problem
Hi, I'm currently hunting a bug in the akima library, especially in the code behind the interpp.old function (bi-variate linear interpolation). It is based on a triangulation algorithm, interpolation at a given point needs to know the triangle which contains this point, then the interpolation is a straightforward calculation based on the thre...
2010 Jan 26
1
sp package coordinates and gridded problems with as.list()
Dear All I hope that someone can help. I am working with sp pakage and akima library("akima") library(sp) imagine lots of different dataframes, of row = 100 columns = 3 of x and y coordinates with z values I will call these data frames for the sake of this example akima akima<-as.list(1:100) producing 100 dataframes dataframes of the form akima[[i]] I th...
2000 Apr 17
2
akima core dumps on loading (PR#521)
Full_Name: Massimo santini Version: 1.0.1 OS: Linux Submission from: (NULL) (159.149.147.89) I've just dl the .rpm of R 1.0.1, installed it and then launched insatll.packages("akima") after re-launching R [--vanilla], the command library(akima) has the only effect to coredump the program. Here is the output of gdb and strace... --- GDB (commands given can be seen from the except) $ R -d gdb GNU gdb 19991004 Copyright 1998 Free Software Foundation, Inc. GDB is free s...
2023 Jan 26
1
akima interp results to zero with less than 10 values
The akima package has a problematic license (it doesn't allow commercial use), so it's been recommended that people use the interp package instead. When I use interp::interp instead of akima::interp, I get reasonable output from your example. So that's another reason to drop akima... Duncan...
2023 Jan 26
1
akima interp results to zero with less than 10 values
...s table > dput(mat) mat <- structure(c(2, 16, 9, 2, 16, 1, 1, 4, 7, 7, 44.52, 42.8, 43.54, 40.26, 40.09), dim = c(5L, 3L)) And I want to calculate result for contour or image plots as I did few years ago. However interp does not compute the z values and gives me zeros in z matrix. library(akima) > interp(mat[,1], mat[,2], mat[, 3], nx=5, ny=5) $x [1] 2.0 5.5 9.0 12.5 16.0 $y [1] 1.0 2.5 4.0 5.5 7.0 $z [,1] [,2] [,3] [,4] [,5] [1,] 0 0 0 0 0 [2,] 0 0 0 0 0 [3,] 0 0 0 0 0 [4,] 0 0 0 0 0 [5,] 0 0 0 0 0...
2008 Jul 09
1
Help with installing add-on packages
...nding (e.g. RColorBrewer) managed to get through the installation process. What happened between the versions 2.6.x and 2.7.x to impede the installation of add-on packages that previously went smooth? Thank you for your suggestions and best regards. Miha Example: > install.packages("akima",repos="http://cran.r-project.org",depend=T) * Installing to library '/usr/lib/R/library' * Installing *source* package 'akima' ... ** libs gfortran -m32 -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32...
2008 Sep 18
2
Problem installing packages in newer versions of R
...I set to make my default library location (for html links as well) /usr/lib/R/library and default R location /usr/lib/R? Are these two problems connected or the are not? I have even built the rpm from src.rpm myself but with no change. Below you may find the (error) output from installing the akima package. It might give a clue. Thanks for your help. Miha ----------------- > install.packages("akima",repos="http://cran.r-project.org",depend=T) Warning in install.packages("akima", repos = "http://cran.r-project.org", : argument 'lib' is m...
2000 May 04
2
acepack, akima and tripack will not load (PR#533)
...ibs/acepack.so: undefined symbol: e_wsfe >library(tripack) Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library "/usr/lib/R/library/tripack/libs/tripack.so": /usr/lib/R/library/tripack/libs/tripack.so: undefined symbol: e_wsfe >library(akima) Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library "/usr/lib/R/library/akima/libs/akima.so": /usr/lib/R/library/akima/libs/akima.so: undefined symbol: e_wsfe -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-...
2004 Oct 28
1
akima error
I am trying to load the GRASS library and am getting the following error: > library(GRASS) Loading required package: akima Error: package 'akima' could not be loaded In addition: Warning message: There is no package called 'akima' in: library(pkg, character.only = TRUE, logical = TRUE, lib.loc = lib.loc) This is on R 2.0.0, library(GRASS) is installed, and update.packages() has been run. Thanks Kir...
2007 Aug 28
2
R Help
...ages 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(foreign) > library(mgcv) This is mgcv 1.3-19 > library(locfit) Loading required package: akima Error: package 'akima' could not be loaded In addition: Warning message: there is no package called 'akima' in: library(pkg, character.only = TRUE, logical = TRUE, lib.loc = lib.loc) > ------------------------------------------------------------------------------ This e-mail a...
2007 Jun 07
0
Using Akima with nearly-gridded data
I am using the Akima interpolation package to generate an interpolated color contour plot. It is working very well, except for one problem. The data that I have represents real-time readings from a thermistor string vs. time, so the data points are often very nearly in a rectangular array, since the thermistors a...
2010 Nov 03
3
R package BibTex entries: looking for a more general solution
...is not found. The more difficult case has to do with the Author: field in the DESCRIPTION file (when no CITATION file is present) People can write whatever they want here, and the result looks sort of OK when printed by citation(), but confuses BibTeX mightly. One example: > citation("akima") To cite package ?akima? in publications use: Fortran code by H. Akima R port by Albrecht Gebhardt aspline function by Thomas Petzoldt <petzoldt at rcs.urz.tu-dresden.de> enhancements and corrections by Martin Maechler (2009). akima: Interpolation of irregularly spaced data. R package...
2006 Feb 13
2
Package compiling problem in Linux
Hi, I am trying to install packages in R-2.2.1 on a Redhat WS4 system. I get the following error messages trying to install, for example, the akima package: > R.version.string [1] "R version 2.2.1, 2005-12-20" > install.packages("akima", lib="/usr/lib/R/library", repos = "http://cran.fhcrc.org/") . . . gcc -shared -L/usr/local/lib -o akima.so akima433.o akima697.o akima.new.o idbvip.o idcldp.o idg...
2005 Oct 03
2
interpolation using akima (PR#8174)
Full_Name: Jonathan Lees Version: 2.0.1 OS: linux-gnu Submission from: (NULL) (152.2.75.65) there is a problem with calculating the convex hull in 2-D interpolation using the codes interp fromt eh akima package: x =c(0.6505304, -1.1821562, -0.2600792, 0.7913716) y = c(1.0424226, 0.1754048, -1.4523334, 0.2349112) z = c(0.000, 3.042, 0.370, 0.122) EX = seq(from=min(x), to=max(x), length=100) WHY = seq(from=min(y), to=max(y), length=100) ZZ = interp(x=x, y=y, z=z, xo=EX, yo=WHY, extra...
2003 Aug 01
1
install.packages (newbie?) error
I recently installed R 1.7.1 on Mac OS 10.2.6, and I now need to install the akima package. When I use install.packages(akima) or any variation of that command, I get the following message: Error: couldn't find function "install.packages" (I haven't had any problems with other commands so far, so I don't think there's a problem with the R installatio...
2016 Apr 27
1
AKIMA or translating to FORTRAN a R function calling a FORTRAN routine
Hi, I am hired to translate into FORTRAN R functions. It works great and my customer is happy. I am going to translate a function that call aspline in the library AKIMA. This function call 2 FORTRAN routines that must be include (I guess) in the package AKIMA. And I have some questions. Is the fortran code really included in the R package AKIMA ? In other word, do I have a mean to call these 2 routines from a FORTRAN routine compiled in a DLL ? And if I can, am...
2003 Jan 20
2
Fortran linking problems
In a box running Mandrake 9 with R 1.6.2 I get problems when trying to install packages Matrix and Akima. It seems my gcc compiler and fortran do not talk to each other. Thanks in advance for any help, Gelu The errors are: * Installing *source* package 'Matrix' ... checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking w...
2008 May 29
1
akima interpolation and triangulation question
Dear all; First of all, this is probably a more conceptual question than a R-related one, but still want to give it a try. When working with the interpolation function "interp" from the package akima and the triangulation function "tri.mesh" from package tripack I've got NA's for the interpolation and "error" for the triangulation. The data is arranged in a regular grid as opposed to what the help page for interp says but I think this is an interesting problem becaus...
2011 Mar 18
1
akima::interp "scales of x and y are too dissimilar"
...hall be determined by M$PR. Some words on my data first. Dataframe M looks like: head(M$Irradiance) [1] 293 350 412 419 477 509 head(M$AM) [1] 2.407 2.161 1.964 1.805 1.673 1.563 head(M$PR) [1] 70.102 72.600 75.097 80.167 79.644 82.633 To create a grid, I used "interp" from the "akima" package up until now. As mentioned in the header, I run into problems when trying the following: grid <- akima::interp(M$AM,M$Irradiance,M$PR, duplicate="mean"); Error in interp.old(x, y, z, xo = xo, yo = yo, ncp = 0, extrap = extrap, : scales of x and y are too dissimilar M...