similar to: Converting a Perl Array of Arrayrefs to an R array or matrix using RS Perl

Displaying 20 results from an estimated 20000 matches similar to: "Converting a Perl Array of Arrayrefs to an R array or matrix using RS Perl"

2012 Oct 13
0
RS-MySQL.h:32:19: fatal error: mysql.h: No such file or directory
i m installing RMySQL under windows -7 64bit, i have wamp server(which has mysql5.5.16) i have given MYSQL_HOME path in environment variable as MYSQL_HOME=C:\wamp\bin\mysql\mysql5.5.16\bin , & also create Renviron.site file in C:\Program Files\R\R-2.15.0\etc giving MYSQL_HOME=C:/wamp/bin/mysql/mysql5.5.16/bin as path i install c connector "MySQL Connector C 6.0.2" version
2014 Aug 22
4
[LLVMdev] Addressing const reference in ArrayRef
On Fri, Aug 22, 2014 at 10:16 AM, Duncan P. N. Exon Smith <dexonsmith at apple.com> wrote: >> On 2014-Aug-21, at 10:39, David Blaikie <dblaikie at gmail.com> wrote: >> >> On Thu, Aug 21, 2014 at 10:34 AM, Reid Kleckner <rnk at google.com> wrote: >>> Is there some way we can get lifetime extension of temporaries to kick in >>> here? >>
2012 Jun 08
0
Rs. 4510/- Saving on Samsung Galaxy Ace Plus S7500
Call us on +91-9666 4000 48 - Mobiles <http://www.fosila.com/mobiles> - Cameras <http://www.fosila.com/cameras> - Laptops <http://www.fosila.com/laptops> - Bags <http://www.fosila.com/bags> - Watches <http://www.fosila.com/watches> - Toys <http://www.fosila.com/TeddyBears> Dear *User*, Unbelievable offer Limited stock. Grab it!! Samsung
2014 Nov 08
1
RS-485 over a half duplex serial in Centos 6.5
Hi, I am trying to make a program in C to communicate with a temperature sensor over my serial port that uses RS-485 and is a half duplex. I am however having trouble getting the device into RS-485 mode, is it possible to use RS-485 mode in Centos 6.5 or does it only support RS-232 mode?
2009 Dec 04
5
logical masking of a matrix converts it to a vector
One problem I've been having is the special case in which only one row/column remains and the variable gets converted into a vector when entries are removed by logical masking. This is a problem because subsequent code may rely on matrix operations (apply, colsums, dim, etc) For example: > a <- matrix(c(1, 2, 3, 4), nrow = 2) > a [,1] [,2] [1,] 1 3 [2,] 2 4 >
2006 Oct 03
0
rs.recognize_path "/home" is not working in script/console
My application runs fine. I just want to change a few routing rules and I decided to test using script/console. But I''m getting following error. Loading development environment. >> rs = ActionController::Routing::Routes >> rs.recognize_path "/home/index" TypeError: can''t convert Fixnum into String from
2019 Jul 26
1
MKL with latest Rs
Hi Tomas, That does the trick, thanks! In fact, I had those lines commented out in my Rmkl startup script but I can't remember why, since they're part of Intel's instructions. Strange that things still worked for somewhat older Rs. (Perhaps that's why I canceled them.) Dirk, if you're listening, it might help to add a note to your blog post. I guess it's not as simple
2013 Feb 18
1
help with population matrix
Hi guys, I am a biologist and an R newbie, and I'm learning how to create a simple population model. So, I have a population matrix ("pop")of 30 age classes of female (1:4 are non-breeders, 5:30 are breeders) which will be modelled for 100 years. > pop <- matrix(0,30,100) I then populate this matrix with 3 young adult females. > pop[5, 1] <- 3 I then want to run this
2019 Jul 26
0
MKL with latest Rs
Dear Robert, try setting these MKL environment variables export MKL_INTERFACE_LAYER=GNU,LP64 export MKL_THREADING_LAYER=GNU the example should then report correct results (and regardless of the version of R). There is no need to rebuild R from source, but when you are building from source, this problem would be detected by checks in R configure scripts. I can reproduce the problem on Ubuntu
2010 Nov 28
4
how to divide each column in a matrix by its colSums?
Hi, I have a matrix, say m=matrix(c( 983,679,134, 383,416,84, 2892,2625,570 ),nrow=3 ) i can find its row/col sum by rowSums(m) colSums(m) How do I divide each row/column by its rowSum/colSums and still return in the matrix form? (i.e. the new rowSums/colSums =1) Thanks. Casper -- View this message in context:
2015 Nov 30
0
RS-232 Port with Nut
30 ?????? 2015??. 19:25:38 CET, "Marks, Connor" <Connor.Marks at emc.com> ?????: >Hello All, > >I am trying to read my Eaton 5P 1550 with the Rs-232 port but I cannot >get nut to read the driver from my Rs-232 to USB adaptor. >When I perform lsusb -t it says my B&B electronics adaptor uses driver >ftdi_sio > >How do I get the nut to read information
2012 Jun 29
0
Problem on loading annotation for BioC - error: RS-DBI driver: (error in statement: near "s": syntax error)
I'm trying to load an annotation file on a new R installation on a new machine (Win 7 x64, R 2.15.0) Loading this package fails; I've tried re-installing R and BioC from scratch, including all new packages etc, to no avail. Any ideas? > require("hugene10sttranscriptcluster.db") Loading required package: hugene10sttranscriptcluster.db Loading required package: AnnotationDbi
2017 Oct 01
2
Is ArrayRef supposed to be immutable?
It wraps a constant T* and a size_t, so I'm surprised std::sort works. It shouldn't. On Sep 30, 2017 5:22 PM, "Daniel Berlin via llvm-dev" < llvm-dev at lists.llvm.org> wrote: It seems like ArrayRefs are supposed to be immutable ( However, as far as i can tell, the iterators are defined wrong to make this true. While ArrayRef<int> Foo(Something); Foo[0] = 5; will
2012 Apr 24
1
Compiling RMySQL on Win7 64bits RS-DBI.c:1:0: sorry, unimplemented: 64-bit mode not compiled in
Hi, On a Win7 64 bit, I have installed: *R-15.0 and I am running it in 64bits *Rtools215.exe*MySQL 5.5.23 64bits My PATH start with D:\BenSave\Rtools\bin;D:\BenSave\Rtools\MinGW64\bin;D:\BenSave\R\R-2.15.0\bin;D:\BenSave\Rtools\MinGW\bin;D:\BenSave\Rtools\gcc-4.6.3\bin; Note that I place MinGW64\bin has I want the package in 64 bits, so just in case it helps... To install RMySQL 64 bits, I
2015 Dec 01
3
RS-232 Port with Nut
Yes I do have Linux. I have assigned the ups.conf file as seen below.. [testups] Driver = usbhid-ups Port = /dev/ttyUSB0 When I try to start the ups driver I get the following error... $ sudo upsdrvctl start Network Ups Tools - UPS driver controller 2.7.1 Network Ups Tools - Generic HID driver 0.38 (2.7.1) USB communication driver 0.32 No matching HID UPS found Driver failed to start (exit
2019 Jul 17
2
MKL with latest Rs
Dear R-devel team, I've encountered problems with recent Rs (>= 3.5.3) and MKL. I've followed Dirk's (http://dirk.eddelbuettel.com/blog/2018/04/15/) and Intel's ( https://software.intel.com/en-us/articles/quick-linking-intel-mkl-blas-lapack-to-r) instructions and many versions of MKL. All works fine in my Ubuntu 18 setup for R 3.5.2 and older. Carrying out the install and
2008 Feb 19
1
Success report: APC Back-UPS RS 800
Hi all, First of all, I would like to thank everyone who was involved in the development of NUT. Although it took me some time to set it up, now it appears to be working very well. Thanks for the good software! This is my success report for an APC Back-UPS RS 800: khali at mahadeva:~> upsc rs800 battery.charge: 100 battery.charge.low: 10 battery.charge.warning: 50 battery.date: 2001/09/25
2015 Nov 30
3
RS-232 Port with Nut
Hello All, I am trying to read my Eaton 5P 1550 with the Rs-232 port but I cannot get nut to read the driver from my Rs-232 to USB adaptor. When I perform lsusb -t it says my B&B electronics adaptor uses driver ftdi_sio How do I get the nut to read information coming from that?? Thanks, Connor -------------- next part -------------- An HTML attachment was scrubbed... URL:
2012 Mar 20
1
Remove individual rows from a matrix based upon a list
Dear All, Thanks in advance for any help. I have a square matrix of measures of interactions among individuals and would like to calculate a values from a function (colSums for example) with a single individual (row) excluded in each instance. That individual would be returned to the matrix before the next is removed and the function recalculated. I can do this by hand removing rows based upon
2009 May 08
1
Battery test feature of APC Back-UPS RS series
Hi all, I use an APC Back-UPS RS 800, overall my experience with NUT is very good but there is one feature I am missing: the ability to ask the UPS for a battery test. upscmd -l shows the following commands available: $ upscmd -l rs800 Instant commands supported on UPS [rs800]: beeper.disable - Disable the UPS beeper beeper.enable - Enable the UPS beeper beeper.mute - Temporarily mute the UPS