[Rd] R: prcomp documentation (PR#7372)

2004-11-17 Thread clock
Hello

help(prcomp) documentation doesn't say that dimensionality of the data treated
is number of columns of the matrix. I suggest this to be added somewhere near
the description of the matrix argument 'x'.

Cl

__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] R: prcomp documentation (PR#7372)

2004-11-17 Thread Prof Brian Ripley
I have no idea what you mean by this.  prcomp works on a matrix, which has 
two dimensions, and what you mean by `dimensionality of the data' in PCA 
depends on whether you are doing R mode or Q mode PCA.

Have you read the references on the help page?
On Wed, 17 Nov 2004 [EMAIL PROTECTED] wrote:
help(prcomp) documentation doesn't say that dimensionality of the data treated
is number of columns of the matrix. I suggest this to be added somewhere near
the description of the matrix argument 'x'.
--
Brian D. Ripley,  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel:  +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UKFax:  +44 1865 272595
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] bug in methods' 'initialize' (or the functions called in turn) ?

2004-11-17 Thread Uwe Ligges
Laurent Gautier wrote:
Hi,
I experience a very strange behaviour when trying to instanciate a S4 
class. A call like 'r - new(MyClass, foo=bar)' returns apparently 
cleanly, but in fact a subsequent use of 'r' results in a 'r does not 
exist error message'. After a bit of hunting with 'debug', it seems that
the bug is in 'initialize' (or one of the functions it calls in turn).
All this while using R-devel from Nov. 16th (R-2.0.1-devel).

I did manage to make a simple example to reproduce the bug, but to do so 
one needs few packages from the bioconductor project. If this is not yet 
know and one shows interest, I can provide the few lines of code needed 
to reproduce it.

Two points:
a) yes, please alsways specify a simple reproducible example when 
talking about a bug;

b) if this bug does not appear in R-2.0.1 but only in the current 
R-devel, it might be worth to wait a couple of days. Perhaps someone is 
including some new functionality and has not yet finished the updates.

Uwe Ligges

L.
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] R/S-related projects on Sourceforge? Trove Categorization

2004-11-17 Thread Witold Eryk Wolski
Hi R-Users and Developers,
Several months ago I made a request on Sourceforge to add the R/S - 
programming language to the _Trove_ categorization. (The Trove is a 
means to convey basic metainformation about your project.)

Today I got the following response of one of the sourceforge admins.
SNIP
SourceForge.net will consider the inclusion of a programming
language within the Trove system when we host at least 5
projects based on that language.  Please advise: Do you know
of 5 projects hosted on SourceForge.net based on this language?
SNIP
If anyone of you knew about R-packages, or projects using the R/S 
programming language, which are hosted on sourceforge, please reply to this 
thread. I hope that your answers will enable me to give more then 5 examples of 
R projects hosted on Sourceforge.
Yours Eryk
Ps.
The ID of my original feature request  on Sourceforge is 967697.
https://sourceforge.net/tracker/?func=detailatid=350001aid=967697group_id=1
--
Dipl. bio-chem. Witold Eryk Wolski
MPI-Moleculare Genetic
Ihnestrasse 63-73 14195 Berlin
tel: 0049-30-83875219 __(_
http://www.molgen.mpg.de/~wolski  \__/'v'
http://r4proteomics.sourceforge.net||/   \
mail: [EMAIL PROTECTED]^^ m m
 [EMAIL PROTECTED]
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] Re: [R] R/S-related projects on Sourceforge? Trove Categorization

2004-11-17 Thread Ernesto Jardim
Hi,

I have 2 _small_ projects hosted in sf.net that use R 

FLR :: R for fisheries science (http://flr.sf.net)
fsap: fish stock assessment for R (http://sf.net/projects/fsap)

The first one is getting some hip and the second is dying ...

Hope it helps.

Regards

EJ

On Wed, 2004-11-17 at 09:09, Witold Eryk Wolski wrote:
 Hi R-Users and Developers,
 
 Several months ago I made a request on Sourceforge to add the R/S - 
 programming language to the _Trove_ categorization. (The Trove is a 
 means to convey basic metainformation about your project.)
 
 Today I got the following response of one of the sourceforge admins.
 
 SNIP
 
 SourceForge.net will consider the inclusion of a programming
 language within the Trove system when we host at least 5
 projects based on that language.  Please advise: Do you know
 of 5 projects hosted on SourceForge.net based on this language?
 SNIP
 
 
 If anyone of you knew about R-packages, or projects using the R/S programming 
 language, which are hosted on sourceforge, please reply to this thread. I 
 hope that your answers will enable me to give more then 5 examples of R 
 projects hosted on Sourceforge.
 
 Yours Eryk
 
 
 Ps.
 
 The ID of my original feature request  on Sourceforge is 967697.
 https://sourceforge.net/tracker/?func=detailatid=350001aid=967697group_id=1

__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] Re: R/S-related projects on Sourceforge? Trove Categorization

2004-11-17 Thread Gabor Grothendieck
Witold Eryk Wolski [EMAIL PROTECTED] writes:

: 
: Hi R-Users and Developers,
: 
: Several months ago I made a request on Sourceforge to add the R/S - 
: programming language to the _Trove_ categorization. (The Trove is a 
: means to convey basic metainformation about your project.)

It might be worthwhile to consider all the possible sourceforge-like
sites in case there is a particular advantage of one over the others.
For example, it might be better to choose one with svn support than
one that only has cvs support. Sites include sourceforge, savannah, 
berlios, seul and a few others, some of which are listed at
http://www.ibiblio.org/fosphost/exhost.htm .

Also some languages have started their own sourceforge-style
project repositories such as luaforge.net and rubyforge.org and one
could conceivably have an Rforge too.

I don't know enough about the above sites to say much more but I think
the key requirements are to provide support to addon packages and
projects to encourage the current explosion of such software.
The idea would be to automate the setup of an infrastructure that
includes such things as:

- X-help and X-devel email distribution lists for project X
- access to svn so developers can coordinate their efforts on a project
- wiki, forums, other groupware
- web space for a home page
- ftp space for archiving old versions and distributing beta versions
- slick package development tools to make it easier to develop packages
- ensure that there are a really good set of base classes in the core
  for projects to leverage off of

__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] Building Packages on Windows using .Rbuildignore

2004-11-17 Thread Gabor Grothendieck

I have some questions about building packages in Windows 
when using .Rbuildignore .  The part of the process that
is of interest here is the part that creates the source
tree from the tree that contains the .Rbuildignore file.
That is, the part of the process that does a build of
the original tree creating a .tar.gz and then extracts
this file into a source directory that can be used by
check, build --binary and install.

1. makefiles

I was developing some batch files for myself using R CMD ...
but then noticed the Windows makefiles.

- Do the makefiles take into account the situation above?

- If so, do I need to do anything special to use them this way?

2. configure.win

Also I noticed reference to configure.win in the Extensions
manual and am not sure if that can be used to address this.
I tried creating a one line configure.win which just does
an echo of a fixed string echo XYZ but I did not see XYZ
during my R CMD install.

- Is configure.win supposed to be written using Windows batch commands
  or UNIX-like commands?

- where does it go.  (I tried putting it in the same directory as
  my DESCRIPTION file.)

- is it a suitable device for handling the .Rbuildignore issue?

Thanks.

__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] Wishlist: pos argument for mget (PR#7376)

2004-11-17 Thread htang
Full_Name: Hsiu-Khuern Tang
Version: 2.0.0
OS: Debian GNU/Linux
Submission from: (NULL) (156.153.255.243)


Why doesn't mget() have a pos argument like get()?  mget has an envir
argument, but the documentation says that this is only for backward
compatibility.

Thanks,
Hsiu-Khuern.

__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Building Packages on Windows using .Rbuildignore

2004-11-17 Thread Duncan Murdoch
On Wed, 17 Nov 2004 18:10:20 + (UTC), Gabor Grothendieck
[EMAIL PROTECTED] wrote :


I have some questions about building packages in Windows 
when using .Rbuildignore .  The part of the process that
is of interest here is the part that creates the source
tree from the tree that contains the .Rbuildignore file.
That is, the part of the process that does a build of
the original tree creating a .tar.gz and then extracts
this file into a source directory that can be used by
check, build --binary and install.

1. makefiles

I was developing some batch files for myself using R CMD ...
but then noticed the Windows makefiles.

- Do the makefiles take into account the situation above?

- If so, do I need to do anything special to use them this way?

I don't think I understand exactly what you're asking.  

2. configure.win

Also I noticed reference to configure.win in the Extensions
manual and am not sure if that can be used to address this.
I tried creating a one line configure.win which just does
an echo of a fixed string echo XYZ but I did not see XYZ
during my R CMD install.

- Is configure.win supposed to be written using Windows batch commands
  or UNIX-like commands?

It is run under sh, not the standard Windows interpreter, so
UNIX-like.  

I just tried it with Rcmd install, and I did see the message echoed.
I didn't see it for Rcmd build, because that doesn't build the
package, it just puts it in a tarball, but Rcmd build --binary does
run it.


- where does it go.  (I tried putting it in the same directory as
  my DESCRIPTION file.)

It should be in the same directory as DESCRIPTION.

- is it a suitable device for handling the .Rbuildignore issue?

What's the issue exactly?

Duncan Murdoch

__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Building Packages on Windows using .Rbuildignore

2004-11-17 Thread Gabor Grothendieck
Duncan Murdoch murdoch at stats.uwo.ca writes:

: 
: On Wed, 17 Nov 2004 18:10:20 + (UTC), Gabor Grothendieck
: ggrothendieck at myway.com wrote :
: 
: 
: I have some questions about building packages in Windows 
: when using .Rbuildignore .  The part of the process that
: is of interest here is the part that creates the source
: tree from the tree that contains the .Rbuildignore file.
: That is, the part of the process that does a build of
: the original tree creating a .tar.gz and then extracts
: this file into a source directory that can be used by
: check, build --binary and install.
: 
: 1. makefiles
: 
: I was developing some batch files for myself using R CMD ...
: but then noticed the Windows makefiles.
: 
: - Do the makefiles take into account the situation above?
: 
: - If so, do I need to do anything special to use them this way?
: 
: I don't think I understand exactly what you're asking.  

If one does not use .Rbuildignore then with a pure R package
one can run off the original source files, in this case
in /wherever/mypkg, like this:
...without .Rbuildignore ...
R CMD install /wherever/mypkg
R CMD check /wherever/mypkg
R CMD build /wherever/mypkg
R CMD build /wherever/mypkg --binary

but if one DOES use .Rbuildignore then one must first build the
package to remove the .Rbuildignore cited files and then run off
the built files which were created by unpacking the tar.gz file.
Below we build the files in /wherever/mypkg and put the resulting
.tar.gz in the current diretory and then unpack it and run the
remaining commands off the unpacked directory (unlike the previous
case where we ran everything off the original directory, viz.
/wherever/mypkg):

... with .Rbuildignore ...

R CMD build /wherever/mypkg
tar xvzf mypkg_0.9-1.tar.gz

... now that we have created a new source directory, mypkg, without
... the .Rbuildignore files we can proceed by running off of that.
... Note that mypkg is different than /wherever/mypkg as the former
... does not contain the ignored files.
R CMD install mypkg
R CMD check mypkg
R CMD build mypkg --binary

I was writing a batch file to handle this second case for me
but was wondering if I was just duplicating work that has
already been done or can easily be done with existing makefiles
or somehow using configure.win.


: 
: 2. configure.win
: 
: Also I noticed reference to configure.win in the Extensions
: manual and am not sure if that can be used to address this.
: I tried creating a one line configure.win which just does
: an echo of a fixed string echo XYZ but I did not see XYZ
: during my R CMD install.
: 
: - Is configure.win supposed to be written using Windows batch commands
:   or UNIX-like commands?
: 
: It is run under sh, not the standard Windows interpreter, so
: UNIX-like.  
: 
: I just tried it with Rcmd install, and I did see the message echoed.
: I didn't see it for Rcmd build, because that doesn't build the
: package, it just puts it in a tarball, but Rcmd build --binary does
: run it.
: 
: 
: - where does it go.  (I tried putting it in the same directory as
:   my DESCRIPTION file.)
: 
: It should be in the same directory as DESCRIPTION.
: 
: - is it a suitable device for handling the .Rbuildignore issue?
: 
: What's the issue exactly?
: 
: Duncan Murd

__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Building Packages on Windows using .Rbuildignore

2004-11-17 Thread Duncan Murdoch
On Wed, 17 Nov 2004 20:44:48 + (UTC), Gabor Grothendieck
[EMAIL PROTECTED] wrote :

If one does not use .Rbuildignore then with a pure R package
one can run off the original source files, in this case
in /wherever/mypkg, like this:
...without .Rbuildignore ...
R CMD install /wherever/mypkg
R CMD check /wherever/mypkg
R CMD build /wherever/mypkg
R CMD build /wherever/mypkg --binary

but if one DOES use .Rbuildignore then one must first build the
package to remove the .Rbuildignore cited files and then run off
the built files which were created by unpacking the tar.gz file.

... or what happens?  I still don't know exactly what you are claiming
goes wrong.  

It might be that the behaviour should be changed, or maybe there's an
existing workaround, but I'd like to see a clear statement of the
problem first.

Duncan Murdoch

__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] Re: [R-gui] Re: [R] The hidden costs of GPL software?

2004-11-17 Thread Duncan Murdoch
I've moved this response to r-devel, as I think it's more appropriate
there than in r-help or R-sig-GUI.

On Wed, 17 Nov 2004 15:55:11 -0500, Mike Prager
[EMAIL PROTECTED] wrote :

This has been an interesting discussion. I make the following comment with 
hesitation, since I have neither the time nor the ability to implement it 
myself.

Using CLI software, an infrequent user has trouble remembering the known 
functions needed and trouble finding new ones (especially as that user gets 
older).  What might help is an added help facility more oriented towards 
tasks, rather than structured around functions or packages.

Such a help facility might have a tree structure.

Want help?  Are you looking for information on (1) data manipulation or (2) 
analysis?  If (1), do you want to to (3) import or export data, (4) 
transform data, (5) reshape data, or (6) select data?  If (2), do you want 
to (7) fit a model or (8) make a graph?  And so on

A difficulty is the moving target problem.  A lot of the value of R
lies in the contributed packages.  A fixed help system wouldn't know
about new features of packages.

Currently we have the so-called keyword categorization of help
pages; those come somewhat close to what you're asking for.  To see
them, run help.start() to open up the HTML help, and click on
Search Engine and Keywords.  One problem is that this requires both
Java and Javascript to work properly in your browser; I think it's
pretty common that one or the other is uncooperative.  (For example, I
can't get Java to work in Firefox or IE.)

Another problem with this scheme is that the keyword list is fixed and
limited, and may not match the user's (or package writer's)
expectations.

There are also ways to add searchable words to the help topics (using
the \concept markup), but those are new and not widely used.  A full
text search might be nice, but it would be slow without some work in
advance.

Duncan Murdoch

__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] Re: [R] changing (core) function argument defaults?

2004-11-17 Thread RenE J.V. Bertin
gt;From: Patrick Connolly lt;[EMAIL PROTECTED]gt;
gt;To: quot;RenE J.V. Bertinquot; lt;[EMAIL PROTECTED]gt;
gt;Subject: Re: [R] changing (core) function argument defaults?
gt;Date: Thu, 18 Nov 2004 11:43:10 +1300
gt;
gt;On Wed, 20-Oct-2004 at 07:48PM +0200, RenE J.V. Bertin wrote:
gt;
gt;|gt; Hello,
gt;|gt;
gt;
gt;|gt; Is it possible to change the defaults for the arguments to a
gt;|gt; function, without changing the function code itself?  I'm asking
gt;|gt; because I'd like to override the default dimensions and font 
family
gt;|gt; for a graphics device. Before 2.0.0, I'd just do that with a small
gt;|gt; edit in the appropriate .R file containing the device function
gt;|gt; definition. I appears to be possible no longer. So rather than
gt;|gt; copying the definition into my own .Rprofile, it would be nice if
gt;|gt; just the defaults could be modified...
gt;
gt;I didn't notice a response to this question.  I'd like to do something
gt;similar and haven't been able to work out how to do it.
gt;
gt;
gt;best
gt;
gt;--
gt;Patrick Connolly
gt;HortResearch
gt;Mt Albert
gt;Auckland
gt;New Zealand
gt;Ph: +64-9 815 4200 x 7188

No, I haven't noticed a reply to this question neither.
Best,
René Bertin
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] Re: [R] changing (core) function argument defaults?

2004-11-17 Thread Thomas Lumley
Restricted to r-devel (it is almost never appropriate to send the same 
message to both lists).

On Thu, 18 Nov 2004, RenE J.V. Bertin wrote:
gt;From: Patrick Connolly lt;[EMAIL PROTECTED]gt;
gt;To: quot;RenE J.V. Bertinquot; lt;[EMAIL PROTECTED]gt;
gt;Subject: Re: [R] changing (core) function argument defaults?
gt;Date: Thu, 18 Nov 2004 11:43:10 +1300
gt;
gt;On Wed, 20-Oct-2004 at 07:48PM +0200, RenE J.V. Bertin wrote:
gt;
gt;|gt; Hello,
gt;|gt;
gt;
gt;|gt; Is it possible to change the defaults for the arguments to a
gt;|gt; function, without changing the function code itself?  I'm asking
gt;|gt; because I'd like to override the default dimensions and font family
gt;|gt; for a graphics device. Before 2.0.0, I'd just do that with a small
gt;|gt; edit in the appropriate .R file containing the device function
gt;|gt; definition. I appears to be possible no longer. So rather than
gt;|gt; copying the definition into my own .Rprofile, it would be nice if
gt;|gt; just the defaults could be modified...
gt;
gt;I didn't notice a response to this question.  I'd like to do something
gt;similar and haven't been able to work out how to do it.
You can write a wrapper
X11-function(display=,width=2,height=2,...){
   grDevices::X11(display,width,height,...)
}
and put that into your Rprofile.
-thomas
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Building Packages on Windows using .Rbuildignore

2004-11-17 Thread Gabor Grothendieck
Duncan Murdoch murdoch at stats.uwo.ca writes:

 
 On Wed, 17 Nov 2004 20:44:48 + (UTC), Gabor Grothendieck
 ggrothendieck at myway.com wrote :
 
 If one does not use .Rbuildignore then with a pure R package
 one can run off the original source files, in this case
 in /wherever/mypkg, like this:
 ...without .Rbuildignore ...
 R CMD install /wherever/mypkg
 R CMD check /wherever/mypkg
 R CMD build /wherever/mypkg
 R CMD build /wherever/mypkg --binary
 
 but if one DOES use .Rbuildignore then one must first build the
 package to remove the .Rbuildignore cited files and then run off
 the built files which were created by unpacking the tar.gz file.
 
 ... or what happens?  I still don't know exactly what you are claiming
 goes wrong.  

QUESTION

I am not claiming anything is wrong.  I was simply describing what
processing is needed to build a package that only uses R, noting that
such processing is different if one uses .Rbuildignore.  My question
was to ask:

- are there already scripts, makefiles or some other software or hooks
  such as configure.win to streamline this

EXAMPLE

For example, in
  http://tolstoy.newcastle.edu.au/R/help/04/11/6729.html
John Fox provided a batch file that automated package creation in the
case that there is only R code and one does not use .Rbuildignore.
I do use .Rbuildignore and need to do the analogous.   Most of my
past two posts described the manual commands that must be done in
each of these two cases to make clear what the process that I want
to streamline is and how it differs in these two cases.

DIFFERENCE BETWEEN USING .RBUILDIGNORE AND NOT

The reason that the processing is different according to whether one
uses .Rbuildignore or not is that 
  R CMD build 
takes the .Rbuildignore file into account but 
  R CMD install
  R CMD check
  R CMD build --binary 
do not take .Rbuildignore into account.  

 
 It might be that the behaviour should be changed, or maybe there's an
 existing workaround, but I'd like to see a clear statement of the
 problem first.

Certainly its desirable to streamline this whole situation with a 
makefile, script or hook or perhaps one could modify the individual
commands: R CMD install, R CMD check and R CMD build --binary to 
take .Rbuildignore into account, possibly via a switch/flag.  However,
all I was asking about is what is already there.

Thanks.

__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] Re: [R] changing (core) function argument defaults?

2004-11-17 Thread RenE J.V. Bertin
gt;Restricted to r-devel (it is almost never appropriate to send the
gt;same message to both lists).
Fine with me!
gt;X11lt;-function(display=quot;quot;,width=2,height=2,...){
gt;grDevices::X11(display,width,height,...)
gt;}
gt;
gt;and put that into your Rprofile.
Great, thanks! Is there documentation from which to find out what to put in 
that wrapper function, for an arbitrary function?

René Bertin
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Re: [R] changing (core) function argument defaults?

2004-11-17 Thread Tony Plate
Just to add to Thomas Lumley suggestion: it's generally a good idea to call 
a wrapper function it by a different name.  This way, when you forget that 
you have a wrapper function, you won't be puzzled by why the function 
doesn't behave according to the documentation, and you won't embarrass 
yourself by asking other people why there is a bug in R.  Also, if the 
function is called programmatically by other functions, those usages might 
be depending upon the standard defaults being in effect.  So, just do 
something like:

myX11-function(display=,width=2,height=2,...){
   grDevices::X11(display=display,width=width,height=height,...)
}
-- Tony Plate
At Wednesday 05:18 PM 11/17/2004, Thomas Lumley wrote:
Restricted to r-devel (it is almost never appropriate to send the same 
message to both lists).

On Thu, 18 Nov 2004, RenE J.V. Bertin wrote:
From: Patrick Connolly lt;[EMAIL PROTECTED]
To: quot;RenE J.V. Bertinquot; lt;[EMAIL PROTECTED]
Subject: Re: [R] changing (core) function argument defaults?
Date: Thu, 18 Nov 2004 11:43:10 +1300

On Wed, 20-Oct-2004 at 07:48PM +0200, RenE J.V. Bertin wrote:

| Hello,
|

| Is it possible to change the defaults for the arguments to a
| function, without changing the function code itself?  I'm asking
| because I'd like to override the default dimensions and font family
| for a graphics device. Before 2.0.0, I'd just do that with a small
| edit in the appropriate .R file containing the device function
| definition. I appears to be possible no longer. So rather than
| copying the definition into my own .Rprofile, it would be nice if
| just the defaults could be modified...

I didn't notice a response to this question.  I'd like to do something
similar and haven't been able to work out how to do it.
You can write a wrapper
X11-function(display=,width=2,height=2,...){
   grDevices::X11(display,width,height,...)
}
and put that into your Rprofile.
-thomas
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] Re: [R] Changing graphics defaults [was: changing (core) function argument defaults?]

2004-11-17 Thread Spencer Graves
 Under the S3 standard, you could make a local copy of any function 
and change the defaults in that local copy.  That may not always work 
under the S4 standard methods dispatch going to code hidden in 
namespaces.  In any event, it should be easy (and safer) to write a 
function with a slightly different name, e.g., adding a dot . to the 
end of the name, that would have different defaults and would do nothing 
but call the function of interest.  This might be safer

 I don't have any suggestions about changing graphics defaults 
other than to ask for that specifically -- e.g., by changing the subject 
line to this email. 

 hope this helps.  spencer graves
RenE J.V. Bertin wrote:
gt;From: Patrick Connolly lt;[EMAIL PROTECTED]gt;
gt;To: quot;RenE J.V. Bertinquot; lt;[EMAIL PROTECTED]gt;
gt;Subject: Re: [R] changing (core) function argument defaults?
gt;Date: Thu, 18 Nov 2004 11:43:10 +1300
gt;
gt;On Wed, 20-Oct-2004 at 07:48PM +0200, RenE J.V. Bertin wrote:
gt;
gt;|gt; Hello,
gt;|gt;
gt;
gt;|gt; Is it possible to change the defaults for the arguments to a
gt;|gt; function, without changing the function code itself?  I'm 
asking
gt;|gt; because I'd like to override the default dimensions and font 
family
gt;|gt; for a graphics device. Before 2.0.0, I'd just do that with a 
small
gt;|gt; edit in the appropriate .R file containing the device function
gt;|gt; definition. I appears to be possible no longer. So rather than
gt;|gt; copying the definition into my own .Rprofile, it would be 
nice if
gt;|gt; just the defaults could be modified...
gt;
gt;I didn't notice a response to this question.  I'd like to do 
something
gt;similar and haven't been able to work out how to do it.
gt;
gt;
gt;best
gt;
gt;--
gt;Patrick Connolly
gt;HortResearch
gt;Mt Albert
gt;Auckland
gt;New Zealand
gt;Ph: +64-9 815 4200 x 7188

No, I haven't noticed a reply to this question neither.
Best,
René Bertin
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! 
http://www.R-project.org/posting-guide.html

--
Spencer Graves, PhD, Senior Development Engineer
O:  (408)938-4420;  mobile:  (408)655-4567
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] R will not start - missing library? (PR#7377)

2004-11-17 Thread ahausknecht
Full_Name: Adam Hausknecht
Version: 2.0.1
OS: Mac OS 10.3.6
Submission from: (NULL) (129.44.182.8)


The following message was reported in the console:

dyld: /Applications/StartR.app/RAqua.app/Contents/MacOS/RAqua can't open
library: /usr/local/lib/libreadline.4.3.dylib  (No such file or directory, errno
= 2)

1. I have tried reinstalling R 2.0.1 several times but this does not fix the
problem. I also used the disk utility
to repair permissions but this did not solve the problem.

2.  Also, R 2.0.1 did RUN just after I first intalled it. However, it would not
run the next time I attempted to   
 lauch it (and the message above was written to the console).

Adam Hausknecht

__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel