Re: [R] readJPEG function cannot open jpeg files

2013-01-15 Thread Rolf Turner
On 01/15/2013 08:04 AM, Duncan Murdoch wrote: I've never understood why Microsoft thinks it is good to display incomplete filenames. This practice causes so many problems. Personally, I never understand "Why Microsoft?". cheers, Rolf Turner

Re: [R] readJPEG function cannot open jpeg files

2013-01-14 Thread Suzen, Mehmet
On 14 January 2013 18:56, Prof Brian Ripley wrote: > On 14/01/2013 16:26, Suzen, Mehmet wrote: >> >> Similar issue with URLs: > > > Not a similar issue at all: a URL is not a file. That most functions in R > itself open connections including URLs does not mean that contributed > packages do. The

Re: [R] readJPEG function cannot open jpeg files

2013-01-14 Thread Duncan Murdoch
org] On Behalf Of Jeff Newmiller Sent: Monday, January 14, 2013 8:25 AM To: Yi Yuan; r-help@r-project.org Subject: Re: [R] readJPEG function cannot open jpeg files Being unable to open a file is a related to your operating system and how R interacts with that OS. If your interactive development

Re: [R] readJPEG function cannot open jpeg files

2013-01-14 Thread Duncan Murdoch
n is encoded in the mode. Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Jeff Newmiller Sent: Monday, January 14, 2013 8:25 AM To: Yi Yuan; r-help@r-project.org Subject: Re: [R] re

Re: [R] readJPEG function cannot open jpeg files

2013-01-14 Thread Yi Yuan
>> >> Bill Dunlap >> Spotfire, TIBCO Software >> wdunlap tibco.com >> >> > -Original Message- >> > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] >> On Behalf >> > Of Jeff Newmiller >> > Sent: Mond

Re: [R] readJPEG function cannot open jpeg files

2013-01-14 Thread Yi Yuan
) the file with mode 666, but not all permission > information is encoded in the mode. > > Bill Dunlap > Spotfire, TIBCO Software > wdunlap tibco.com > > > -Original Message- > > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On Beh

[R] readJPEG function cannot open jpeg files

2013-01-14 Thread Yi Yuan
Hi, r-help mailing list subscribers, I installed jpeg package and tried to use kim<-readJPEG("kim.jpeg") to read in a jpeg file, but R gave me an error: Error in readJPEG("kim.jpeg") : unable to open kim.jpeg I already put "kim.jpeg" in Rstudio's default working directory: "E:\home work\Rstudio

Re: [R] readJPEG function cannot open jpeg files

2013-01-14 Thread Felipe Carrillo
n ; >"r-help@r-project.org" >Sent: Monday, January 14, 2013 8:44 AM >Subject: Re: [R] readJPEG function cannot open jpeg files > >You can use file.info("myFile") to make sure the file exists and has >appropriate permissions ("mode"

Re: [R] readJPEG function cannot open jpeg files

2013-01-14 Thread Prof Brian Ripley
On 14/01/2013 16:26, Suzen, Mehmet wrote: Similar issue with URLs: Not a similar issue at all: a URL is not a file. That most functions in R itself open connections including URLs does not mean that contributed packages do. The package help is quite specific about its requirements. sour

Re: [R] readJPEG function cannot open jpeg files

2013-01-14 Thread William Dunlap
ehalf > Of Jeff Newmiller > Sent: Monday, January 14, 2013 8:25 AM > To: Yi Yuan; r-help@r-project.org > Subject: Re: [R] readJPEG function cannot open jpeg files > > Being unable to open a file is a related to your operating system and how R > interacts with > that OS. I

Re: [R] readJPEG function cannot open jpeg files

2013-01-14 Thread Jeff Newmiller
Being unable to open a file is a related to your operating system and how R interacts with that OS. If your interactive development environment (IDE, of which RStudio is an example) is trying to make things simpler for you but you don't understand how to use it, then you need to ask help from yo

Re: [R] readJPEG function cannot open jpeg files

2013-01-14 Thread Suzen, Mehmet
Similar issue with URLs: > yesWeCan <- > "http://upload.wikimedia.org/wikipedia/commons/9/9d/Barack_Obama.jpg"; > url(yesWeCan) description "http://upload.wikimedia.org/wikipedia/commons/9/9d/Barack_Obama.jpg";

[R] readJPEG function cannot open jpeg files

2013-01-14 Thread Yi Yuan
I installed jpeg package and tried to use kim<-readJPEG("kim.jpeg") to read in a jpeg file, but R gave me an error: Error in readJPEG("kim.jpeg") : unable to open kim.jpeg I already put "kim.jpeg" in Rstudio's default working directory: "E:\home work\Rstudio". So I don't think it's a problem cau