I sent this message : Hello everyone, R beginner, I am confronted with the need to use Rmpf. In my first scripts I made use of X=read.table(file.choose(), header=FALSE, sep=",",dec=".") X=as.matrix(X) to load into a matrix data from file before matrix use. How can I do to load the same data in a "mpfrMatrix". Is it possible to use with "mpfrMatrix" the same as operations M1%*%M2 scale(M1,TRUE,FALSE) Sorry but I'm a newbe Thanks in advance Michel But no body ... may be my question appear too simple for r-help people I'll try alone using books Thank you anyway [[alternative HTML version deleted]]
Uwe Ligges
2013-Sep-24 12:17 UTC
[R] Rmpfr question; was: no answer to the following question
On 24.09.2013 10:07, Michel wrote:> I sent this message : > Hello everyone, > R beginner, I am confronted with the need to use > Rmpf.It helps to provide a sensible subject line and not to misspell package names:Rmpfr.> In my first scripts I made use of > X=read.table(file.choose(), header=FALSE, > sep=",",dec=".") > X=as.matrix(X) > to load into a matrix data from file before matrix > use. > How can I do to load the same data in a > "mpfrMatrix". > Is it possible to use with "mpfrMatrix" the same as > operationsM1 <- mpfr(M1, precBits = ....)> M1%*%M2Should work out of the box for mpfr objects.> scale(M1,TRUE,FALSE)There is not scale function implemented in Rmpfr. HEnce you need to write it yourself based on the provided infrastructure from the Rmpfr package. Best, Uwe Ligges> Sorry but I'm a newbe > > Thanks in advance > > Michel > > But no body ... may be my question appear too simple for r-help people > I'll try alone using books > Thank you anyway > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > 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. >
You might be more successful if: 1. Post in plain text, not HTML, as the posting guide asks; 2. Don't post at all. Instead read the included tutorial, An Introduction to R, or one of the many on the web that you might prefer. Nothing wrong with being a newbie; but (imo, of course) there **is** something wrong with being a newbie who has not first done some homework before posting to this list. Cheers, Bert On Tue, Sep 24, 2013 at 1:07 AM, Michel <michelgomez@free.fr> wrote:> I sent this message : > Hello everyone, > R beginner, I am confronted with the need to use > Rmpf. > In my first scripts I made use of > X=read.table(file.choose(), header=FALSE, > sep=",",dec=".") > X=as.matrix(X) > to load into a matrix data from file before matrix > use. > How can I do to load the same data in a > "mpfrMatrix". > Is it possible to use with "mpfrMatrix" the same as > operations > M1%*%M2 > scale(M1,TRUE,FALSE) > Sorry but I'm a newbe > > Thanks in advance > > Michel > > But no body ... may be my question appear too simple for r-help people > I'll try alone using books > Thank you anyway > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list > 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. >-- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm [[alternative HTML version deleted]]