similar to: depreciation of $ for atomic vectors

Displaying 20 results from an estimated 10000 matches similar to: "depreciation of $ for atomic vectors"

2006 Dec 07
1
templating library for R
Hi, does anybody know of a templating library for R, like velocity or freemarker? It doesn't have to be very fancy just a bit better than sub in replacing tags in a text (not necessarily html) file. thank you very much for your answer. Ido
2007 Jul 05
1
ggplot2 customizing
Dear all, I know that ggplot2 documentation is coming along, but at the moment I can't find how to do the following: a) change the title of the legend b) get rid of the closing line at the bottom of the density line. I also observed that the density lines (after limiting the x-scale) extend a little bit into the surrounding of the plot, which can be seen very strong when plotted as pdf.
2007 Mar 02
3
from function to its name?
Hi, I can get from a string to a function with this name: >f1 <- function(x){ mean(x) } >do.call("f1",list{1:4}) >get("f1") etc... But how do I get from a function to its name? >funcVec <- c(f1,median) >funcVec [[1]] function(x){ mean(x) } > str(funcVec) List of 2 $ :function (x) ..- attr(*, "source")= chr "function(x){ mean(x)
2005 Aug 29
2
reexpand a matrix after subsetting
Hi, suppose I have a matrix (or dataframe) as a result from subsetting. mat <- matrix(1:20,ncol=2) mat[c(3,6,9),] <- NA cc <- complete.cases(mat) sub <- mat[cc,,drop=FALSE] sub <- sub * 2 #some caluculations with sub. now I would like to expand sub somehow so row 3,6, and 9 would be filled with NAs but the rest should be in place again. Is there a simple function for this?
2008 Nov 03
1
dev2bitmap: extra missing
Hi, I don't know if I am the first one to report the problem: in 2.8.0 dev2bitmap gained aa support, but "extra" is null if neither taa nor naa is specified. > dev2bitmap("plot.pdf",type="pdfwrite") Error in paste(shQuote(gsexe), " -dNOPAUSE -dBATCH -q -sDEVICE=", type, : object "extra" not found >
2005 Dec 13
1
correct C function usage
Hello, I am not sure if I am interfacing with C correctly and _safely_ or if there is a better way esp. with regards to terminating the "returned" array. I am trying to fill an int array with values whose actual size is determined in the C function and is always maximally as large as length(values). I also don't understand the purpose of $ab in the example: conv <- function(a,
2008 Jun 30
1
2.7.0 breaks read.table
Hi, yes a bold statement, but I get different behaviour from 2.6.2 and 2.7.0 in read.table, and I don't find any documentation in http://cran.r-project.org/src/base/NEWS. A file like (space delimited): foo + . bar - . 2.7.0: > tab <- read.table("test.txt",as.is=TRUE) > tab V1 V2 V3 1 foom 0 0 2 bar 0 0 while until now and on 2.6.2 > tab <-
2008 Jan 09
1
Rscript on OSX
Hi, I directed somebody to install R (2.6.1) on his OSX computer, following instructions from http://cran.r-project.org/bin/macosx. She can run R from the console. But plot(1:10) doesn't produce any output or open a window (as I am used to from linux). More importantly: Rscript is not in the path (minor problem ln -s is hopefully doable). I tried to put a hardcoded path to Rscript into the
2005 Dec 04
2
tiff graphics
Colleagues I frequently insert PDF graphics created with R into Word (Office 2004 for Mac) documents. The documents are created on either a Linux machine (RedHat 9) or a Mac (Tiger). I am using R 2.2.0. These pdf graphics often lose a great deal of resolution after insertion into Word compared to their high quality when printed as PDF documents. I recently learned that converting the
2018 Dec 20
2
4.20-rc6: WARNING: CPU: 30 PID: 197360 at net/core/flow_dissector.c:764 __skb_flow_dissect
On Thu, Dec 20, 2018 at 11:17 AM Ido Schimmel <idosch at idosch.org> wrote: > > On Thu, Dec 20, 2018 at 03:09:22PM +0100, Christian Borntraeger wrote: > > On 20.12.2018 10:12, Ido Schimmel wrote: > > > +Willem > > > > > > On Thu, Dec 20, 2018 at 08:45:40AM +0100, Christian Borntraeger wrote: > > >> Folks, > > >> > >
2018 Dec 20
2
4.20-rc6: WARNING: CPU: 30 PID: 197360 at net/core/flow_dissector.c:764 __skb_flow_dissect
On Thu, Dec 20, 2018 at 11:17 AM Ido Schimmel <idosch at idosch.org> wrote: > > On Thu, Dec 20, 2018 at 03:09:22PM +0100, Christian Borntraeger wrote: > > On 20.12.2018 10:12, Ido Schimmel wrote: > > > +Willem > > > > > > On Thu, Dec 20, 2018 at 08:45:40AM +0100, Christian Borntraeger wrote: > > >> Folks, > > >> > >
2008 Jul 28
4
RHEL 5.2 i386 image - Xen kernel doesn''t recognize the total amount of system memory
Hello, We have installed RHEL 5.2 Server ( i386 image ) on a machine with 64GB of RAM. When booting the default PAE kernel ( 2.6.18-92.el5PAE ) that is shipped with RHEL 5.2 installation the OS detects 64GB of RAM. But when booting the Xen kernel ( 2.6.18-92.el5xen ) the OS detects only 14GB of the total amount of available RAM. Did anyone encounter this problem before ? Is it a normal
2023 Mar 28
1
[Bridge] [PATCH v2 net-next 6/6] selftests: forwarding: add dynamic FDB test
On Tue, Mar 28, 2023 at 19:40, Ido Schimmel <idosch at nvidia.com> wrote: > On Sun, Mar 26, 2023 at 05:41:06PM +0200, Hans Schultz wrote: >> On Mon, Mar 20, 2023 at 10:44, Ido Schimmel <idosch at nvidia.com> wrote: >> >> + $MZ $swp1 -c 1 -p 128 -t udp "sp=54321,dp=12345" \ >> >> + -a $mac -b `mac_get $h2` -A 192.0.2.1 -B 192.0.2.2 -q >>
2005 Dec 04
4
Construct a data.frame in a FOR-loop
Say I have a FOR-loop for computing powers (just a trivial example) for(i in 1:5) { x<-i^2 y<-i^3 } How can I create a data.frame and a 3D plot of (i,x(i),y(i)), i.e. for each iteration Thanks, Serguei Kaniovski -- ___________________________________________________________________ ??sterreichisches Institut f??r Wirtschaftsforschung (WIFO) Name: Serguei Kaniovski
2011 Jul 11
1
${HASH(SIP_CAUSE, ...)} and peer name
Hello, I'm trying to figure out what was the return code of SIP for a call. The problem is that HASH(SIP_CAUSE) require a peer name, but when I try to retrieve the peer name using ${CHANNEL(peername)}, I have an error message that CHANNEL does not have peername or it is not available to be used. I tried to print it with NOOP on a live channel, and also after hangup, both with the same error
2008 Mar 05
3
types of vectors / lists
Hello, I am an advanced user of R. Recently I found out that apparently I do not fully understand vectors and lists fully Take this code snippet: T = c("02.03.2008 12:23", "03.03.2008 05:54") Times = strptime(T, "%d.%m.%Y %H:%M") Times # OK class(Times) # OK is.list(Times) # sort of understand and not understand that length(Times)
2009 May 12
1
Running rake test:units yields DEPRECIATION WARNING: Disabling sessions for a single controller...
When I run my rake test:units I get the following: DEPRECATION WARNING: Disabling sessions for a single controller has been deprecated. Sessions are now lazy loaded. So if you don''t access them, consider them off. You can still modify the session cookie options with request.session_options.. (called from C:/Users/Wayne/ Documents/Aptana Studio/chores/app/controllers/
2018 Dec 20
1
4.20-rc6: WARNING: CPU: 30 PID: 197360 at net/core/flow_dissector.c:764 __skb_flow_dissect
On Thu, Dec 20, 2018 at 9:16 AM Ido Schimmel <idosch at idosch.org> wrote: > > On Thu, Dec 20, 2018 at 09:04:25AM -0500, Willem de Bruijn wrote: > > On Thu, Dec 20, 2018 at 6:15 AM Ido Schimmel <idosch at idosch.org> wrote: > > > > > > +Willem > > > > > > On Thu, Dec 20, 2018 at 08:45:40AM +0100, Christian Borntraeger wrote: > >
2007 Mar 15
2
Monitoring pkg to monitor router
Hi, I have a router which is maintained by our ISP. They have given us to monitor it by using MRTG. It is okay. But it only shows incoming and outgoing traffice. It does not say wherther is TCP or UDP or ICMP. It just shows in and out.That's it. But, I want to monitor this router ? Can you tell me a good pkg for it ? router has a snmp commiunity password . Ido not know it. My ISP does not
2008 Sep 24
3
How to manipulate xen image size
Hello All, We would appreciate your advice on the following issue. We have created a full virtualized Xen guest that its disk is an image file of 4GB. We want to use this image file as a template for creating Xen guests which their disk will be an LVM device. The disk image file is of type: file /var/lib/xen/images/rhel52.img /var/lib/xen/images/rhel52.img: x86 boot sector;