[R] fftImg() error: fftw_access_func
Eric Handler
ehandler at macalester.edu
Wed Mar 30 16:45:52 CEST 2016
Took me a few days to get a reply from the student. The code he is running is:
library(ripa)
img<-readJPEG( "arthurs-seat.jpg" )
hist(fftImg(img))
I see the same error as the student on many systems. When I run
require(ripa) on the machine I mentioned before:
> require('ripa')
Loading required package: ripa
Loading required package: tcltk
Loading required package: parallel
>img<-readJPEG( "arthurs-seat.jpg" )
>hist(fftImg(img))
Error in .C("fftw_access_func", as.complex(img), as.integer(w),
as.integer(h), :
"fftw_access_func" not available for .C() for package "ripa"
If I should take the conversation off of r-help as I loop in the
package maintainer, please let me know.
Thanks,
Eric
--
Eric Handler
Academic Information Associate - Science Division
Macalester College - Saint Paul, MN
Olin-Rice 124
Office: 651-696-6016
View my calendar: http://goo.gl/SbxLOu
On Sat, Mar 26, 2016 at 2:23 PM, David Winsemius <dwinsemius at comcast.net> wrote:
>
>> On Mar 26, 2016, at 8:42 AM, Shelby Leonard via R-help <r-help at r-project.org> wrote:
>>
>> So do i need to resend the email to someone else? sorry i am just confused
>
> Perhaps.
>
> The code needed to find the maintainer is at the end of this scrape of a console "dialog" and scroll to the bottom if you want the proper address for reporting problems with package:ripa,
>
> .... but _first_ you should be checking to see if you have all the system dependencies:
>
>
>> require(ripa)
> Loading required package: ripa
> Loading required package: tcltk
> Loading required package: parallel
>
> Attaching package: ‘ripa’
>
> The following object is masked from ‘package:rms’:
>
> contrast
>
> The following object is masked from ‘package:Hmisc’:
>
> zoom
>
>> packageDescription("ripa")
> Package: ripa
> Version: 2.0-2
> Date: 2014-05-29
> Title: R Image Processing and Analysis
> Authors at R: c(person("Talita", "Perciano", role = c("aut", "cre"),
> email = "talitaperciano at gmail.com"), person("Alejandro", "C
> Frery", role = "ctb", email = "acfrery at pq.cnpq.br"))
> Maintainer: Talita Perciano <talitaperciano at gmail.com>
> Depends: R (>= 2.8.1), tcltk, parallel
> Suggests: e1071, rggobi, reshape, methods, jpeg, png, tkrplot,
> fftw, foreach, doSNOW
> Enhances: doMC
> SystemRequirements: BWidget, Tktable, Img, libjpeg
>
> # ============
> # My guess is that you do not have all of the systemRequirements on this machine.
> # Or if you do, then perhaps they are not in a directory in which the package expects to find them.
> # =============
>
> Description: A package including various functions for image
> processing and analysis. With this package is possible to
> process and analyse RGB, LAN (multispectral) and AVIRIS
> (hyperspectral) images. This packages also provides
> functions for reading JPEG files, extracted from the
> archived 'rimage' package.
> License: GPL (>= 2) | file LICENSE
> Imports: Rcpp (>= 0.11.0)
> LinkingTo: Rcpp
> URL: http://www.r-project.org
> Packaged: 2014-05-30 20:18:57 UTC; Talita Perciano
> Author: Talita Perciano [aut, cre], Alejandro C Frery [ctb]
> NeedsCompilation: yes
> Repository: CRAN
> Date/Publication: 2014-05-31 01:32:57
> Built: R 3.2.0; x86_64-apple-darwin13.4.0; 2015-04-21 02:07:55
> UTC; unix
>
> -- File: /Library/Frameworks/R.framework/Versions/3.2/Resources/library/ripa/Meta/package.rds
>> ? fftImg
>> data(logo)
>> plot(normalize(fftImg(logo)))
> Error in .C("fftw_access_func", as.complex(img), as.integer(w), as.integer(h), :
> "fftw_access_func" not available for .C() for package "ripa"
>
>> require(fftw)
> Loading required package: fftw
>
> # Tried that thinking (Incorrectly) the missing routine might be supplied in that package.
>
>> data(logo)
>> plot(normalize(fftImg(logo)))
> Error in .C("fftw_access_func", as.complex(img), as.integer(w), as.integer(h), :
> "fftw_access_func" not available for .C() for package "ripa"
>> maintainer('ripa')
> [1] "Talita Perciano <talitaperciano at gmail.com>"
>
> --
>
> David
>
>
>>
>> On Saturday, March 26, 2016 9:21 AM, John Kane <jrkrideau at inbox.com> wrote:
>>
>>
>> It would be helpful if you actually supplied your code and a minimal data set to for people to examine.
>>
>> Please have a look at http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example and/or http://adv-r.had.co.nz/Reproducibility.html.
>>
>> I'm not clear if you are reporting a general R problem or a specific package with the ripa package. If it looks like it is the latter you probably bring it to the attention of the package maintainer who may or may not monitor this mailing group.
>>
>>
>> John Kane
>> Kingston ON Canada
>>
>>
>>> -----Original Message-----
>>> From: ehandler at macalester.edu
>>> Sent: Fri, 25 Mar 2016 15:09:42 -0500
>>> To: r-help at r-project.org
>>> Subject: [R] fftImg() error: fftw_access_func
>>>
>>> Hello-
>>>
>>> My name is Eric Handler and I am an academic technologist supporting
>>> the Science Division(7 academic departments) at Macalester College in
>>> Saint Paul, MN. The faculty use R for a variety of teaching and
>>> research tasks around campus. I administer our RStudio instance and
>>> have encountered an error I can't resolve. A student working on an
>>> independent research project has reported that he received the
>>> following error when attempting to use the ripa function fftImg():
>>>
>>> Error in .C("fftw_access_func", as.complex(img), as.integer(w),
>>> as.integer(h), :
>>> "fftw_access_func" not available for .C() for package "ripa"
>>>
>>> I've been able to recreate this error in RStudio as well as directly
>>> in R. I've also recreated the error across different platforms(Ubuntu,
>>> Mac OS X 10.10 and 10.11). My test platform's sessionInfo() output is
>>> below:
>>>
>>> R version 3.2.3 (2015-12-10)
>>> Platform: x86_64-apple-darwin13.4.0 (64-bit)
>>> Running under: OS X 10.11.3 (El Capitan)
>>>
>>> locale:
>>> [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
>>>
>>> attached base packages:
>>> [1] parallel tcltk stats graphics grDevices utils datasets
>>> [8] methods base
>>>
>>> other attached packages:
>>> [1] fftw_1.0-3 ripa_2.0-2
>>>
>>> loaded via a namespace (and not attached):
>>> [1] tools_3.2.3 Rcpp_0.12.3
>>>
>>> A google search for "fftw_access_func" doesn't reveal anything modern
>>> on this topic, only mentions of OS 10.4 and 10.5 and rimage, which
>>> doesn't seem to exist anymore(perhaps it was a predecessor to RIPA?)
>>>
>>> Can someone help me get the student functional with fftImg() or
>>> alternately, tell me it is a known issue and an alternative option(if
>>> available) for the student?
>>>
>>> Thanks,
>>> Eric
>>>
>>> --
>>> Eric Handler
>>> Academic Information Associate - Science Division
>>> Macalester College - Saint Paul, MN
>>> Olin-Rice 124
>>> Office: 651-696-6016
>>> View my calendar: http://goo.gl/SbxLOu
>>>
>>> ______________________________________________
>>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>> PLEASE do read the posting guide
>>> http://www.R-project.org/posting-guide.html
>>> and provide commented, minimal, self-contained, reproducible code.
>>
>> ____________________________________________________________
>> [[elided Yahoo spam]]
>>
>> ______________________________________________
>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>>
>>
>> [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>
> David Winsemius
> Alameda, CA, USA
>
More information about the R-help
mailing list