Displaying 20 results from an estimated 11000 matches similar to: "Passing additional arguments through '...'"
2009 Apr 22
1
How do I loop through strings?
I read in a CSV file with Data <-
read.csv(file="FileName.csv",head=TRUE,sep=",")
the file containts strings in the 2nd and 3rd columns and each has about
1000 rows. I need to either loop through the strings there looking for
strings that would trigger other logic or remove those rows and put them in
another array and loop through them in the new array. I can't seem
2017 Aug 25
2
ovirt-engine package for oVirt 4.1.x
On Fri, Aug 25, 2017 at 04:54:54PM +0200, Sandro Bonazzola wrote:
> 2017-08-13 13:50 GMT+02:00 C. L. Martinez <carlopmart at gmail.com>:
>
> > Hi all,
> >
> > I am trying to install oVirt 4.1.x from centos repos but it seems
> > ovirt-engine doesn't exists. But instead, ovirt-hosted-engine-setup
> > exists?
> >
> > Is ovirt-engine
2009 Jul 20
1
Naming Conventions
Hi,
I was wondering about naming conventions for functions in R. I wasn't able
to find anything official, just this document, which seemed reasonable but
you never know with things found on the internet:
http://www1.maths.lth.se/help/R/RCC/
When submitting packages to CRAN, is there a commonly accepted way (specific
to R) for naming functions? Thanks!
--
View this message in context:
2007 Oct 17
1
Problem with assert_difference
Hello Friends,
I have problem with assert_difference, I want its syntax and
explantion in detail, Please help me, plz give me solution.
Regards,
Kiran Polawar
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2012 Jun 02
1
igraph and igraph0
Could someone tell me the difference between igraph and igraph0?
I searched the CRAN web site, but cannot find an explantion of the differences.
Thanks, Alan
[[alternative HTML version deleted]]
2004 Dec 12
2
Re: [R] Is k equivalent to k:k ?
I asked:
> In this discussion of seq(), can anyone explain to
> me _why_ seq(to=n) and seq(length=3) have different
> types?
Martin Maechler <maechler@stat.math.ethz.ch> replied:
well, the explantion isn't hard: look at seq.default :-)
That's the "efficient cause", I was after the "final cause".
That is, I wasn't asking "what is it
2004 Dec 08
4
Is k equivalent to k:k ?
Bringing up an old topic on a small technicality.
In the help documentation on seq.
Value:
The result is of 'mode' '"integer"' if 'from' is (numerically
equal to an) integer and 'by' is not specified.
The arguement in seq specifying length also creates "double" which is not obvious in the wording, as "by" is not specified
2004 Dec 08
4
Is k equivalent to k:k ?
Bringing up an old topic on a small technicality.
In the help documentation on seq.
Value:
The result is of 'mode' '"integer"' if 'from' is (numerically
equal to an) integer and 'by' is not specified.
The arguement in seq specifying length also creates "double" which is not obvious in the wording, as "by" is not specified
2013 Apr 29
2
Adding elements in data.frame subsets and also subtracting an element from the rest elements in data.frame
Dear R forum
I have a data.frame as
cashflow_df = data.frame(instrument = c("ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC","ABC", "ABC", "PQR", "PQR",
2009 Sep 17
2
What is the best way to get a subset of a data.frame?
Hi,
I want to construct a data.frame 'y' by using x$x and x$y. I think
that there might be better ways to do it (because, for example, we can
use a_matrix[3:5,] to extract certain rows, where 'a_matrix' is a
matrix). Can somebody let know what the best way is?
> a=data.frame(x=1:10,y=rep("abc",10),z=rep("xyz",10))
> a
x y z
1 1 abc xyz
2 2
2018 Jul 19
1
Stopping login via "nologin" parameter
Hello,
I have a basic e-mail server with Postfix 3.1 and Dovecot 2.2.22.
I am using a passwd-file for both userdb and passdb:
/etc/dovecot/dovecot.conf
userdb {
driver = passwd-file
args = /etc/dovecot/passwd
}
passdb {
driver = passwd-file
args = /etc/dovecot/passwd
}
}
In the passwd file, I want to have
2012 Jul 18
2
How to have original (name) order after melt and cast command
Dear R helpers,
I have a data.frame as given below -
dat1 = data.frame(date = as.Date(c("3/30/12","3/29/12","3/28/12","3/27/12","3/26/12",
"3/23/12","3/22/12","3/21/12","3/20/12", "3/30/12","3/29/12","3/28/12","3/27/12",
2008 Mar 20
3
Break up a data frame
Hi R users,
I have a dataframe in the below format
xyz 01/03/2007 15.25 USD
xyz 01/04/2007 15.32 USD
xyz 01/02/2008 23.22 USD
abc 01/03/2007 45.2 EUR
abc 01/04/2007 45.00 EUR
2019 Apr 25
2
Questions/suggestions about new staged installation
Hi,
I was playing around with inotifywait (great tool!) to see the new
staged installation of source packages in action. In one terminal I'm
monitoring the create/delete/move events of the installation library with:
? inotifywait -m --timefmt '%F %T' --format '%T -- %w %e %f' -e create
-e delete -e move path/to/R/library/
While in another terminal I install CRAN package
2000 Mar 08
2
possible BUG with as.data.frame() and/or [.data.frame
Here is a possible BUG with as.data.frame() and/or [.data.frame which broke
Michael Lapsleys RODBC-Code.
Can anyone confirm it is a bug or a 'feature' of the prototype?
tablename <- "abc"
a <- as.data.frame(cbind("abc", 1:3))
b <- as.data.frame(cbind(tablename, 1:3))
# ok
> a
V1 V2
1 abc 1
2 abc 2
3 abc 3
# missing column name
> b
tablename
1
2011 Apr 06
3
function order
Dear All
I'm trying to sort a matrix using function order,
Some thing really odd:
e.g.
abc<-cbind(c(1,6,2),c(2,5,3),c(3,2,1))## matrix I want to sort
if I do
abc[ order(abc[,3]), increasing = TRUE]
the result is correct
[,1] [,2] [,3]
[1,] 2 3 1
[2,] 6 5 2
[3,] 1 2 3
But if I want to sort in decresing order:
abc[ order(abc[,3]), decreasing = TRUE]
the
1999 May 11
1
model.matrix crashes (PR#189)
With 0.64.1 on Intel RH5.2,
abc <- list()
abc$abc$abc <- matrix(1:20)
mt <- terms(~(abc$abc$abc[,1]==64)|(abc$abc$abc[,1]==65)|(abc$abc$abc[,1]==75)
|(abc$abc$abc[,1]==84)|(abc$abc$abc[,1]==85))
model.matrix(mt,model.frame(mt))
crashes. With ab$ab$ab, it does not. Apparently, the bug I reported
for 0.64.0 has just been pushed back one step. Jim
2008 Mar 10
2
source() behavior I don't understand
temp.ttt <- "ttt <- 1\nttt"
conn.ttt <- textConnection(temp.ttt)
source(conn.ttt, echo=TRUE) ## name of variable is echoed
close(conn.ttt)
cat(file="c:/temp/temp.R", temp.ttt) ## name of variable not echoed
source("c:/temp/temp.R", echo=TRUE)
temp.abc <- "abc <- 1\nabc"
conn.abc <- textConnection(temp.abc)
source(conn.abc, echo=TRUE)
2004 Jan 31
3
Naming difference in cbind between S-Plus (PR#6515)
Naming difference in cbind between S-Plus and R.
I think R is wrong.
abc <- data.frame(y=1:4, x=rnorm(4))
abc.lm <- lm(y ~ x, data=abc)
predict.lm(abc.lm, type="terms") ## this is where R got the name "x"
abc <- cbind(abc, d=abc$y - predict.lm(abc.lm, type="terms"))
abc
R gives
> abc
y x x
1 1 -1.33925477 1.163001
2 2 1.52764505
2005 Apr 30
3
How to extract function arguments literally
Dear all,
One of my friends asked me if it is possible to extract actual R
function arguments literally (precisely, as strings). The reason is
simple. He feels sometimes awkward to attach quotation marks :-). What
he actually wants is to pass R command arguments to XLisp subroutines
(He has been an enthusiastic XLisp user for a long time and still tends
to use R as a wrapper to XLisp). Is it