[R] About the multiprecision computing package in R

J C Nash pro|jcn@@h @end|ng |rom gm@||@com
Sat Mar 14 21:24:06 CET 2020


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 using gmail.com <mailto:profjcnash using 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 using 163.com <mailto:13917987541 using 163.com>> wrote:
>     >
>     >> Thanks. Does it support matrix algebra?
>     >>
>     >>
>     >>
>     >> 林伟璐
>     >> 邮箱:13917987541 using 163.com <mailto:13917987541 using 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 using gmail.com <mailto:bgunter.4567 using 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 using 163.com <mailto:13917987541 using 163.com>> wrote:
>     >>
>     >>> Thanks, I tried Baidu but get nothing
>     >>>
>     >>>
>     >>>
>     >>> 林伟璐
>     >>> 邮箱:13917987541 using 163.com <mailto:13917987541 using 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 using gmail.com <mailto:bgunter.4567 using 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 using 163.com <mailto:13917987541 using 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 using r-project.org <mailto:R-help using 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 using r-project.org <mailto:R-help using 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 using r-project.org <mailto:R-help using 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 using gmail.com <mailto:erinm.hodgess using gmail.com>



More information about the R-help mailing list