[Rd] Bogus warning in splinefun (PR#13954)

2009-09-17 Thread P . V . Dunmore
Full_Name: Paul Dunmore
Version: 2.9.2
OS: Windows
Submission from: (NULL) (99.236.3.129)


The statement rm(x,y,nx,ux,o,method,iMeth) at line 95 in splinefun.R often
throws a warning because ux is not found (it is only conditionally defined at
line 35). spline.R handles this correctly, with rm(ux) at the end of the
conditional block.

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


[Rd] Memory-management crash with UTF-8 on Windows (PR#13955)

2009-09-17 Thread g . russell
--=_mixed 00289247C1257634_=
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

Dear R-Bugs,

thank you for your wonderful software, which we use a lot. We are having a =

bit of difficulty right now because it crashes sometimes with Unicode=20
characters.

Actual sessionInfo:

R version 2.9.0 (2009-04-17)=20
i386-pc-mingw32=20

locale:
LC=5FCOLLATE=3DGerman=5FGermany.1252;LC=5FCTYPE=3DGerman=5FGermany.1252;LC=
=5FMONETARY=3DGerman=5FGermany.1252;LC=5FNUMERIC=3DC;LC=5FTIME=3DGerman=5FG=
ermany.1252

attached base packages:
[1] stats graphics  grDevices utils datasets  methods   base=20

We can crash R by reading or copy-pasting the following file into it (for=20
example, Rgui --vanilla).

I see a message "Microsoft Visual C++ Runtime Library", "Runtime Error!".=20
If you do not, please let me know and I'll try installing 2.9.2 and see if =

that fixes the problem (the list of bug fixes doesn't seem to include this =

one, but I'm not sure).

Many thanks and best wishes,

George Russell

EOS Risk Management
KG EOS Holding GmbH & Co | Steindamm 71, 20099 Hamburg  | AG Hamburg HRA=20
95 748
Tel:  +49 (0)40 2850-1574 | g.russ...@eos-solutions.com
Fax:  +49 (0)40 2850-1559 | http://www.eos-solutions.com

Pers=F6nlich haftend  | EOS Holding GmbH  | AG Hamburg HRB 78 748
Gesch=E4ftsf=FChrer | Hans-Werner Scherer, Klaus Engberding, Justus=20
Hecking-Veltman, Dr. Axel Steuernagel, Dr. Andreas Witzig, Paul Leary sen.
Vorsitzender des Beirates | J=FCrgen Schulte-Laggenbeck=20

Diese E-Mail enth=E4lt vertrauliche und/oder rechtlich gesch=FCtzte=20
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail =

irrt=FCmlich erhalten haben, informieren Sie bitte sofort den Absender und =

vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte=20
Weitergabe dieser Mail ist nicht gestattet

This email may contain confidential and/or privileged in...{{dropped:16}}

--=_mixed 00289247C1257634_=--

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


Re: [Rd] Memory-management crash with UTF-8 on Windows (PR#13955)

2009-09-17 Thread Prof Brian Ripley
Without the file, we can do nothing with this, so please put it 
somewhere accessible.  Also, we need exact reproduction instructions: 
how did you tell R this was a UTF-8 file?  If you copy-pasted it, what 
did you copy it from?


The posting guide and FAQ did ask you not to report on obsolete 
versions of R, so please do test a current version before replying 
with details of where the file is.


It would also be helpful to have your exact OS, as the error appears 
to be in MSVCRT.dll, an operating system component.


On Thu, 17 Sep 2009, g.russ...@eos-solutions.com wrote:


--=_mixed 00289247C1257634_=
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

Dear R-Bugs,

thank you for your wonderful software, which we use a lot. We are having a =

bit of difficulty right now because it crashes sometimes with Unicode=20
characters.

Actual sessionInfo:

R version 2.9.0 (2009-04-17)=20
i386-pc-mingw32=20

locale:
LC=5FCOLLATE=3DGerman=5FGermany.1252;LC=5FCTYPE=3DGerman=5FGermany.1252;LC=
=5FMONETARY=3DGerman=5FGermany.1252;LC=5FNUMERIC=3DC;LC=5FTIME=3DGerman=5FG=
ermany.1252

attached base packages:
[1] stats graphics  grDevices utils datasets  methods   base=20

We can crash R by reading or copy-pasting the following file into it (for=20
example, Rgui --vanilla).

I see a message "Microsoft Visual C++ Runtime Library", "Runtime Error!".=20
If you do not, please let me know and I'll try installing 2.9.2 and see if =

that fixes the problem (the list of bug fixes doesn't seem to include this =

one, but I'm not sure).

Many thanks and best wishes,

George Russell



--
Brian D. Ripley,  rip...@stats.ox.ac.uk
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

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


[Rd] Display image in tcl/tk information window: path to file ?

2009-09-17 Thread Ulrike Groemping

Dear DevelopeRs,

for an R-Commander plugin, I want to display a pre-stored information image,
if the user presses a button. Everything works fine with the command 

tcl("image",  "create", "photo", "MaxC2.image", file="MaxC2res3image.gif")

for image creation, as long as the file entry refers to the correct location
of the file on my hard drive. How can I make this portable ? 

I currently have the image stored in the inst directory. "R CMD INSTALL
--build" moves it to the top directory in the zip file. I have no idea how
to tell R (or tcl) where to look for the file. Any help is appreciated!

Best regards,
Ulrike

*
Ulrike Groemping
BHT Berlin


-- 
View this message in context: 
http://www.nabble.com/Display-image-in-tcl-tk-information-window%3A-path-to-file---tp25490113p25490113.html
Sent from the R devel mailing list archive at Nabble.com.

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


Re: [Rd] Display image in tcl/tk information window: path to file ?

2009-09-17 Thread Romain Francois

?system.file

for example (if the file lives in inst/images of your source package)

system.file( "images", "MaxC2res3image.gif", package = "yourpackage" )

Romain

On 09/17/2009 02:09 PM, Ulrike Groemping wrote:

Dear DevelopeRs,

for an R-Commander plugin, I want to display a pre-stored information image,
if the user presses a button. Everything works fine with the command

tcl("image",  "create", "photo", "MaxC2.image", file="MaxC2res3image.gif")

for image creation, as long as the file entry refers to the correct location
of the file on my hard drive. How can I make this portable ?

I currently have the image stored in the inst directory. "R CMD INSTALL
--build" moves it to the top directory in the zip file. I have no idea how
to tell R (or tcl) where to look for the file. Any help is appreciated!

Best regards,
Ulrike

*
Ulrike Groemping
BHT Berlin



--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/yw8E : New R package : sos
|- http://tr.im/y8y0 : search the graph gallery from R
`- http://tr.im/y8wY : new R package : ant

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


Re: [Rd] Display image in tcl/tk information window: path to file ?

2009-09-17 Thread John Fox
Dear Ulrike,

If I understand correctly what you want to do, the image file is stored in
your package. If so, you can use the .path.package() function to locate your
package on the file system. For example, the Rcmdr uses the following code
to find its etc subdirectory: file.path(.path.package(package="Rcmdr")[1],
"etc").

I hope this helps,
 John

--
John Fox, Professor
Department of Sociology
McMaster University
Hamilton, Ontario, Canada
web: socserv.mcmaster.ca/jfox


> -Original Message-
> From: r-devel-boun...@r-project.org [mailto:r-devel-boun...@r-project.org]
On
> Behalf Of Ulrike Groemping
> Sent: September-17-09 8:10 AM
> To: r-devel@r-project.org
> Subject: [Rd] Display image in tcl/tk information window: path to file ?
> 
> 
> Dear DevelopeRs,
> 
> for an R-Commander plugin, I want to display a pre-stored information
image,
> if the user presses a button. Everything works fine with the command
> 
> tcl("image",  "create", "photo", "MaxC2.image", file="MaxC2res3image.gif")
> 
> for image creation, as long as the file entry refers to the correct
location
> of the file on my hard drive. How can I make this portable ?
> 
> I currently have the image stored in the inst directory. "R CMD INSTALL
> --build" moves it to the top directory in the zip file. I have no idea how
> to tell R (or tcl) where to look for the file. Any help is appreciated!
> 
> Best regards,
> Ulrike
> 
> *
> Ulrike Groemping
> BHT Berlin
> 
> 
> --
> View this message in context:
http://www.nabble.com/Display-image-in-tcl-tk-
> information-window%3A-path-to-file---tp25490113p25490113.html
> Sent from the R devel mailing list archive at Nabble.com.
> 
> __
> 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


[Rd] Windows Source Install Without Rtools

2009-09-17 Thread Gabor Grothendieck
Regarding this from this week:

2.10.0 PACKAGE INSTALLATION (Windows)
It is possible to install source packages without Rtools provided they
have no compiled code and no configure.win or cleanup.win script.

- what are the instructions to perform such a source install?
- I assume one still needs MiKTeX -- is that right?
- is the source install done from a tar.gz (in which case one would
need tar to create it) or directly from the source directory tree?

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


[Rd] Antwort: Re: Memory-management crash with UTF-8 on Windows (PR#13956)

2009-09-17 Thread g . russell
Dear Professor Ripley,
a. I apologise for not including the file. I sent the E-Mail to=20
r-b...@r-project.org with an attachment, but the attachment evidently got=20
lost. However the text of the file is as follows:

--- CUT HERE 
gctorture()
characters <- intToUtf8(200:300)
indices <- rep(sequence(5),10)
substrings <- substring(characters,indices,indices + 5)
factor(substrings)
--- CUT HERE ---

b. There is no Unicode file involved, the Unicode comes from the=20
"intToUtf8" function.
c. The operating system is Windows XP Professional (2002), Service Pack 2.
d. I have just tried installing R 2.9.2. This also crashes.

Best wishes,

George Russell

EOS Risk Management
KG EOS Holding GmbH & Co | Steindamm 71, 20099 Hamburg  | AG Hamburg HRA=20
95 748
Tel:  +49 (0)40 2850-1574 | g.russ...@eos-solutions.com
Fax:  +49 (0)40 2850-1559 | http://www.eos-solutions.com

Pers=F6nlich haftend  | EOS Holding GmbH  | AG Hamburg HRB 78 748
Gesch=E4ftsf=FChrer | Hans-Werner Scherer, Klaus Engberding, Justus=20
Hecking-Veltman, Dr. Axel Steuernagel, Dr. Andreas Witzig, Paul Leary sen.
Vorsitzender des Beirates | J=FCrgen Schulte-Laggenbeck=20

Diese E-Mail enth=E4lt vertrauliche und/oder rechtlich gesch=FCtzte=20
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail =

irrt=FCmlich erhalten haben, informieren Sie bitte sofort den Absender und =

vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte=20
Weitergabe dieser Mail ist nicht gestattet

This email may contain confidential and/or privileged information. If you=20
are not the intended recipient or have received this email in error,=20
please notify the sender immediately and destroy this email. Any=20
unauthorized copying, disclosure or distribution of the material in this=20
email is strictly forbidden.=20



Prof Brian Ripley =20
17.09.2009 10:39

An
g.russ...@eos-solutions.com
Kopie
r-de...@stat.math.ethz.ch, r-b...@r-project.org
Thema
Re: [Rd] Memory-management crash with UTF-8 on Windows (PR#13955)






Without the file, we can do nothing with this, so please put it=20
somewhere accessible.  Also, we need exact reproduction instructions:=20
how did you tell R this was a UTF-8 file?  If you copy-pasted it, what=20
did you copy it from?

The posting guide and FAQ did ask you not to report on obsolete=20
versions of R, so please do test a current version before replying=20
with details of where the file is.

It would also be helpful to have your exact OS, as the error appears=20
to be in MSVCRT.dll, an operating system component.

On Thu, 17 Sep 2009, g.russ...@eos-solutions.com wrote:

> --=3D=5Fmixed 00289247C1257634=5F=3D
> Content-Type: text/plain; charset=3D"ISO-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> Dear R-Bugs,
>
> thank you for your wonderful software, which we use a lot. We are having =

a =3D
>
> bit of difficulty right now because it crashes sometimes with Unicode=3D20
> characters.
>
> Actual sessionInfo:
>
> R version 2.9.0 (2009-04-17)=3D20
> i386-pc-mingw32=3D20
>
> locale:
>=20
LC=3D5FCOLLATE=3D3DGerman=3D5FGermany.1252;LC=3D5FCTYPE=3D3DGerman=3D5FGerm=
any.1252;LC=3D
>=20
=3D5FMONETARY=3D3DGerman=3D5FGermany.1252;LC=3D5FNUMERIC=3D3DC;LC=3D5FTIME=
=3D3DGerman=3D5FG=3D
> ermany.1252
>
> attached base packages:
> [1] stats graphics  grDevices utils datasets  methods   base=3D20
>
> We can crash R by reading or copy-pasting the following file into it=20
(for=3D20
> example, Rgui --vanilla).
>
> I see a message "Microsoft Visual C++ Runtime Library", "Runtime=20
Error!".=3D20
> If you do not, please let me know and I'll try installing 2.9.2 and see=20
if =3D
>
> that fixes the problem (the list of bug fixes doesn't seem to include=20
this =3D
>
> one, but I'm not sure).
>
> Many thanks and best wishes,
>
> George Russell


--=20
Brian D. Ripley,  rip...@stats.ox.ac.uk
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

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


Re: [Rd] Windows Source Install Without Rtools

2009-09-17 Thread Dirk Eddelbuettel

On 17 September 2009 at 11:32, Gabor Grothendieck wrote:
| Regarding this from this week:
| 
| 2.10.0 PACKAGE INSTALLATION (Windows)
| It is possible to install source packages without Rtools provided they
| have no compiled code and no configure.win or cleanup.win script.
| 
| - what are the instructions to perform such a source install?
| - I assume one still needs MiKTeX -- is that right?
| - is the source install done from a tar.gz (in which case one would
| need tar to create it) or directly from the source directory tree?

You may want to stick this 

  http://developer.r-project.org/blosxom.cgi/R-devel

into your RSS reader so that you get daily summaries of changes.  

I don't follow this too religiously (as I typically only built r-devel once we 
have
alpha/beta/rc candidates) but even I am aware that 

  a) dynamic .Rd conversion at runtime, so Miktex may no longer be needed

  b) untgz.exe on Windows to read (compressed) tarballs

Dirk

-- 
Three out of two people have difficulties with fractions.

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


Re: [Rd] Windows Source Install Without Rtools

2009-09-17 Thread Gabor Grothendieck
Thanks. Perhaps someone in the core group can
still provide explicit information on how to install such
a package.

On Thu, Sep 17, 2009 at 12:19 PM, Dirk Eddelbuettel  wrote:
>
> On 17 September 2009 at 11:32, Gabor Grothendieck wrote:
> | Regarding this from this week:
> |
> | 2.10.0 PACKAGE INSTALLATION (Windows)
> | It is possible to install source packages without Rtools provided they
> | have no compiled code and no configure.win or cleanup.win script.
> |
> | - what are the instructions to perform such a source install?
> | - I assume one still needs MiKTeX -- is that right?
> | - is the source install done from a tar.gz (in which case one would
> | need tar to create it) or directly from the source directory tree?
>
> You may want to stick this
>
>      http://developer.r-project.org/blosxom.cgi/R-devel
>
> into your RSS reader so that you get daily summaries of changes.
>
> I don't follow this too religiously (as I typically only built r-devel once 
> we have
> alpha/beta/rc candidates) but even I am aware that
>
>      a) dynamic .Rd conversion at runtime, so Miktex may no longer be needed
>
>      b) untgz.exe on Windows to read (compressed) tarballs
>
> Dirk
>
> --
> Three out of two people have difficulties with fractions.
>

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


Re: [Rd] Windows Source Install Without Rtools

2009-09-17 Thread Simon Urbanek


On Sep 17, 2009, at 12:43 , Gabor Grothendieck wrote:


Thanks. Perhaps someone in the core group can
still provide explicit information on how to install such
a package.



R CMD INSTALL

(see R --help and it has been *the* way to install packages for quite  
a while so I'm not sure how more explicit we have to make it...)


Cheers,
Simon



On Thu, Sep 17, 2009 at 12:19 PM, Dirk Eddelbuettel   
wrote:


On 17 September 2009 at 11:32, Gabor Grothendieck wrote:
| Regarding this from this week:
|
| 2.10.0 PACKAGE INSTALLATION (Windows)
| It is possible to install source packages without Rtools provided  
they

| have no compiled code and no configure.win or cleanup.win script.
|
| - what are the instructions to perform such a source install?
| - I assume one still needs MiKTeX -- is that right?
| - is the source install done from a tar.gz (in which case one would
| need tar to create it) or directly from the source directory tree?

You may want to stick this

 http://developer.r-project.org/blosxom.cgi/R-devel

into your RSS reader so that you get daily summaries of changes.

I don't follow this too religiously (as I typically only built r- 
devel once we have

alpha/beta/rc candidates) but even I am aware that

 a) dynamic .Rd conversion at runtime, so Miktex may no longer  
be needed


 b) untgz.exe on Windows to read (compressed) tarballs

Dirk

--
Three out of two people have difficulties with fractions.



__
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] Windows Source Install Without Rtools

2009-09-17 Thread Gabor Grothendieck
Note that that is not currently the recommended way.

Also, what comes after INSTALL? The source .tar.gz name?
The pathname to the source directory?

On Thu, Sep 17, 2009 at 3:58 PM, Simon Urbanek
 wrote:
>
> On Sep 17, 2009, at 12:43 , Gabor Grothendieck wrote:
>
>> Thanks. Perhaps someone in the core group can
>> still provide explicit information on how to install such
>> a package.
>>
>
> R CMD INSTALL
>
> (see R --help and it has been *the* way to install packages for quite a
> while so I'm not sure how more explicit we have to make it...)
>
> Cheers,
> Simon
>
>
>
>> On Thu, Sep 17, 2009 at 12:19 PM, Dirk Eddelbuettel 
>> wrote:
>>>
>>> On 17 September 2009 at 11:32, Gabor Grothendieck wrote:
>>> | Regarding this from this week:
>>> |
>>> | 2.10.0 PACKAGE INSTALLATION (Windows)
>>> | It is possible to install source packages without Rtools provided they
>>> | have no compiled code and no configure.win or cleanup.win script.
>>> |
>>> | - what are the instructions to perform such a source install?
>>> | - I assume one still needs MiKTeX -- is that right?
>>> | - is the source install done from a tar.gz (in which case one would
>>> | need tar to create it) or directly from the source directory tree?
>>>
>>> You may want to stick this
>>>
>>>     http://developer.r-project.org/blosxom.cgi/R-devel
>>>
>>> into your RSS reader so that you get daily summaries of changes.
>>>
>>> I don't follow this too religiously (as I typically only built r-devel
>>> once we have
>>> alpha/beta/rc candidates) but even I am aware that
>>>
>>>     a) dynamic .Rd conversion at runtime, so Miktex may no longer be
>>> needed
>>>
>>>     b) untgz.exe on Windows to read (compressed) tarballs
>>>
>>> Dirk
>>>
>>> --
>>> Three out of two people have difficulties with fractions.
>>>
>>
>> __
>> 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] Windows Source Install Without Rtools

2009-09-17 Thread Simon Urbanek

On Sep 17, 2009, at 16:09 , Gabor Grothendieck wrote:


Note that that is not currently the recommended way.



Now that would be a surprise to me - to quote R-admin: 6.3.1: "R CMD  
INSTALL works in Windows to install source packages if you have the  
source-code package files".




Also, what comes after INSTALL? The source .tar.gz name?
The pathname to the source directory?




R CMD INSTALL --help

Usage: R CMD INSTALL [options] pkgs

Install the add-on packages specified by pkgs.  The elements of pkgs can
be relative or absolute paths to directories with the package (bundle)
sources, or to gzipped package 'tar' archives.  The library tree
[...]

Cheers,
S



On Thu, Sep 17, 2009 at 3:58 PM, Simon Urbanek
 wrote:


On Sep 17, 2009, at 12:43 , Gabor Grothendieck wrote:


Thanks. Perhaps someone in the core group can
still provide explicit information on how to install such
a package.



R CMD INSTALL

(see R --help and it has been *the* way to install packages for  
quite a

while so I'm not sure how more explicit we have to make it...)

Cheers,
Simon




On Thu, Sep 17, 2009 at 12:19 PM, Dirk Eddelbuettel 
wrote:


On 17 September 2009 at 11:32, Gabor Grothendieck wrote:
| Regarding this from this week:
|
| 2.10.0 PACKAGE INSTALLATION (Windows)
| It is possible to install source packages without Rtools  
provided they

| have no compiled code and no configure.win or cleanup.win script.
|
| - what are the instructions to perform such a source install?
| - I assume one still needs MiKTeX -- is that right?
| - is the source install done from a tar.gz (in which case one  
would
| need tar to create it) or directly from the source directory  
tree?


You may want to stick this

http://developer.r-project.org/blosxom.cgi/R-devel

into your RSS reader so that you get daily summaries of changes.

I don't follow this too religiously (as I typically only built r- 
devel

once we have
alpha/beta/rc candidates) but even I am aware that

a) dynamic .Rd conversion at runtime, so Miktex may no longer  
be

needed

b) untgz.exe on Windows to read (compressed) tarballs

Dirk

--
Three out of two people have difficulties with fractions.



__
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] Windows Source Install Without Rtools

2009-09-17 Thread Gabor Grothendieck
Maybe on other platforms but on Windows
help does not get linked properly with all
variations.

On Thu, Sep 17, 2009 at 4:27 PM, Simon Urbanek
 wrote:
> On Sep 17, 2009, at 16:09 , Gabor Grothendieck wrote:
>
>> Note that that is not currently the recommended way.
>>
>
> Now that would be a surprise to me - to quote R-admin: 6.3.1: "R CMD INSTALL
> works in Windows to install source packages if you have the source-code
> package files".
>
>
>> Also, what comes after INSTALL? The source .tar.gz name?
>> The pathname to the source directory?
>>
>
>
> R CMD INSTALL --help
>
> Usage: R CMD INSTALL [options] pkgs
>
> Install the add-on packages specified by pkgs.  The elements of pkgs can
> be relative or absolute paths to directories with the package (bundle)
> sources, or to gzipped package 'tar' archives.  The library tree
> [...]
>
> Cheers,
> S
>
>
>> On Thu, Sep 17, 2009 at 3:58 PM, Simon Urbanek
>>  wrote:
>>>
>>> On Sep 17, 2009, at 12:43 , Gabor Grothendieck wrote:
>>>
 Thanks. Perhaps someone in the core group can
 still provide explicit information on how to install such
 a package.

>>>
>>> R CMD INSTALL
>>>
>>> (see R --help and it has been *the* way to install packages for quite a
>>> while so I'm not sure how more explicit we have to make it...)
>>>
>>> Cheers,
>>> Simon
>>>
>>>
>>>
 On Thu, Sep 17, 2009 at 12:19 PM, Dirk Eddelbuettel 
 wrote:
>
> On 17 September 2009 at 11:32, Gabor Grothendieck wrote:
> | Regarding this from this week:
> |
> | 2.10.0 PACKAGE INSTALLATION (Windows)
> | It is possible to install source packages without Rtools provided
> they
> | have no compiled code and no configure.win or cleanup.win script.
> |
> | - what are the instructions to perform such a source install?
> | - I assume one still needs MiKTeX -- is that right?
> | - is the source install done from a tar.gz (in which case one would
> | need tar to create it) or directly from the source directory tree?
>
> You may want to stick this
>
>    http://developer.r-project.org/blosxom.cgi/R-devel
>
> into your RSS reader so that you get daily summaries of changes.
>
> I don't follow this too religiously (as I typically only built r-devel
> once we have
> alpha/beta/rc candidates) but even I am aware that
>
>    a) dynamic .Rd conversion at runtime, so Miktex may no longer be
> needed
>
>    b) untgz.exe on Windows to read (compressed) tarballs
>
> Dirk
>
> --
> Three out of two people have difficulties with fractions.
>

 __
 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] Windows Source Install Without Rtools

2009-09-17 Thread Duncan Murdoch

On 17/09/2009 4:40 PM, Gabor Grothendieck wrote:

Maybe on other platforms but on Windows
help does not get linked properly with all
variations.


I think you are thinking of building binaries, not installing packages. 
   Generally the only variation we advise against is


R CMD build --binary

Everything else should work fine, as far as I know.

Duncan Murdoch



On Thu, Sep 17, 2009 at 4:27 PM, Simon Urbanek
 wrote:

On Sep 17, 2009, at 16:09 , Gabor Grothendieck wrote:


Note that that is not currently the recommended way.


Now that would be a surprise to me - to quote R-admin: 6.3.1: "R CMD INSTALL
works in Windows to install source packages if you have the source-code
package files".



Also, what comes after INSTALL? The source .tar.gz name?
The pathname to the source directory?



R CMD INSTALL --help

Usage: R CMD INSTALL [options] pkgs

Install the add-on packages specified by pkgs.  The elements of pkgs can
be relative or absolute paths to directories with the package (bundle)
sources, or to gzipped package 'tar' archives.  The library tree
[...]

Cheers,
S



On Thu, Sep 17, 2009 at 3:58 PM, Simon Urbanek
 wrote:

On Sep 17, 2009, at 12:43 , Gabor Grothendieck wrote:


Thanks. Perhaps someone in the core group can
still provide explicit information on how to install such
a package.


R CMD INSTALL

(see R --help and it has been *the* way to install packages for quite a
while so I'm not sure how more explicit we have to make it...)

Cheers,
Simon




On Thu, Sep 17, 2009 at 12:19 PM, Dirk Eddelbuettel 
wrote:

On 17 September 2009 at 11:32, Gabor Grothendieck wrote:
| Regarding this from this week:
|
| 2.10.0 PACKAGE INSTALLATION (Windows)
| It is possible to install source packages without Rtools provided
they
| have no compiled code and no configure.win or cleanup.win script.
|
| - what are the instructions to perform such a source install?
| - I assume one still needs MiKTeX -- is that right?
| - is the source install done from a tar.gz (in which case one would
| need tar to create it) or directly from the source directory tree?

You may want to stick this

   http://developer.r-project.org/blosxom.cgi/R-devel

into your RSS reader so that you get daily summaries of changes.

I don't follow this too religiously (as I typically only built r-devel
once we have
alpha/beta/rc candidates) but even I am aware that

   a) dynamic .Rd conversion at runtime, so Miktex may no longer be
needed

   b) untgz.exe on Windows to read (compressed) tarballs

Dirk

--
Three out of two people have difficulties with fractions.


__
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


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


Re: [Rd] Windows Source Install Without Rtools

2009-09-17 Thread Duncan Murdoch

On 17/09/2009 5:55 PM, Duncan Murdoch wrote:

On 17/09/2009 4:40 PM, Gabor Grothendieck wrote:

Maybe on other platforms but on Windows
help does not get linked properly with all
variations.


I think you are thinking of building binaries, not installing packages. 
Generally the only variation we advise against is


R CMD build --binary

Everything else should work fine, as far as I know.


And I forgot to add:  the way HTML help is handled in the upcoming 
2.10.0 is different, so I suspect R CMD build --binary will work.  I 
haven't tested it though...


Duncan Murdoch



Duncan Murdoch


On Thu, Sep 17, 2009 at 4:27 PM, Simon Urbanek
 wrote:

On Sep 17, 2009, at 16:09 , Gabor Grothendieck wrote:


Note that that is not currently the recommended way.


Now that would be a surprise to me - to quote R-admin: 6.3.1: "R CMD INSTALL
works in Windows to install source packages if you have the source-code
package files".



Also, what comes after INSTALL? The source .tar.gz name?
The pathname to the source directory?


R CMD INSTALL --help

Usage: R CMD INSTALL [options] pkgs

Install the add-on packages specified by pkgs.  The elements of pkgs can
be relative or absolute paths to directories with the package (bundle)
sources, or to gzipped package 'tar' archives.  The library tree
[...]

Cheers,
S



On Thu, Sep 17, 2009 at 3:58 PM, Simon Urbanek
 wrote:

On Sep 17, 2009, at 12:43 , Gabor Grothendieck wrote:


Thanks. Perhaps someone in the core group can
still provide explicit information on how to install such
a package.


R CMD INSTALL

(see R --help and it has been *the* way to install packages for quite a
while so I'm not sure how more explicit we have to make it...)

Cheers,
Simon




On Thu, Sep 17, 2009 at 12:19 PM, Dirk Eddelbuettel 
wrote:

On 17 September 2009 at 11:32, Gabor Grothendieck wrote:
| Regarding this from this week:
|
| 2.10.0 PACKAGE INSTALLATION (Windows)
| It is possible to install source packages without Rtools provided
they
| have no compiled code and no configure.win or cleanup.win script.
|
| - what are the instructions to perform such a source install?
| - I assume one still needs MiKTeX -- is that right?
| - is the source install done from a tar.gz (in which case one would
| need tar to create it) or directly from the source directory tree?

You may want to stick this

   http://developer.r-project.org/blosxom.cgi/R-devel

into your RSS reader so that you get daily summaries of changes.

I don't follow this too religiously (as I typically only built r-devel
once we have
alpha/beta/rc candidates) but even I am aware that

   a) dynamic .Rd conversion at runtime, so Miktex may no longer be
needed

   b) untgz.exe on Windows to read (compressed) tarballs

Dirk

--
Three out of two people have difficulties with fractions.


__
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





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


Re: [Rd] Windows Source Install Without Rtools

2009-09-17 Thread Gabor Grothendieck
Does that mean that

   Rcmd INSTALL --binary myPackage/

is still ok or should one use:

   Rcmd INSTALL myPackage/

without --binary and is this advice the same with and without Rtools?

Also, as there is potential confusion here could the combinations of flags
that are not recommended result in a warning? In the latter case at least
one knows right off that its not the thing to do and can immediately abort
and try something else if they don't want to suffer the consequences of
bad help linking.

On Thu, Sep 17, 2009 at 5:57 PM, Duncan Murdoch  wrote:
> On 17/09/2009 5:55 PM, Duncan Murdoch wrote:
>>
>> On 17/09/2009 4:40 PM, Gabor Grothendieck wrote:
>>>
>>> Maybe on other platforms but on Windows
>>> help does not get linked properly with all
>>> variations.
>>
>> I think you are thinking of building binaries, not installing packages.
>>  Generally the only variation we advise against is
>>
>> R CMD build --binary
>>
>> Everything else should work fine, as far as I know.
>
> And I forgot to add:  the way HTML help is handled in the upcoming 2.10.0 is
> different, so I suspect R CMD build --binary will work.  I haven't tested it
> though...
>
> Duncan Murdoch
>
>>
>> Duncan Murdoch
>>
>>> On Thu, Sep 17, 2009 at 4:27 PM, Simon Urbanek
>>>  wrote:

 On Sep 17, 2009, at 16:09 , Gabor Grothendieck wrote:

> Note that that is not currently the recommended way.
>
 Now that would be a surprise to me - to quote R-admin: 6.3.1: "R CMD
 INSTALL
 works in Windows to install source packages if you have the source-code
 package files".


> Also, what comes after INSTALL? The source .tar.gz name?
> The pathname to the source directory?
>
 R CMD INSTALL --help

 Usage: R CMD INSTALL [options] pkgs

 Install the add-on packages specified by pkgs.  The elements of pkgs can
 be relative or absolute paths to directories with the package (bundle)
 sources, or to gzipped package 'tar' archives.  The library tree
 [...]

 Cheers,
 S


> On Thu, Sep 17, 2009 at 3:58 PM, Simon Urbanek
>  wrote:
>>
>> On Sep 17, 2009, at 12:43 , Gabor Grothendieck wrote:
>>
>>> Thanks. Perhaps someone in the core group can
>>> still provide explicit information on how to install such
>>> a package.
>>>
>> R CMD INSTALL
>>
>> (see R --help and it has been *the* way to install packages for quite
>> a
>> while so I'm not sure how more explicit we have to make it...)
>>
>> Cheers,
>> Simon
>>
>>
>>
>>> On Thu, Sep 17, 2009 at 12:19 PM, Dirk Eddelbuettel 
>>> wrote:

 On 17 September 2009 at 11:32, Gabor Grothendieck wrote:
 | Regarding this from this week:
 |
 | 2.10.0 PACKAGE INSTALLATION (Windows)
 | It is possible to install source packages without Rtools provided
 they
 | have no compiled code and no configure.win or cleanup.win script.
 |
 | - what are the instructions to perform such a source install?
 | - I assume one still needs MiKTeX -- is that right?
 | - is the source install done from a tar.gz (in which case one
 would
 | need tar to create it) or directly from the source directory tree?

 You may want to stick this

   http://developer.r-project.org/blosxom.cgi/R-devel

 into your RSS reader so that you get daily summaries of changes.

 I don't follow this too religiously (as I typically only built
 r-devel
 once we have
 alpha/beta/rc candidates) but even I am aware that

   a) dynamic .Rd conversion at runtime, so Miktex may no longer be
 needed

   b) untgz.exe on Windows to read (compressed) tarballs

 Dirk

 --
 Three out of two people have difficulties with fractions.

>>> __
>>> 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
>>
>>
>
>

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


Re: [Rd] Windows Source Install Without Rtools

2009-09-17 Thread Duncan Murdoch

Gabor Grothendieck wrote:

Does that mean that

   Rcmd INSTALL --binary myPackage/

is still ok or should one use:
  


No, that has never worked.  Please follow Simon's advice, and read the 
manual.


Duncan Murdoch

   Rcmd INSTALL myPackage/

without --binary and is this advice the same with and without Rtools?

Also, as there is potential confusion here could the combinations of flags
that are not recommended result in a warning? In the latter case at least
one knows right off that its not the thing to do and can immediately abort
and try something else if they don't want to suffer the consequences of
bad help linking.

On Thu, Sep 17, 2009 at 5:57 PM, Duncan Murdoch  wrote:
  

On 17/09/2009 5:55 PM, Duncan Murdoch wrote:


On 17/09/2009 4:40 PM, Gabor Grothendieck wrote:
  

Maybe on other platforms but on Windows
help does not get linked properly with all
variations.


I think you are thinking of building binaries, not installing packages.
 Generally the only variation we advise against is

R CMD build --binary

Everything else should work fine, as far as I know.
  

And I forgot to add:  the way HTML help is handled in the upcoming 2.10.0 is
different, so I suspect R CMD build --binary will work.  I haven't tested it
though...

Duncan Murdoch



Duncan Murdoch

  

On Thu, Sep 17, 2009 at 4:27 PM, Simon Urbanek
 wrote:


On Sep 17, 2009, at 16:09 , Gabor Grothendieck wrote:

  

Note that that is not currently the recommended way.



Now that would be a surprise to me - to quote R-admin: 6.3.1: "R CMD
INSTALL
works in Windows to install source packages if you have the source-code
package files".


  

Also, what comes after INSTALL? The source .tar.gz name?
The pathname to the source directory?



R CMD INSTALL --help

Usage: R CMD INSTALL [options] pkgs

Install the add-on packages specified by pkgs.  The elements of pkgs can
be relative or absolute paths to directories with the package (bundle)
sources, or to gzipped package 'tar' archives.  The library tree
[...]

Cheers,
S


  

On Thu, Sep 17, 2009 at 3:58 PM, Simon Urbanek
 wrote:


On Sep 17, 2009, at 12:43 , Gabor Grothendieck wrote:

  

Thanks. Perhaps someone in the core group can
still provide explicit information on how to install such
a package.



R CMD INSTALL

(see R --help and it has been *the* way to install packages for quite
a
while so I'm not sure how more explicit we have to make it...)

Cheers,
Simon



  

On Thu, Sep 17, 2009 at 12:19 PM, Dirk Eddelbuettel 
wrote:


On 17 September 2009 at 11:32, Gabor Grothendieck wrote:
| Regarding this from this week:
|
| 2.10.0 PACKAGE INSTALLATION (Windows)
| It is possible to install source packages without Rtools provided
they
| have no compiled code and no configure.win or cleanup.win script.
|
| - what are the instructions to perform such a source install?
| - I assume one still needs MiKTeX -- is that right?
| - is the source install done from a tar.gz (in which case one
would
| need tar to create it) or directly from the source directory tree?

You may want to stick this

  http://developer.r-project.org/blosxom.cgi/R-devel

into your RSS reader so that you get daily summaries of changes.

I don't follow this too religiously (as I typically only built
r-devel
once we have
alpha/beta/rc candidates) but even I am aware that

  a) dynamic .Rd conversion at runtime, so Miktex may no longer be
needed

  b) untgz.exe on Windows to read (compressed) tarballs

Dirk

--
Three out of two people have difficulties with fractions.

  

__
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

  




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


Re: [Rd] Windows Source Install Without Rtools

2009-09-17 Thread Gabor Grothendieck
I meant to write:

Rcmd INSTALL --build myPackage/

vs.

Rcmd INSTALL myPackage/

You, yourself, have mentioned the problem of linking help
pages on r-devel within the last few months:

http://tolstoy.newcastle.edu.au/R/e6/devel/09/05/1721.html

and now that this is all changing it would be helpful to have comments
on what now works best on Windows with the new change.

On Thu, Sep 17, 2009 at 6:32 PM, Duncan Murdoch  wrote:
> Gabor Grothendieck wrote:
>>
>> Does that mean that
>>
>>   Rcmd INSTALL --binary myPackage/
>>
>> is still ok or should one use:
>>
>
> No, that has never worked.  Please follow Simon's advice, and read the
> manual.
>
> Duncan Murdoch
>>
>>   Rcmd INSTALL myPackage/
>>
>> without --binary and is this advice the same with and without Rtools?
>>
>> Also, as there is potential confusion here could the combinations of flags
>> that are not recommended result in a warning? In the latter case at least
>> one knows right off that its not the thing to do and can immediately abort
>> and try something else if they don't want to suffer the consequences of
>> bad help linking.
>>
>> On Thu, Sep 17, 2009 at 5:57 PM, Duncan Murdoch 
>> wrote:
>>
>>>
>>> On 17/09/2009 5:55 PM, Duncan Murdoch wrote:
>>>

 On 17/09/2009 4:40 PM, Gabor Grothendieck wrote:

>
> Maybe on other platforms but on Windows
> help does not get linked properly with all
> variations.
>

 I think you are thinking of building binaries, not installing packages.
  Generally the only variation we advise against is

 R CMD build --binary

 Everything else should work fine, as far as I know.

>>>
>>> And I forgot to add:  the way HTML help is handled in the upcoming 2.10.0
>>> is
>>> different, so I suspect R CMD build --binary will work.  I haven't tested
>>> it
>>> though...
>>>
>>> Duncan Murdoch
>>>
>>>

 Duncan Murdoch


>
> On Thu, Sep 17, 2009 at 4:27 PM, Simon Urbanek
>  wrote:
>
>>
>> On Sep 17, 2009, at 16:09 , Gabor Grothendieck wrote:
>>
>>
>>>
>>> Note that that is not currently the recommended way.
>>>
>>>
>>
>> Now that would be a surprise to me - to quote R-admin: 6.3.1: "R CMD
>> INSTALL
>> works in Windows to install source packages if you have the
>> source-code
>> package files".
>>
>>
>>
>>>
>>> Also, what comes after INSTALL? The source .tar.gz name?
>>> The pathname to the source directory?
>>>
>>>
>>
>> R CMD INSTALL --help
>>
>> Usage: R CMD INSTALL [options] pkgs
>>
>> Install the add-on packages specified by pkgs.  The elements of pkgs
>> can
>> be relative or absolute paths to directories with the package (bundle)
>> sources, or to gzipped package 'tar' archives.  The library tree
>> [...]
>>
>> Cheers,
>> S
>>
>>
>>
>>>
>>> On Thu, Sep 17, 2009 at 3:58 PM, Simon Urbanek
>>>  wrote:
>>>

 On Sep 17, 2009, at 12:43 , Gabor Grothendieck wrote:


>
> Thanks. Perhaps someone in the core group can
> still provide explicit information on how to install such
> a package.
>
>

 R CMD INSTALL

 (see R --help and it has been *the* way to install packages for
 quite
 a
 while so I'm not sure how more explicit we have to make it...)

 Cheers,
 Simon




>
> On Thu, Sep 17, 2009 at 12:19 PM, Dirk Eddelbuettel
> 
> wrote:
>
>>
>> On 17 September 2009 at 11:32, Gabor Grothendieck wrote:
>> | Regarding this from this week:
>> |
>> | 2.10.0 PACKAGE INSTALLATION (Windows)
>> | It is possible to install source packages without Rtools
>> provided
>> they
>> | have no compiled code and no configure.win or cleanup.win
>> script.
>> |
>> | - what are the instructions to perform such a source install?
>> | - I assume one still needs MiKTeX -- is that right?
>> | - is the source install done from a tar.gz (in which case one
>> would
>> | need tar to create it) or directly from the source directory
>> tree?
>>
>> You may want to stick this
>>
>>  http://developer.r-project.org/blosxom.cgi/R-devel
>>
>> into your RSS reader so that you get daily summaries of changes.
>>
>> I don't follow this too religiously (as I typically only built
>> r-devel
>> once we have
>> alpha/beta/rc candidates) but even I am aware that
>>
>>  a) dynamic .Rd conversion at runtime, so Miktex may no longer be
>> needed
>>
>>  b) untgz.exe on Windows to read (compressed) tarballs
>>
>> Dirk

Re: [Rd] Windows Source Install Without Rtools

2009-09-17 Thread Duncan Murdoch

On 17/09/2009 7:47 PM, Gabor Grothendieck wrote:

I meant to write:

Rcmd INSTALL --build myPackage/

vs.

Rcmd INSTALL myPackage/

You, yourself, have mentioned the problem of linking help
pages on r-devel within the last few months:


More recently than that.  This is the problem I was referring to in the 
messages you quote below.



http://tolstoy.newcastle.edu.au/R/e6/devel/09/05/1721.html

and now that this is all changing it would be helpful to have comments
on what now works best on Windows with the new change.


Why don't you try the new system, and report on what goes wrong?  There 
is still time to fix it, so writing advice on what doesn't work seems a 
little premature.


Duncan Murdoch



On Thu, Sep 17, 2009 at 6:32 PM, Duncan Murdoch  wrote:

Gabor Grothendieck wrote:

Does that mean that

  Rcmd INSTALL --binary myPackage/

is still ok or should one use:


No, that has never worked.  Please follow Simon's advice, and read the
manual.

Duncan Murdoch

  Rcmd INSTALL myPackage/

without --binary and is this advice the same with and without Rtools?

Also, as there is potential confusion here could the combinations of flags
that are not recommended result in a warning? In the latter case at least
one knows right off that its not the thing to do and can immediately abort
and try something else if they don't want to suffer the consequences of
bad help linking.

On Thu, Sep 17, 2009 at 5:57 PM, Duncan Murdoch 
wrote:


On 17/09/2009 5:55 PM, Duncan Murdoch wrote:


On 17/09/2009 4:40 PM, Gabor Grothendieck wrote:


Maybe on other platforms but on Windows
help does not get linked properly with all
variations.


I think you are thinking of building binaries, not installing packages.
 Generally the only variation we advise against is

R CMD build --binary

Everything else should work fine, as far as I know.


And I forgot to add:  the way HTML help is handled in the upcoming 2.10.0
is
different, so I suspect R CMD build --binary will work.  I haven't tested
it
though...

Duncan Murdoch



Duncan Murdoch



On Thu, Sep 17, 2009 at 4:27 PM, Simon Urbanek
 wrote:


On Sep 17, 2009, at 16:09 , Gabor Grothendieck wrote:



Note that that is not currently the recommended way.



Now that would be a surprise to me - to quote R-admin: 6.3.1: "R CMD
INSTALL
works in Windows to install source packages if you have the
source-code
package files".




Also, what comes after INSTALL? The source .tar.gz name?
The pathname to the source directory?



R CMD INSTALL --help

Usage: R CMD INSTALL [options] pkgs

Install the add-on packages specified by pkgs.  The elements of pkgs
can
be relative or absolute paths to directories with the package (bundle)
sources, or to gzipped package 'tar' archives.  The library tree
[...]

Cheers,
S




On Thu, Sep 17, 2009 at 3:58 PM, Simon Urbanek
 wrote:


On Sep 17, 2009, at 12:43 , Gabor Grothendieck wrote:



Thanks. Perhaps someone in the core group can
still provide explicit information on how to install such
a package.



R CMD INSTALL

(see R --help and it has been *the* way to install packages for
quite
a
while so I'm not sure how more explicit we have to make it...)

Cheers,
Simon





On Thu, Sep 17, 2009 at 12:19 PM, Dirk Eddelbuettel

wrote:


On 17 September 2009 at 11:32, Gabor Grothendieck wrote:
| Regarding this from this week:
|
| 2.10.0 PACKAGE INSTALLATION (Windows)
| It is possible to install source packages without Rtools
provided
they
| have no compiled code and no configure.win or cleanup.win
script.
|
| - what are the instructions to perform such a source install?
| - I assume one still needs MiKTeX -- is that right?
| - is the source install done from a tar.gz (in which case one
would
| need tar to create it) or directly from the source directory
tree?

You may want to stick this

 http://developer.r-project.org/blosxom.cgi/R-devel

into your RSS reader so that you get daily summaries of changes.

I don't follow this too religiously (as I typically only built
r-devel
once we have
alpha/beta/rc candidates) but even I am aware that

 a) dynamic .Rd conversion at runtime, so Miktex may no longer be
needed

 b) untgz.exe on Windows to read (compressed) tarballs

Dirk

--
Three out of two people have difficulties with fractions.



__
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









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


Re: [Rd] Windows Source Install Without Rtools

2009-09-17 Thread Gabor Grothendieck
The software and manuals are not yet in readily accessible
form on CRAN based on the date of the feature and I would
prefer not to have to build it myself when any day now it will
be there automatically anyways.

Also, I was hoping to avoid a frustrating session of trial and error
when surely someone in the core team already knows the likely
answer. Building a package takes time and repeatedly trying it
with different flags is time consuming.

We are only discussing one line of code:

  R CMD ...something...


On Thu, Sep 17, 2009 at 8:09 PM, Duncan Murdoch  wrote:
> On 17/09/2009 7:47 PM, Gabor Grothendieck wrote:
>>
>> I meant to write:
>>
>> Rcmd INSTALL --build myPackage/
>>
>> vs.
>>
>> Rcmd INSTALL myPackage/
>>
>> You, yourself, have mentioned the problem of linking help
>> pages on r-devel within the last few months:
>
> More recently than that.  This is the problem I was referring to in the
> messages you quote below.
>
>> http://tolstoy.newcastle.edu.au/R/e6/devel/09/05/1721.html
>>
>> and now that this is all changing it would be helpful to have comments
>> on what now works best on Windows with the new change.
>
> Why don't you try the new system, and report on what goes wrong?  There is
> still time to fix it, so writing advice on what doesn't work seems a little
> premature.
>
> Duncan Murdoch
>
>>
>> On Thu, Sep 17, 2009 at 6:32 PM, Duncan Murdoch 
>> wrote:
>>>
>>> Gabor Grothendieck wrote:

 Does that mean that

  Rcmd INSTALL --binary myPackage/

 is still ok or should one use:

>>> No, that has never worked.  Please follow Simon's advice, and read the
>>> manual.
>>>
>>> Duncan Murdoch

  Rcmd INSTALL myPackage/

 without --binary and is this advice the same with and without Rtools?

 Also, as there is potential confusion here could the combinations of
 flags
 that are not recommended result in a warning? In the latter case at
 least
 one knows right off that its not the thing to do and can immediately
 abort
 and try something else if they don't want to suffer the consequences of
 bad help linking.

 On Thu, Sep 17, 2009 at 5:57 PM, Duncan Murdoch 
 wrote:

> On 17/09/2009 5:55 PM, Duncan Murdoch wrote:
>
>> On 17/09/2009 4:40 PM, Gabor Grothendieck wrote:
>>
>>> Maybe on other platforms but on Windows
>>> help does not get linked properly with all
>>> variations.
>>>
>> I think you are thinking of building binaries, not installing
>> packages.
>>  Generally the only variation we advise against is
>>
>> R CMD build --binary
>>
>> Everything else should work fine, as far as I know.
>>
> And I forgot to add:  the way HTML help is handled in the upcoming
> 2.10.0
> is
> different, so I suspect R CMD build --binary will work.  I haven't
> tested
> it
> though...
>
> Duncan Murdoch
>
>
>> Duncan Murdoch
>>
>>
>>> On Thu, Sep 17, 2009 at 4:27 PM, Simon Urbanek
>>>  wrote:
>>>
 On Sep 17, 2009, at 16:09 , Gabor Grothendieck wrote:


> Note that that is not currently the recommended way.
>
>
 Now that would be a surprise to me - to quote R-admin: 6.3.1: "R CMD
 INSTALL
 works in Windows to install source packages if you have the
 source-code
 package files".



> Also, what comes after INSTALL? The source .tar.gz name?
> The pathname to the source directory?
>
>
 R CMD INSTALL --help

 Usage: R CMD INSTALL [options] pkgs

 Install the add-on packages specified by pkgs.  The elements of pkgs
 can
 be relative or absolute paths to directories with the package
 (bundle)
 sources, or to gzipped package 'tar' archives.  The library tree
 [...]

 Cheers,
 S



> On Thu, Sep 17, 2009 at 3:58 PM, Simon Urbanek
>  wrote:
>
>> On Sep 17, 2009, at 12:43 , Gabor Grothendieck wrote:
>>
>>
>>> Thanks. Perhaps someone in the core group can
>>> still provide explicit information on how to install such
>>> a package.
>>>
>>>
>> R CMD INSTALL
>>
>> (see R --help and it has been *the* way to install packages for
>> quite
>> a
>> while so I'm not sure how more explicit we have to make it...)
>>
>> Cheers,
>> Simon
>>
>>
>>
>>
>>> On Thu, Sep 17, 2009 at 12:19 PM, Dirk Eddelbuettel
>>> 
>>> wrote:
>>>
 On 17 September 2009 at 11:32, Gabor Grothendieck wrote:
 | Regarding this from this week:
 |
 | 2.10.0 PACKAGE INSTALLATION (Windows)
 | It is po