Re: [Rd] Last R-devel snapshot is an empty tarball

2006-10-05 Thread Peter Dalgaard
Herve Pages <[EMAIL PROTECTED]> writes:

> Dear list,
> 
> The last R-devel snapshot (2006-10-03) is an empty tarball:
>   ftp://ftp.stat.math.ethz.ch/Software/R/

We know... "make dist" was broken for a while. The unstable
development version will occasionally develop instabilities...

-- 
   O__   Peter Dalgaard Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark  Ph:  (+45) 35327918
~~ - ([EMAIL PROTECTED])  FAX: (+45) 35327907

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] example using R to aggregate data from multiple Excel files

2006-10-05 Thread bryan rasmussen
Hi,

I have a project to analyse the various Web server statistics for a
server on a weekly basis for the past year using data maintained in
about 20 excel files per week. I need to go through these files and
aggregate the data, obviously the excel files are pretty simple 2
column affairs (I say obviously because otherwise why was the data
maintained in 20 files for web site usage per week if the files
themselves were not very simple) I am looking for examples of going
over a bunch of excel files with R, extracting the data and then
aggregating for analysis.

Cheers,
Bryan Rasmussen

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] example using R to aggregate data from multiple Excel files

2006-10-05 Thread Sean Davis
On Thursday 05 October 2006 04:05, bryan rasmussen wrote:
> Hi,
>
> I have a project to analyse the various Web server statistics for a
> server on a weekly basis for the past year using data maintained in
> about 20 excel files per week. I need to go through these files and
> aggregate the data, obviously the excel files are pretty simple 2
> column affairs (I say obviously because otherwise why was the data
> maintained in 20 files for web site usage per week if the files
> themselves were not very simple) I am looking for examples of going
> over a bunch of excel files with R, extracting the data and then
> aggregating for analysis.

You probably want to write to the R-help list, not the R-devel list.  That 
said, you probably want to look at the dir() command and read.xls() from the 
gdata/gtools/gplots packages (you need to install all three).  Alternatively, 
you can look at using ODBC to connect to the files.

Sean

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Bug in 2.4.0 Windows menu setup (PR#9277)

2006-10-05 Thread Ei-ji Nakama
I do not understand Chinese, but recognize kanji.
RGui-zh_CN.po is written in utf-8, but charset=CP936 wrote.

  perl -p -i -e 's#charset=CP936#charset=utf-8#' RGui-zh_CN.po
  msgfmt -o RGui.mo RGui-zh_CN.po

2006/10/5, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> I've tracked down where this is occurring, but I don't know how to fix
> it.  Here's a summary:
>
> If the language in Windows is set to simplified Chinese (i.e. Chinese
> (PRC)) and message translations are installed, then on startup Rgui
> crashes when it tries to install the console popup menu.  The crash
> comes when it gets an error trying to do a conversion using mbrtowc, and
> tries to report it using error(); but the R symbol table is needed for
> that, and it hasn't been set up yet.
>
> I'm not sure which menu entry causes the crash, but I think it's not the
> first, so conceivably this is caused by an error in one of the
> translation files.  Indeed, setting the language to Chinese (Taiwan) works.
>
> I don't know how to debug the translation files, so I'm going to have to
> leave this one for now.  I think Brian Ripley is the only one who
> understands all the details of what goes on in the translations, and
> he's away until Oct 9.
>
> Duncan Murdoch
>
> On 10/3/2006 9:00 PM, ronggui wrote:
> > This morning I downloaded R-2.4.0 and install in under Windows. I customized
> > the installation and choose "Message translations",but I could not launch
> > Rgui.exe successfully( Rterm.exe worked fine). If I did't choose "Message
> > translations", Rgui.exe worked fine.
> >
> > "Message translations" is Simplified Chinese.
> >
> >> version
> >_
> > platform   i386-pc-mingw32
> > arch   i386
> > os mingw32
> > system i386, mingw32
> > status
> > major  2
> > minor  4.0
> > year   2006
> > month  10
> > day03
> > svn rev39566
> > language   R
> > version.string R version 2.4.0 (2006-10-03)
> >
> >
> >
> >
> > 
> >
> > __
> > R-help@stat.math.ethz.ch mailing list
> > 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.
>
> __
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>
>


-- 
EI-JI Nakama  <[EMAIL PROTECTED]>
"\u4e2d\u9593\u6804\u6cbb"  <[EMAIL PROTECTED]>

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] Error in seq.default(xtsp[1], xtsp[2], length = n) : (PR#9278)

2006-10-05 Thread pollari
This error came when compiling R 2.4.0 with Sun Studio 11 compiler in sparc.

mkdir ../../../../library/stats/libs
building package 'datasets'
mkdir ../../../library/datasets
mkdir ../../../library/datasets/R
mkdir ../../../library/datasets/data
Error in seq.default(xtsp[1], xtsp[2], length = n) :
length must be non-negative number
Execution halted
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /wrk2/R-2.4.0/src/library/datasets
*** Error code 1
make: Fatal error: Command failed for target `R'
Current working directory /wrk2/R-2.4.0/src/library
*** Error code 1
make: Fatal error: Command failed for target `R'
Current working directory /wrk2/R-2.4.0/src
*** Error code 1
make: Fatal error: Command failed for target `R'

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Compilation issue (PR#9275)

2006-10-05 Thread maechler
I think this is not a bug,
..

> "andrew" == andrew duba <[EMAIL PROTECTED]>
> on Wed,  4 Oct 2006 22:32:30 +0200 (CEST) writes:

andrew> Full_Name: Andrew J. Duba
andrew> Version: 2.4.0
andrew> OS: OS X
andrew> Submission from: (NULL) (128.252.95.46)


andrew> I am trying to compile the newest version of R.  I
andrew> am using g77 version 3.4.3 and gcc 4.0.  After
andrew> running gnu make (version 3.8) I get the following
andrew> error:

andrew> Error in dyn.load(x, as.logical(local), as.logical(now)) :
andrew> unable to load shared library
andrew> '/Users/aduba/sources/R-2.4.0/library/tools/libs/tools.so':
andrew> dlopen(/Users/aduba/sources/R-2.4.0/library/tools/libs/tools.so, 
6): Symbol
andrew> not found: _z_abs
andrew> Referenced from: /Users/aduba/sources/R-2.4.0/lib/libRblas.dylib
andrew> Expected in: flat namespace
andrew> Execution halted

To me, that's a known symptom of either using the wrong options
to configure or typically rather trying to build R-2.4.0 ``not
from scratch'' but inside a place you had built an older version
of R.

Did you read (a bit in) the "R Administration and Installation"
manual?

In any case, for a bug report, this did not give enough
information (e.g., what version of Unix are you using ?).

Please, rather send a *question* to R-devel (in this case) or
R-help, rather than producing a bug report, unless you *really*
know that something *is* a bug.

Regards,
Martin Maechler, ETH Zurich

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Bug in 2.4.0 Windows menu setup (PR#9277)

2006-10-05 Thread Duncan Murdoch
On 2006-10-5 8:06, Ei-ji Nakama wrote:
> I do not understand Chinese, but recognize kanji.
> RGui-zh_CN.po is written in utf-8, but charset=CP936 wrote.
> 
>   perl -p -i -e 's#charset=CP936#charset=utf-8#' RGui-zh_CN.po
>   msgfmt -o RGui.mo RGui-zh_CN.po

Thanks!!  That does fix the error, at least on my system.  I'll commit 
the change to R-devel and R-patched.

Duncan Murdoch

> 
> 2006/10/5, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>> I've tracked down where this is occurring, but I don't know how to fix
>> it.  Here's a summary:
>>
>> If the language in Windows is set to simplified Chinese (i.e. Chinese
>> (PRC)) and message translations are installed, then on startup Rgui
>> crashes when it tries to install the console popup menu.  The crash
>> comes when it gets an error trying to do a conversion using mbrtowc, and
>> tries to report it using error(); but the R symbol table is needed for
>> that, and it hasn't been set up yet.
>>
>> I'm not sure which menu entry causes the crash, but I think it's not the
>> first, so conceivably this is caused by an error in one of the
>> translation files.  Indeed, setting the language to Chinese (Taiwan) works.
>>
>> I don't know how to debug the translation files, so I'm going to have to
>> leave this one for now.  I think Brian Ripley is the only one who
>> understands all the details of what goes on in the translations, and
>> he's away until Oct 9.
>>
>> Duncan Murdoch
>>
>> On 10/3/2006 9:00 PM, ronggui wrote:
>> > This morning I downloaded R-2.4.0 and install in under Windows. I 
>> > customized
>> > the installation and choose "Message translations",but I could not launch
>> > Rgui.exe successfully( Rterm.exe worked fine). If I did't choose "Message
>> > translations", Rgui.exe worked fine.
>> >
>> > "Message translations" is Simplified Chinese.
>> >
>> >> version
>> >_
>> > platform   i386-pc-mingw32
>> > arch   i386
>> > os mingw32
>> > system i386, mingw32
>> > status
>> > major  2
>> > minor  4.0
>> > year   2006
>> > month  10
>> > day03
>> > svn rev39566
>> > language   R
>> > version.string R version 2.4.0 (2006-10-03)
>> >
>> >
>> >
>> >
>> > 
>> >
>> > __
>> > R-help@stat.math.ethz.ch mailing list
>> > 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.
>>
>> __
>> R-devel@r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>>
>>
>>
> 
>

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Last R-devel snapshot is an empty tarball

2006-10-05 Thread Seth Falcon
Peter Dalgaard <[EMAIL PROTECTED]> writes:
> Herve Pages <[EMAIL PROTECTED]> writes:
>
>> Dear list,
>> 
>> The last R-devel snapshot (2006-10-03) is an empty tarball:
>>   ftp://ftp.stat.math.ethz.ch/Software/R/
>
> We know... "make dist" was broken for a while. The unstable
> development version will occasionally develop instabilities...

Might this be a good forum to announce such problems when they become
known?  

+ seth

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Last R-devel snapshot is an empty tarball

2006-10-05 Thread Peter Dalgaard
Seth Falcon <[EMAIL PROTECTED]> writes:

> Peter Dalgaard <[EMAIL PROTECTED]> writes:
> > Herve Pages <[EMAIL PROTECTED]> writes:
> >
> >> Dear list,
> >> 
> >> The last R-devel snapshot (2006-10-03) is an empty tarball:
> >>   ftp://ftp.stat.math.ethz.ch/Software/R/
> >
> > We know... "make dist" was broken for a while. The unstable
> > development version will occasionally develop instabilities...
> 
> Might this be a good forum to announce such problems when they become
> known?  

Yes, in principle. We tend to want to fix them rather than announce
them, though. (It wasn't realized that there was a problem until
yesterday when Kurt was adjusting his package check procedures after
Tuesday's release.)

-- 
   O__   Peter Dalgaard Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark  Ph:  (+45) 35327918
~~ - ([EMAIL PROTECTED])  FAX: (+45) 35327907

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Last R-devel snapshot is an empty tarball

2006-10-05 Thread Martin Maechler
> "PD" == Peter Dalgaard <[EMAIL PROTECTED]>
> on 05 Oct 2006 15:59:44 +0200 writes:

PD> Seth Falcon <[EMAIL PROTECTED]> writes:
>> Peter Dalgaard <[EMAIL PROTECTED]> writes:
>> > Herve Pages <[EMAIL PROTECTED]> writes:
>> >
>> >> Dear list,
>> >> 
>> >> The last R-devel snapshot (2006-10-03) is an empty tarball:
>> >>   ftp://ftp.stat.math.ethz.ch/Software/R/
>> >
>> > We know... "make dist" was broken for a while. The unstable
>> > development version will occasionally develop instabilities...
>> 
>> Might this be a good forum to announce such problems when they become
>> known?  

PD> Yes, in principle. We tend to want to fix them rather than announce
PD> them, though.

I had sent Herve a private message with similar content.
You could also just send them to the core team, or,
if you know who is responsible, as in the present case, I am,
send it to me directly.   The smaller the forum, the better for
things that *are* important. 

Martin

PD>  (It wasn't realized that there was a problem until
PD> yesterday when Kurt was adjusting his package check procedures after
PD> Tuesday's release.)

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Compilation issue (PR#9275)

2006-10-05 Thread Simon Urbanek

On Oct 4, 2006, at 4:32 PM, [EMAIL PROTECTED] wrote:

> Full_Name: Andrew J. Duba
> Version: 2.4.0
> OS: OS X
> Submission from: (NULL) (128.252.95.46)
>
>
> I am trying to compile the newest version of R.  I am using g77  
> version 3.4.3
> and gcc 4.0.

This is not a bug - please see the FAQ for Mac OS X -  you cannot mix  
compiler versions. Use either gcc3+g77 or gcc4+gfortran.

Cheers,
Simon


>   After running gnu make (version 3.8) I get the following error:
>
> Error in dyn.load(x, as.logical(local), as.logical(now)) :
> unable to load shared library
> '/Users/aduba/sources/R-2.4.0/library/tools/libs/tools.so':
>   dlopen(/Users/aduba/sources/R-2.4.0/library/tools/libs/tools.so,  
> 6): Symbol
> not found: _z_abs
>   Referenced from: /Users/aduba/sources/R-2.4.0/lib/libRblas.dylib
>   Expected in: flat namespace
> Execution halted
>
> __
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Last R-devel snapshot is an empty tarball

2006-10-05 Thread Herve Pages
Martin Maechler wrote:
> Hi Herve,
>
> Herve> Dear list,
> Herve> The last R-devel snapshot (2006-10-03) is an empty tarball:
> Herve> ftp://ftp.stat.math.ethz.ch/Software/R/
> Herve> Thanks,
>
> Peter already replied.
> The snapshot is now back to normal.
>
> The real problem was that the snapshot was broken for about 10
> days till someone noticed.
> So indeed, we would have been grateful if your e-mail had
> arrived a week earlier ;-) ;-)
>   

Hi Martin, Peter,

Thanks for fixing the problem! I've just downloaded the last
R-devel snapshot tarball (2006-10-04) and will give it a try today...

I did notice the 10-day gap but I suspected you R guys already knew
about it and that you were too busy with the R 2.4.0 pre-release stuff
to care about it _at that moment_. So I decided to wait until after the
release. Then yesterday I saw this R-devel snapshot tarball (the
first one in 12 days) and decided to give it a try, because, like Kurt,
I need it for our check procedure too (Bioconductor) ;-)

Cheers,
H.

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel