Re: [R] Fast matrix multiplication

2018-08-13 Thread Ravi Varadhan
Hi Ista, Thank you for the response. I use Windows. Is there a pre-compiled version of openBLAS for windows that would make it easy for me to use it? Thanks, Ravi -Original Message- From: Ista Zahn Sent: Friday, August 10, 2018 12:20 PM To: Ravi Varadhan Cc: r-help@r-project.org Subj

[R] Cannot set correct miktex path for pdflatex

2018-08-13 Thread Kelley, Claire
Hi all, I am having a problem in R where R is finding an old non existent version of miktex rather than the new version. This occurs despite having set the path to the correct location. For example in bash if I look for the location of pdflatex: $ which pdflatex /c/Program Files/MiKTeX 2.9/mik

[R] Makefile generator - please comment

2018-08-13 Thread Michal Burda
Dear R users, I would like to ask you for comments on whether you find interesting a package that would help you generate Makefiles for R analytical projects. I am developing it for some time mainly for myself and now try to decide whether it is worth an effort to continue and enhance it for wider

Re: [R] searching for a specific row name in R

2018-08-13 Thread Bert Gunter
These seem to be basic R questions. You should spend time with an R tutorial or two for this sort of thing. This list is here to help, but you also need to do homework on your own if you have not already done so. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people

Re: [R] searching for a specific row name in R

2018-08-13 Thread Deepa
I have a hundred identifier names that I want to check from the second column of a matrix with 6000 entries in the column. Instead of using R > c("d", "v", "4", "s") %in% letters , is there an alternative? I have the hundred identifier names that are of my interest stored in an array. On Tue,

Re: [R] searching for a specific row name in R

2018-08-13 Thread Boris Steipe
Use the %in% operator: help('%in%') e.g. R > c("d", "v", "4", "s") %in% letters [1] TRUE TRUE FALSE TRUE B. > On 2018-08-13, at 23:36, Deepa wrote: > > Hi Don, > > When there is a list of identifier names that I want to check, the only way > is to loop over each entry stored in the lis

Re: [R] searching for a specific row name in R

2018-08-13 Thread Deepa
Hi Don, When there is a list of identifier names that I want to check, the only way is to loop over each entry stored in the list of identifier names or is there is there any other shortcut? Many thanks for the response? On Mon, Aug 13, 2018 at 8:18 PM, MacQueen, Don wrote: > Or to return a lo

Re: [R] Mysterious seg fault --- SOLVED

2018-08-13 Thread Rolf Turner
On 13/08/18 23:39, peter dalgaard wrote: It's odd, possibly a bug, that you don't get Error: object 'nphi' not found but I can't offhand see where the evaluation of args to .C/.Fortran is supposed to take place. If it is indeed a bug then it would be nice an it were fixed. If that is possi

Re: [R] Fast matrix multiplication

2018-08-13 Thread Peter Langfelder
On Mon, Aug 13, 2018 at 12:18 PM Ista Zahn wrote: > > On Mon, Aug 13, 2018 at 2:41 PM Ravi Varadhan wrote: > > > > Hi Ista, > > Thank you for the response. I use Windows. Is there a pre-compiled > > version of openBLAS for windows that would make it easy for me to use it? > > Not sure. If you

Re: [R] Fast matrix multiplication

2018-08-13 Thread Ista Zahn
On Mon, Aug 13, 2018 at 2:41 PM Ravi Varadhan wrote: > > Hi Ista, > Thank you for the response. I use Windows. Is there a pre-compiled version > of openBLAS for windows that would make it easy for me to use it? Not sure. If you want an easy way I would use MRO. More info at https://mran.micros

Re: [R] Assistance on Installing Rattle

2018-08-13 Thread Michael Dewey
Dear Shivi You are running R 3.5.1 according to your session info. Why are you installing a version for R 3.3? Note that the up-to-date version depends on R > 3.4.0 so it is no surprise that you get problems. Michael On 13/08/2018 16:07, Shivi Bhatia wrote: Hi Michael, I was able to instal

Re: [R] Typo in print.aov

2018-08-13 Thread peter dalgaard
That's a bug... no other place in the sources has "coeffficients". The net result is that the NULL case is used even when colnames _are_ present. It does make a difference, e.g. to examples(manova). I am fixing this in r-devel since the urgency must be rather low. - Peter D. > On 13 Aug 2018,

Re: [R] Assistance on Installing Rattle

2018-08-13 Thread Shivi Bhatia
Hi Michael, I was able to install RGtk2 from install.packages(" https://cran.r-project.org/bin/windows/contrib/3.3/RGtk2_2.20.31.zip";, repos=NULL) but after installing this and trying to install rattle i get this error: Error : package 'RGtk2' was installed by an R version with different internal

Re: [R] searching for a specific row name in R

2018-08-13 Thread MacQueen, Don via R-help
Or to return a logical value, i.e., TRUE if the column contains the value, FALSE if it does not: any( x[,2] == 'A501' ) -Don -- Don MacQueen Lawrence Livermore National Laboratory 7000 East Ave., L-627 Livermore, CA 94550 925-423-1062 Lab cell 925-724-7509 On 8/13/18, 12:09 AM, "R-help o

[R] Typo in print.aov

2018-08-13 Thread Andrews, Chris
While looking at the code of print.aov for a different reason, I noticed that 'coefficient' was spelled with 3 'f's in one location. Perhaps this is on purpose but in another location it has just 2 'f's. This has not caused me any problem (that I know of) but I found it curious. Chris R

Re: [R] Mysterious seg fault --- SOLVED

2018-08-13 Thread peter dalgaard
It's odd, possibly a bug, that you don't get Error: object 'nphi' not found but I can't offhand see where the evaluation of args to .C/.Fortran is supposed to take place. -pd > On 13 Aug 2018, at 11:54 , Rolf Turner wrote: > > > On 13/08/18 20:45, Henrik Bengtsson wrote: > >> On Mon, Aug

Re: [R] Mysterious seg fault --- SOLVED

2018-08-13 Thread Rolf Turner
On 13/08/18 20:45, Henrik Bengtsson wrote: On Mon, Aug 13, 2018 at 3:51 AM Rolf Turner wrote: OK everybody! You can relax. :-) I managed to spot the loony. After mucking around with valgrind, and before trying gdb, I had one more look at my code and *finally* saw the stupid thing that I

Re: [R] Mysterious seg fault --- SOLVED

2018-08-13 Thread Henrik Bengtsson
On Mon, Aug 13, 2018 at 3:51 AM Rolf Turner wrote: > > > OK everybody! You can relax. :-) I managed to spot the loony. After > mucking around with valgrind, and before trying gdb, I had one more look > at my code and *finally* saw the stupid thing that I had been doing. > > In the call to .Fort

Re: [R] searching for a specific row name in R

2018-08-13 Thread Albrecht Kauffmann
Hello Deepa, sum(x[,2] == "A501") or which(x[,2] == "A501") . Best, Albrecht -- Albrecht Kauffmann alkau...@fastmail.fm Am Mo, 13. Aug 2018, um 07:10, schrieb Deepa Maheshvare: > Hello Everyone, > > I have a 1000 x 20 matrix. The second column of the matrix has the names > of identifiers