similar to: How to do aggregate operations with non-scalar functions

Displaying 20 results from an estimated 5000 matches similar to: "How to do aggregate operations with non-scalar functions"

2004 Jun 14
3
How to 'stamp' a plot with meta-data?
Dear R users, Sometimes, for tracking purposes, I am interested to add to a plot some metadata such as * the date it was produced * filename that stores the plot * perhaps data sources, author, etc Ideally, I would like to be able to do this for any kind of plot, plot(), barplot(), hist(), etc.; and, to be able to produce plots with or without the metadata by a simple toggle mechanism.
2003 Dec 30
2
regexp problem on R 1.7.0
Hi, Am I missing something in using regexps in R? Below, 'egrep' means invokation of the command from the shell prompt. # I have > as.character(block.dist.vals) [1] "1e+06" "2e+06" "5e+06" # that I wish to convert to: "1" "2" "5" # OK (R and egrep) > sub( "e.+06", "", as.character(block.dist.vals) )
2006 Nov 11
2
Strange yum behavior
Hello, 'yum search R' returns an impossibly-long list. So I tried 'yum search R.x86_64' and 'yum search R-2.3.0' and few others to no avail. (Google revealed that R package does exist in kbsingh repository.) However, 'yum install R' did offer to install the correct package. Can someone enlighten me as to why did the searches failed or generated a hugh list
2004 Feb 19
1
piece wise application of functions
Dear all, After struggling for some time with *apply() and eva() without success, I decided to ask for help. I have 3 lists labeled with, each contains 3 different interpolation functions with identical names: > names(missgp0) [1] "spl.1mb" "spl.2mb" "spl.5mb" > > names(missgp1) [1] "spl.1mb" "spl.2mb" "spl.5mb" > >
2006 Oct 09
3
Yum, duplicate packages, 4.3->4.4 upgrade.
Hi, I am running a CentOS 4.3 machine. I wish to move on to 4.4. My problem is that I have some 60 duplicate packages listed below. The kernel and gpg-pubkey packages are different versions of the same (none for the gpg) architecture. All the rest are a x86_64 and i[356]86 pairs. 1. Is this a problem? 2. If yes, what should I do? a) remove the duplicates (the i[356]86) and then 4.3 ->
2004 Jan 15
2
Legend text -- discrepancy between X11 and postscript
Hi, When I place a legend on a plot it looks exactly as I intended on the screen. However, almost always, when I export this to postscript file, the legend's text protrudes through the legend's frame (the latter being placed correctly). See the appended example code. I can send the EPS file as well for those that are interested (<4 kb; <200 lines). I found nothing in the FAQS,
2006 Jul 06
4
LVM Input/output error
Hi, I recently installed centos for the first time and I like it! Also, I just started working with lvm. The following warnings are genertated whenever I run one of lvm commands on the external usb disk (MyBook by Western Digital). * What could be the source for those messages? * Should I worry about them (writing into the created LV's seems to work)? * If yes, how to fix them? [root
2004 Mar 25
1
How to add a top X-axis with a different logarithmic scale?
Hi, I am trying to put on one plot two different logarithmic scales, using the bottom and top X-axes. Below there is an example of what I am trying to achieve, using axTicks() -- and fails. I already spent few hours on that, and cannot figure out from ?par and ?axTicks what I am doing wrong. Example follows: ############################################################ #### Data x <-
2004 Apr 21
2
Extracting information from webpages
> Hello R Community, > > I would like to be able to download recent (yesterday's close is fine) > stock and > mutual fund prices from somewhere and use them for a personal finance > project. > Ideally, I would do this at a website of my choosing (e.g. > morningstar.com) and > have the possibility of getting a wide range of other information about > the security
2006 Dec 10
1
OT: profiling user applications
Hi, Is there an easy way to obtain statistics of user applications usage: who invoked what; for how long; what resources were used; etc. I am thinking of some kind of a super-ps that will integrate and summarize the usage profile during a long period of time - not just a snapshot. Background: I have a RH 7.3 machine that serves as the central node for a cluster that runs various
2004 Jun 09
4
how to initialize random seed properly ?
I want to start R processes on multiple processors from single shell script and I want all of them to have different random seeds. One way of doing this is sleep 2 # (with 'sleep 1' I am often getting the same number) ... set.seed(unclass(Sys.time())) Is there a simpler way without a need to sleep between invoking different R processes ? Ryszard
2004 Feb 11
7
large fonts on plots
Hi all, I need to enlarge te fonts used oo R-plots (plots, histograms, ...) in labels and titles etc. I seem to be unable to figure out how to do it. The problem is that the titles of the plots are simply unreadable when I insert them into my LaTeX text, since they are relatively small compared to the entire plot. I am sure it is pretty simple, can anybody give me a hint ? Please reply
2004 Mar 11
1
rsync + ssh: fails from cron
Hi, My ssh set up, on both 'work' and 'home' machines uses the private-public key authentication (key uses non-empty passphrase). So from the 'home' shell prompt the following works without prompting to password or passphrase: rsync -avz --delete -e ssh remote.work.machine:publicats $HOME/work >From cron, however, I am prompted for a password, though. I have seen
2007 May 12
2
Screen blanks after initial setup (Centos 5)
Hi, The installation process went without noticable problems; this is true to the setup phase immediately after the installtion. However: after pressing "Finish" in the Setup Agent the screen blanked on me - Ctrl-Alt-F1, Ctrl-Alt-F2, Ctrl-Alt-backspace, Ctrl-Alt-Del didn't help. Nada. Did someone else have encountered this? Any recommendations? Thanks in advance. System:
2004 Jan 15
4
invoking R scripts from a linux shell ?
Hello, I have written perl programs that extract data from a text file, process them, and create other text files, which I'd like to apply some statistics too (for example with R). I'd like to do it all in once , with a single script. I'm not familiar with R, I'd like to know if this task could be accomplished by creating a linux shells that launches the perl scripts and then
2006 Aug 15
4
AEC on a TI C6x - has no effect
Itay, I tested on C6x in May with build 11343 and 11398, and it worked fine. I just ran the same test with build 11768, and there was no cancellation, just as you saw. I will try to track this down in the next day or two. In the meantime, I suggest that you try testing with 11398. - Jim ----- Original Message ----- From: Itay Chamiel To: speex-dev@xiph.org Sent: Monday, August 14,
2006 Oct 02
1
OT: Precautions before draining laptop battery?
Hi, I have found some advice on the web regarding battery draining, but no linux-specific information. Are there some steps to be taken to protect the harddrive? Unmounting file-systems? I would appreciate any advice. Itay
2020 Sep 10
2
[IR] Modelling of GlobalIFunc
> * Calling getBaseObject() on a GlobalIFunc returns its resolver function. I still don't understand how it can happen looking to the code ( https://github.com/llvm/llvm-project/blob/master/llvm/lib/IR/Globals.cpp#L430). I believe it should return nullptr (the same as if you call it from GlobalAlias that refers to GlobalIFunc). I don't have a strong opinion here because deriving
2006 Aug 15
1
AEC on a TI C6x - has no effect
For me, this was a memory allocation problem. I am using a private heap, and somewhere between build 11522 and 11700, the allocation for two large buffers was changed from calloc to speex_alloc (I am sure that this was a cleanup change, and I have not had a chance to locate it yet). This was overrunning my heap, and enlarging the heap solved the problem. I suspect that Itay is having a
2020 Sep 07
3
[IR] Modelling of GlobalIFunc
I was working on https://reviews.llvm.org/D81911 to try and fix https://bugs.llvm.org/show_bug.cgi?id=46340 . Through the review process we happened upon a design limitation or perhaps a potential mis-modelling of GlobalIFunc in the IR object hierarchy, which leads to some problems in LTO flows. To summarize, as it currently stands (and in the hopes of faithfully representing the conclusions of