Re: [R] Absolute path in gdata library

2012-11-08 Thread Marc Schwartz
On Nov 8, 2012, at 9:33 AM, Prof Brian Ripley wrote: > On 08/11/2012 15:28, Marc Schwartz wrote: >> >> On Nov 8, 2012, at 12:57 AM, Prof Brian Ripley wrote: >> >>> On 07/11/2012 23:12, Marc Schwartz wrote: On Nov 7, 2012, at 4:58 PM, r wrote: > Dear list, I have some .xls file

Re: [R] Absolute path in gdata library

2012-11-08 Thread Prof Brian Ripley
On 08/11/2012 15:28, Marc Schwartz wrote: On Nov 8, 2012, at 12:57 AM, Prof Brian Ripley wrote: On 07/11/2012 23:12, Marc Schwartz wrote: On Nov 7, 2012, at 4:58 PM, r wrote: Dear list, I have some .xls files that I need to read into R. I am able to do so using read.xls in the gdata packa

Re: [R] Absolute path in gdata library

2012-11-08 Thread Marc Schwartz
On Nov 8, 2012, at 12:57 AM, Prof Brian Ripley wrote: > On 07/11/2012 23:12, Marc Schwartz wrote: >> On Nov 7, 2012, at 4:58 PM, r wrote: >> >>> Dear list, I have some .xls files that I need to read into R. I am >>> able to do so using read.xls in the gdata package, however the >>> helper func

Re: [R] Absolute path in gdata library

2012-11-08 Thread Riccardo Romoli
I was completely ignoring both path.expand() and normalizePath()... My solution were a little more complicated. I write some 'if else' to check which computer I'm using now and 'adjust' the right path... Thanks for your precious suggestion!!! I will try to use normalizePath() to semplificate my co

Re: [R] Absolute path in gdata library

2012-11-07 Thread Prof Brian Ripley
On 07/11/2012 23:12, Marc Schwartz wrote: On Nov 7, 2012, at 4:58 PM, r wrote: Dear list, I have some .xls files that I need to read into R. I am able to do so using read.xls in the gdata package, however the helper functions sheetNames and sheetCount fail. This is the error: Unable to open f

Re: [R] Absolute path in gdata library

2012-11-07 Thread David Winsemius
On Nov 7, 2012, at 2:58 PM, r wrote: > Dear list, > I have some .xls files that I need to read into R. I am able to do so > using read.xls in the gdata package, however the helper functions > sheetNames and sheetCount fail. This is the error: > > Unable to open file '~/SharedFolder/MyData/mydat

Re: [R] Absolute path in gdata library

2012-11-07 Thread Marc Schwartz
On Nov 7, 2012, at 4:58 PM, r wrote: > Dear list, > I have some .xls files that I need to read into R. I am able to do so > using read.xls in the gdata package, however the helper functions > sheetNames and sheetCount fail. This is the error: > > Unable to open file '~/SharedFolder/MyData/mydat

[R] Absolute path in gdata library

2012-11-07 Thread r
Dear list, I have some .xls files that I need to read into R. I am able to do so using read.xls in the gdata package, however the helper functions sheetNames and sheetCount fail. This is the error: Unable to open file '~/SharedFolder/MyData/mydata.xls'. Warning: running command ''/usr/bin/perl' '