[Rd] Question about how to compile .zip for Windows

2011-10-29 Thread Yi Zhao
Dear all,

Thanks for Baptiste's help. He offered me the website

http://win-builder.r-project.org/ This is very good.

However, I face another problem recently that I need to program a package,
which require 'multiple-precision floating-point computations'. I found that
MPFR is very good tools. It can be installed on the linux system, if you
want to use it just include some head files.

So my problem is my computer can only compile the linux version package not
the windows .zip version. And also If I want to use the website above, it
doesn't install the MPFR. I want to try to compile it directly on my
computer. I stuck here.

Thanks

Yi Zhao

[[alternative HTML version deleted]]

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


[Rd] Question about multiple-precision floating-point computations

2011-10-29 Thread Yi Zhao
Dear all,

I am trying to programming a R package in C++, which need calculate the
number 25 digits after the dot.

Is there any package offer this function? I am still a beginner. Please help
me!

Thanks a lot!

Yi Zhao

[[alternative HTML version deleted]]

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


Re: [Rd] Question about multiple-precision floating-point computations

2011-10-29 Thread Uwe Ligges

See, for example, package Rmpfr.

Uwe Ligges



On 29.10.2011 05:33, Yi Zhao wrote:

Dear all,

I am trying to programming a R package in C++, which need calculate the
number 25 digits after the dot.

Is there any package offer this function? I am still a beginner. Please help
me!

Thanks a lot!

Yi Zhao

[[alternative HTML version deleted]]

__
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] Question about how to compile .zip for Windows

2011-10-29 Thread Uwe Ligges



On 28.10.2011 15:03, Yi Zhao wrote:

Dear all,

Thanks for Baptiste's help. He offered me the website

http://win-builder.r-project.org/ This is very good.

However, I face another problem recently that I need to program a package,
which require 'multiple-precision floating-point computations'. I found that
MPFR is very good tools. It can be installed on the linux system, if you
want to use it just include some head files.

So my problem is my computer can only compile the linux version package not
the windows .zip version. And also If I want to use the website above, it
doesn't install the MPFR. I want to try to compile it directly on my
computer. I stuck here.




See the examples in package Rmpfr. You can make use of the same setting 
on winbuilder.


Uwe Ligges


Thanks

Yi Zhao

[[alternative HTML version deleted]]

__
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] minor typos

2011-10-29 Thread Ben Bolker

R-devel doc/NEWS.Rd (SVN 57472) contains:

   \item There are two new options for typesetting PDF manuals from
  Rd files.  These are \samp{beramono} and \samp{inconsolata}, and
  used the named font for mononspaced output. They are intended to
  be used in combination with \samp{times}, and
  \samp{times,inconsolata,hyper} is now the default for the
  reference manual and package manuals.  If you do not have that
  font installed, you can set \env{R_RD4PF} to one of the other
  options: see the \sQuote{R Installation and Administration Manual}.



  Should the second line there be use the named font for monospaced
output ... ?

  Also,

http://cran.r-project.org/bin/macosx/

 contains (second paragraph): Altough we take precautions when
assembling binaries, please use the normal precautions with downloaded
executables.   -- should be Although ...

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


Re: [Rd] minor typos

2011-10-29 Thread peter dalgaard

On Oct 29, 2011, at 16:12 , Ben Bolker wrote:

 
 R-devel doc/NEWS.Rd (SVN 57472) contains:
 
   \item There are two new options for typesetting PDF manuals from
  Rd files.  These are \samp{beramono} and \samp{inconsolata}, and
  used the named font for mononspaced output. They are intended to
  be used in combination with \samp{times}, and
  \samp{times,inconsolata,hyper} is now the default for the
  reference manual and package manuals.  If you do not have that
  font installed, you can set \env{R_RD4PF} to one of the other
  options: see the \sQuote{R Installation and Administration Manual}.
 
 
 
  Should the second line there be use the named font for monospaced
 output ... ?

Yes, fixed (in both senses).

 
  Also,
 
 http://cran.r-project.org/bin/macosx/
 
 contains (second paragraph): Altough we take precautions when
 assembling binaries, please use the normal precautions with downloaded
 executables.   -- should be Although ...
 

I'll leave that one for the CRAN masters


-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd@cbs.dk  Priv: pda...@gmail.com

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


Re: [Rd] Question about how to compile .zip for Windows

2011-10-29 Thread Prof Brian Ripley

On Sat, 29 Oct 2011, Uwe Ligges wrote:




On 28.10.2011 15:03, Yi Zhao wrote:

Dear all,

Thanks for Baptiste's help. He offered me the website

http://win-builder.r-project.org/ This is very good.

However, I face another problem recently that I need to program a package,
which require 'multiple-precision floating-point computations'. I found 
that

MPFR is very good tools. It can be installed on the linux system, if you
want to use it just include some head files.

So my problem is my computer can only compile the linux version package not
the windows .zip version. And also If I want to use the website above, it
doesn't install the MPFR. I want to try to compile it directly on my
computer. I stuck here.




See the examples in package Rmpfr. You can make use of the same setting on 
winbuilder.


In other words, we do have a pre-compiled mpfr for Windows, and it 
*is* installed on winbuilder.  You can get it from 
http://www.stats.ox.ac.uk/pub/Rtools/ for your own use.




Uwe Ligges


Thanks

Yi Zhao

[[alternative HTML version deleted]]

__
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



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