Displaying 20 results from an estimated 8000 matches similar to: "2.7.0 breaks read.table"
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?
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 Aug 09
1
depreciation of $ for atomic vectors
Dear All,
I would like to know why $ was deprecated for atomic vectors and
what I can use instead.
I got used to the following idiom for working with
data frames:
df <- data.frame(start=1:5,end=10:6)
apply(df,1,function(row){ return(row$start + row$end) })
I have a data.frame with named columns and
use each row to do something. I would like the
named index ($) because the column position
in
2008 Mar 25
0
R 2.7.0 scheduled for April 22, prereleases in progress
This is to announce that we plan to release R version 2.7.0 on Tuesday
April 22, 2008. The following information is mainly for developers,
package maintainers and repository maintainers.
The planned procedure is
Mar 25: "Grand Feature" Freeze 2.7.0 alpha
Apr 8: Feature Freeze 2.7.0 beta
Apr 15: Code Freeze 2.7.0 RC
Apr 22: Release 2.7.0
GFF: No
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 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
2007 Aug 30
1
R 2.5.1 scheduled for October 3
This is to announce that we plan to release R version 2.6.0 on Wednesday
October 3, 2007. The following information is mainly for developers,
package maintainers and repository maintainers.
The planned procedure is
Sep 5: "Grand Feature" Freeze 2.6.0 alpha
Sep 19: Feature Freeze 2.6.0 beta
Sep 26: Code Freeze 2.6.0 RC
Oct 3: Release 2.6.0
GFF:
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
>>
2008 May 22
3
feature request for M$-Windows install (PR#11499)
# R for Windows will not send your bug report automatically.
# Please copy the bug report (after finishing it) to
# your favorite email program and send it to
#
# r-bugs at r-project.org
#
######################################################
R versions R-2.6.2 and R-2.7.0 for M$-Windows no longer allow me to
install as administrator (on my account) so the users can run R on their
own
2008 May 09
1
comparison (PR#11421)
In R-2.7.0 release as well as patched (from yesterday) under Windows XP,
R crashes when typing, e.g.:
repeat{
rep(1, 10000) == "?"
}
Note that I cannot reproduce the error in R-2.6.2 nor R-devel.
Uwe Ligges
--please do not edit the information below--
Version:
platform = i386-pc-mingw32
arch = i386
os = mingw32
system = i386, mingw32
status =
major = 2
minor =
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 May 19
2
2.7.0 graphics changes and png devices
Hi,
I have a question about the graphics changes in 2.7.0. The example is
this bit of code:
par(mfcol = c(2, 3))
for(i in 1:6) plot(1:10, 1:10, xlab = "xlab", ylab = "ylab", main = "main")
In 2.7.0, if I do this interactively (using windows()), I get bold
titles. If I do this through a png device, I get regular weight
titles. If I do this in 2.6.2, both