[R] About the multiprecision computing package in R

J C Nash
Sat, 14 Mar 2020 20:24:06 -0000

As I understand things, OpenBLAS will improve the performance of computations on
regular IEEE 754 formats.

I use Rmpfr for much longer numbers, e.g., 50 decimal digits, which -- depending
on scale of numbers in a
vector -- can mean one needs approximately 100 decimals to accumulate the dot
product. As I indicated, I
have not been able to verify the internals. Probably I'll have to dig.
However, for the moment I'm using
David Smith's FM-Fortran, which offers a dot product function which does
appear to do this.

JN

On 2020-03-14 4:17 p.m., Erin Hodgess wrote:
> Are you using a PC, please?? You may want to consider installing OpenBLAS.?
It?s a bit tricky but worth the time/effort.
>
> Thanks,
> Erin
>
>
> On Sat, Mar 14, 2020 at 2:10 PM J C Nash <profjcnash at gmail.com
<mailto:profjcnash at gmail.com>> wrote:
>
>     Rmpfr does "support" matrix algebra, but I have been trying
for some
>     time to determine if it computes "double" precision (i.e.,
double the
>     set level of precision) inner products. I suspect that it does NOT,
>     which is unfortunate. However, I would be happy to be wrong about
>     this.
>
>     JN
>
>     On 2020-03-14 3:41 p.m., Bert Gunter wrote:
>     > Read its documentation yourself and unless you have good reason
not to,
>     > always cc the list (which I have done here).
>     >
>     >
>     > Bert Gunter
>     >
>     > "The trouble with having an open mind is that people keep
coming along and
>     > sticking things into it."
>     > -- Opus (aka Berkeley Breathed in his "Bloom County"
comic strip )
>     >
>     >
>     > On Sat, Mar 14, 2020 at 12:28 PM ??? <13917987541 at 163.com
<mailto:13917987541 at 163.com>> wrote:
>     >
>     >> Thanks. Does it support matrix algebra?
>     >>
>     >>
>     >>
>     >> ???
>     >> ???13917987541 at 163.com <mailto:13917987541 at
163.com>
>     >>
>     >>
>
<https://maas.mail.163.com/dashi-web-extend/html/proSignature.html?iconUrl=http%3A%2F%2Fmail-online.nosdn.127.net%2F17c23bc1722125aa6261c33736f525c5.jpg&name=%E6%9E%97%E4%BC%9F%E7%92%90&uid=13917987541%40163.com&ftlId=1&items=%5B%22%E9%82%AE%E7%AE%B1%EF%BC%9A13917987541%40163.com%22%5D>
>     >>
>     >> ??? ??????
<https://mail.163.com/dashi/dlpro.html?from=mail88> ??
>     >>
>     >> On 03/15/2020 03:18, Bert Gunter <bgunter.4567 at gmail.com
<mailto:bgunter.4567 at gmail.com>> wrote:
>     >> Use google instead, as I recommended. If that's impossible
in China, you
>     >> should state that and what you tried (Baidu) in your query.
>     >>
>     >> You'll get the Rmpfr package.
>     >>
>     >> Bert Gunter
>     >>
>     >> "The trouble with having an open mind is that people keep
coming along and
>     >> sticking things into it."
>     >> -- Opus (aka Berkeley Breathed in his "Bloom County"
comic strip )
>     >>
>     >>
>     >> On Sat, Mar 14, 2020 at 11:48 AM ??? <13917987541 at
163.com <mailto:13917987541 at 163.com>> wrote:
>     >>
>     >>> Thanks, I tried Baidu but get nothing
>     >>>
>     >>>
>     >>>
>     >>> ???
>     >>> ???13917987541 at 163.com <mailto:13917987541 at
163.com>
>     >>>
>     >>>
>
<https://maas.mail.163.com/dashi-web-extend/html/proSignature.html?iconUrl=http%3A%2F%2Fmail-online.nosdn.127.net%2F17c23bc1722125aa6261c33736f525c5.jpg&name=%E6%9E%97%E4%BC%9F%E7%92%90&uid=13917987541%40163.com&ftlId=1&items=%5B%22%E9%82%AE%E7%AE%B1%EF%BC%9A13917987541%40163.com%22%5D>
>     >>>
>     >>> ??? ??????
<https://mail.163.com/dashi/dlpro.html?from=mail88> ??
>     >>>
>     >>> On 03/15/2020 02:44, Bert Gunter <bgunter.4567 at
gmail.com <mailto:bgunter.4567 at gmail.com>> wrote:
>     >>> Here's a novel idea:
>     >>> Do a google search on "multiprecision computing
package R" for an answer.
>     >>>
>     >>> Bert Gunter
>     >>>
>     >>> "The trouble with having an open mind is that people
keep coming along
>     >>> and sticking things into it."
>     >>> -- Opus (aka Berkeley Breathed in his "Bloom
County" comic strip )
>     >>>
>     >>>
>     >>> On Sat, Mar 14, 2020 at 10:36 AM ??? <13917987541 at
163.com <mailto:13917987541 at 163.com>> wrote:
>     >>>
>     >>>> Dear all
>     >>>>
>     >>>>
>     >>>> I need a multiprecision computing package in R, if
anyone in the list
>     >>>> knows, please let me known...
>     >>>>
>     >>>>
>     >>>> Many thanks
>     >>>>
>     >>>>
>     >>>> Weilu Lin
>     >>>>? ? ? ? ?[[alternative HTML version deleted]]
>     >>>>
>     >>>> ______________________________________________
>     >>>> R-help at r-project.org <mailto:R-help at
r-project.org> mailing list -- To UNSUBSCRIBE and more, see
>     >>>> 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.
>     >>>>
>     >>>
>     >
>     >? ? ? ?[[alternative HTML version deleted]]
>     >
>     > ______________________________________________
>     > R-help at r-project.org <mailto:R-help at r-project.org>
mailing list -- To UNSUBSCRIBE and more, see
>     > 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-help at r-project.org <mailto:R-help at r-project.org> mailing
list -- To UNSUBSCRIBE and more, see
>     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.
>
> --
> Erin Hodgess, PhD
> mailto: erinm.hodgess at gmail.com <mailto:erinm.hodgess at
gmail.com>