similar to: Re ading Image Files

Displaying 20 results from an estimated 1000 matches similar to: "Re ading Image Files"

2002 Feb 20
3
importing images
I would like to import "tif" images in R and I do not find any function that can do that. In Matlab there exists the function "imread" that can read the most known images format. Does a similar function exist for R ? Thanks in advance -- Herve CARDOT ____________________________________________________________ Unite Biometrie et Intelligence Artificielle, INRA Toulouse BP
2012 Nov 08
2
unable to load shared object - opencv
Hi all i'm trying to use the opencv's function into R. i wrote a simple script, just for try to understand how use c++ in R, it loads an image and write it with a different name (i know it ), and then write "Hello, World". The file is names prova2.cpp (is the first time i try to use c++ ) #include <stdio.h> #include <opencv/cv.h> #include
2009 May 26
4
moving from Windows to Linux - need help
hi I've used R for many years on windows machines, but have now acquired an Asus eee 1000 linux machine. In order to get the best out of the machine, I used the 'pimpmyeee.sh' script, to get the full KDE desktop. The version of Linux is Xandros, which I believe is a close relative of Debian, but sadly I have only a nodding acquaintance with Linux at present. Naturally I want to
2010 Jul 16
1
re ading SPSS .sav files (PR#13509)
Sir/Madam, Installed in my computer is the Version 2.9.1(2009-06-26) of R. I have a SPSS.sav file produced by SPSS Version 17. >install.('foreign') >library(foreign) <- read.spss("f:/sme.sav",use.value.labels=FALSE) Warning message: In read.spss("f:/sme.sav", use.value.labels = FALSE) : f:/sme.sav: Unrecognized record type 7, subtype 18
2009 Mar 18
1
Re ading from a Database
Hi all, I'm quite new to R and have limited experience. What Im trying to do is very important as it is part of my final year project; or more so the central idea behind it. I will be creating BibTex files to enter into a mySQL database. I then need to perform operations on this DB like 'return studies similar to x'. It's really just getting a start at this that I'm having
2006 Dec 31
1
rimage package broken with fedora upgrade
Dear R list members I would be grateful if anyone could guide me to a solution for fixing my rimage package problem described below. I recently upgraded my machine from fedora core 3 to fedora core 6 and then upgraded R from version 2.3.1 from version 2.4.1. I then fired up R, tried to load the rimage library and received the following messages: > library(rimage) Error in dyn.load(x,
2009 Oct 01
1
re ading and analyzing a word document
file=("LUSDR/letter.doc") Howdy Y'all, So i am looking to read a word document in the following formats(.doc) or any type of accessible word processor software (e.g. text .txt, notepad, etc). Had the ability to search certain words, for instance "banana", "peacock","Weapons" "Mass" "Destruction". Then i could summarize and view
2007 Oct 02
1
Cannot Install rimage
I'm trying to install rimage in R version 2.5.1 running on Fedora 6 (kernel 2.6.22.7-57.fc6 with the headers and gcc installed, along with fftw2 and libjpeg and headers): > install.packages("rimage") Warning in install.packages("rimage") : argument 'lib' is missing: using '/usr/lib/R/library' trying URL
2008 Nov 14
2
problem in downloading the rimage package
I am using a 64 bit machine with CentOS5. I am getting the following errors when I try to install the rimage package g++ -shared -L/usr/local/lib64 -o rimage.so equalize.o fftw_access_func.o freqfilters.o interface.o jpegio.o laplacian.o matrix.o smooth.o sobel.o -ljpeg -lfftw /usr/bin/ld: /usr/local/lib/libfftw.a(fftwnd.o): relocation R_X86_64_32 against `a local symbol' can not be used when
2009 Sep 28
4
Re ading Functions that are in a Vector
I am trying to write a function that will have an input of a vector of functions. Here is a simplistic example. sumstats <- c(mean,sd) sumstats[1] #Gives this error #> sumstats[1] #[[1]] #function (x, ...) #UseMethod("mean") #<environment: namespace:base> I thought about restricting the input to character variables such as the following sumstats2 <-
2009 Nov 03
3
re ading tokens
Greetings, I am not familiar with processing text in R. Can someone tell me how to read each line of words as separate elements in a list? FE, I would like to turn: word1 word2 word3 word2 word4 into a list of length two with three character elements in the first list and two elements in the second. I know that this should be easy, but I am a little confused by the text functions. Thanks in
2010 Sep 27
2
rimage package problems
Hi all, I tried to install the rimage in order to get to the function ?read.jpeg. However, I get this error, independent what mirror I choose: install.packages("rimage") --- Please select a CRAN mirror for use in this session --- Warning message: In getDependencies(pkgs, dependencies, available, lib) : package ?rimage? is not available > Does anybody know what happend with the
2009 Oct 28
2
Re ading user input (Readline)
Hello. I am trying to write an interactive function that asks the user for a vector of observations. Unfortunately, if a user inputs a vector, R treats the vector name as a string instead of a variable. Here is an example: vector.input<-function(){ k<-as.integer(readline("Input number of vectors: ")) obs<-as.integer(readline("Input number of observations per vector
2003 Oct 06
1
Cannot Install rimage in R-1.7.1 (RH 9.0)
The rimage install can't find the ffw header. Any idea why? Rick B. > install.packages("rimage") trying URL `http://cran.r-project.org/src/contrib/PACKAGES' Content type `text/plain; charset=iso-8859-1' length 130159 bytes opened URL .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... ..........
2010 Mar 02
4
two questions for R beginner
>>> What were your biggest misconceptions or >>> stumbling blocks to getting up and running >>> with R? Easy. I terms of materials I have been unable to find good books that introduce users to R from the perspective of someone familiar only with packages like SPSS or STATA, or not familiar with statistics packages at all. Even introduction texts use jargon
2006 Sep 11
3
Installation difficulty with "rimage"
Dear R people, I am trying to install rimage using install.packages("rimage") but am receiving the following errors despite having FFTW installed. I would appreciate any help to get this fixed. checking fftw.h usability... no checking fftw.h presence... no checking for fftw.h... no configure: error: Sorry, can't find fftw header ERROR: configuration failed for package
2010 Mar 24
3
help in matlab - r code
Dear list members, I need to translate 3 lines of matlab code to R (a loop, to be specific), and I don't know what would be the results in matlab or how to do it in R-- I don't realise if they are doing to the col, vector or what. if the results are a vector or a value or a matrix :-( Anyone with matlab, can run it and give me the result? Any ideias what am I doing wrong? The code is
2008 Nov 12
1
rimage doesn't install on Mac OS X 10.4
Hi, I'm trying to install rimage on a Mac OS X 10.4 machine. I followed the advice in previous R-help threads and got over the hurdles of having the header files in the right places, among other things. But I can't figure out what to do with this error. ice.pnl.gov:/home/waichler<949>system_profiler -detailLevel mini SPSoftwareDataType Software: System Software Overview:
2009 Apr 07
4
Re ading Excel 5.0 files with RODBC?
Hi, i'm trying to read some data from excel files but it seems that neither xlsReadWrite nor sqlFetch (RODBC) doesn't like the format (Excel 5.0). When i open the file in Excel and save it in a new format Excel 97 -2003 everything works fine. Is it possible to use ODBC connection to open old format files, or i guess i will have to open and save every file in Excel in new format, which
2009 Apr 02
1
Sweave, using xtable in a loop doesnt work?
I have a data.frame, data, with 30 factor variables. I would like to tabulate the frequencies of each variable and output to a tex file using Sweave. Here is my code chunk: <<label=tab, echo=FALSE, results=tex>>= library(xtable) for(j in 1:30){   cap <- paste("Frequency counts for Q",j,".", sep="")   xtable(t(table(data[,j])),caption=cap) } @