similar to: Rows of a data frame to matrix

Displaying 20 results from an estimated 11000 matches similar to: "Rows of a data frame to matrix"

2004 Dec 05
2
String manipulation---mixed case
Hello, Does anyone know of a "slick" way to get R to convert a string which is all upper case to a string where the first letter in each word is upper case and all others are lower case? I suspect the solution is to begin by parsing the string, convert the appropriate letters to upper and lower case using "toupper" and "tolower", and then to paste the pieces back
2004 Dec 11
2
Paths for Shell Scripts called from R
Hello list, I suspect this is more a linux question than an R question, but I'll describe my situation in case anyone here knows of an elegant solution. I'm using Sweave and R to create thousands of customized reports. Within an R loop, I have R create a table.tex file using the CAT function which, for each iteration, creates a unique table.tex file in a subdirectory of the directory
2004 Dec 02
16
How about a mascot for R?
R users, How come R doesn't have a mascot? Linux has one and so does LaTeX, so shouldn't R? I personally think that associating a "friendly face" with R would be a good thing for R (one letter names can be quite intimidating). I apologize if this is addressed in the FAQ. I searched the FAQ as well as the mailing list archives and checked ?mascot but to no avail. ;-)
2011 Feb 17
2
Dependency on R-Forge Package
In building a package, is it possible to make the package depend upon another package that is only available on R-Forge (not CRAN). For example, by doing something in the DESCRIPTION file I'd like to add a dependency to my package such that when the user install my package it will automatically install this other package from R-forge as well. Any help greatly appreciated. Damian
2004 Sep 12
1
Discrepency between R and MlwiN
When playing around fitting unconditional growth models using R and MlwiN today, I produced two different sets of estimates that I can't reconcile and wondered if anyone here has an idea: The data is two-level repeated measures data with measures nested within child. There are two measures per child. I've fit an unconditional growth model as in Singer and Willet (2003) that allows for
2006 Aug 16
3
separate row averages for different parts of an array
I have an array with 44800 columns and 24 rows I would like to compute the row average for the array 100 columns at a time, so I would like to end up with an array of 24 rows x 448 columns. I have tried using apply(dataset, 1, function(x) mean(x[])), but I am not sure how to get it to take the average 100 columns at a time. Any ideas would be welcomed. thanks, Spencer [[alternative HTML
2009 Oct 14
1
using mapply to avoid loops
Hello, I would like to use mapply to avoid using a loop but for some reason, I can't seem to get it to work. I've included copies of my code below. The first set of code uses a loop (and it works fine), and the second set of code attempts to use mapply but I get a "subscript out of bounds" error. Any guidance would be greatly appreciated. Xj, Yj, and Wj are also lists, and s2,
2004 Jul 05
2
Again Sip Registration Fail
Recently I wrote about this problem, but it still exist and I can't dial my Xlite SIP Phone So here is the Notice Jul 5 17:14:07 NOTICE[65541]: chan_sip.c:6731 handle_request: Registration from 'Damian Minkov <sip:damian@10.1.1.2>' failed for '10.1.1.11' The * box(10.1.1.2) and the PC(10.1.1.11) on which is the XLite are in the same network Here is part from sip
2004 Jul 07
2
Problem SIP Register
I have * box on machine with external ip address and internal one I'm tring to register to it from to machines - one from innternet ( everything is ok - in sip.conf nat=yes)\ and the other one is in the internal network (in sip.conf - nat=no ) and it say 403 Forbidden? Any Ideas ? here are the logs and configs From the external SIP Client whic registers.
2005 Mar 04
2
how to draw graphs within clickable hyperlink
Hi all I want to draw a graph containing points and edges. Package graphics could do this. However I want to make each those points and edges clickable with a hyperlink on them. Anybody know how to do this? Thanks very much.
2010 Apr 13
1
Lapack, determinant, multivariate normal density, solution to linear system, C language
r-devel list, I have recently written an R package that solves a linear least squares problem, and computes the multivariate normal density function. The bulk of the code is written in C, with interfacing code to the BLAS and Lapack libraries. The motivation here is speed. I ran into a problem computing the determinant of a symmetric matrix in packed storage. Apparently, there are no explicit
2003 Jul 07
1
Incredibly slow Roaming Profiles
We've just set up an internal domain, and had a single XP Pro machine join without any difficulties. But we need this machine (and the other handful with it) to use Roaming Profiles, which is posing something of a speed issue. I have logged on, killed the 'You do not own the profile' tidbit, fixed up permissions, and finally gotten XP to read the profile from the SAMBA server
2020 Jul 20
2
Streaming SSL / HTTPS with m3u file
On 20 Jul 2020, at 1:12, Damian wrote: > I solved the issue by adding my own m3u files to > /usr/share/icecast/web but I am not sure if this is icecast > best-practice. This also raises a few other issues as well… http > stream links don’t appear on the icecast stream directory and stream > titles and track metadata does not display when opening m3u files > created in this
2023 Jan 20
1
IPV6 in version 2.4.4
Thanks for the response. I can confirm that the recommended settings worked and now IPV6 is working as it should. If anyone is interested, these are the <listen-socket> settings I am using. <!-- You may have multiple <listen-socket> elements?> <listen-socket> <port>8000</port> <bind-address>0.0.0.0</bind-address> </listen-socket>
2023 Jan 17
1
IPV6 in version 2.4.4
On 17 Jan 2023, at 23:16, Damian wrote: > Thanks for this. I?m on a Debian server so it?s looking good. > Yes, then there should be no issues whatsoever using IPv6 with Icecast 2.4 >> On 18 Jan 2023, at 07:59, Marvin Scholz <epirat07 at gmail.com> wrote: >> >> Hi, >> >> On 17 Jan 2023, at 22:51, Damian wrote: >> >>> Hi, >>>
2020 Oct 12
2
Icecast crashing / terminated - out of memory
Good morning, On Sun, 2020-10-11 at 10:24 +1000, Damian wrote: > Can I also ask, which is the recommended course of action? Sure, just keep in mind that we had weekend, so people were off. ;) > Should I rebuild icecast with OpenSSL or is there now a fixed version > via backports that I can use? Based on... On Sat, 2020-10-10 at 23:06 +1000, Damian wrote: > Edit (apologies for the
2004 Dec 11
1
RealTime and Macro question?
Is it possible to call a macro, which is defined in extensions.conf from a realtime extension configured in Mysql. Beacuse when i try i receive an error - no such context. -- Executing Macro("SIP/1007-2165", "dialnumber_wvm,1004,SIP/1004") Dec 11 12:51:04 WARNING[22551]: app_macro.c:100 macro_exec: No such context 'macro-dialnumber_wvm,1004,SIP/1004' for macro
2023 Jan 17
1
IPV6 in version 2.4.4
Thanks for this. I?m on a Debian server so it?s looking good. > On 18 Jan 2023, at 07:59, Marvin Scholz <epirat07 at gmail.com> wrote: > > Hi, > > On 17 Jan 2023, at 22:51, Damian wrote: > >> Hi, >> >> I would like to know whether Icecast version 2.4.4 supports IPV6 listener connections? I have some mobile phone users that connect to my web server
2023 Jan 18
1
IPV6 in version 2.4.4
Another question: I see in the icecast config it states that "If a bind-address is not specified for a particular listen-socket, then the socket will be bound to all interfaces (including IPv6 if available). ? Are there any checks / tests that I could do at my end show if it is configured for IPV6 connections? The one below doesn?t seem to confirm that it?s configured that way. ? Damian
2023 Jan 19
1
IPV6 in version 2.4.4
On 18 Jan 2023, at 22:56, Damian wrote: > Another question: I see in the icecast config it states that "If a bind-address is not specified for a particular listen-socket, then the socket will be bound to all interfaces (including IPv6 if available). ? > > Are there any checks / tests that I could do at my end show if it is configured for IPV6 connections? The one below doesn?t seem