search for: ff1

Displaying 14 results from an estimated 14 matches for "ff1".

Did you mean: f1
2013 Feb 04
2
Modifying a function programmatically
Dear list # I have a function ff <- function(a,b=2,c=4){a+b+c} # which I programmatically want to modify to a more specialized function in which a is replaced by 1 ff1 <- function(b=2,c=4){1+b+c} # I do as follows: vals <- list(a=1) (expr1 <- as.expression(body(ff))) expression({ a + b + c }) (expr2 <- do.call("substitute", list(expr1[[1]], vals))) { 1 + b + c } # This "works", eval(expr2, list(b=10,c=12)) [1] 23...
2009 Mar 23
4
newton method
Hi R-users, Does R has a topic on newton's method? Thank you for the info.
2009 Mar 23
2
dput(as.list(function...)...) bug
Tested in R 2.8.1 Windows > ff <- formals(function(x)1) > ff1 <- as.list(function(x)1)[1] # ff1 acts the same as ff in the examples below, but is a list rather than a pairlist > dput( ff , control=c("warnIncomplete")) list(x = ) This string is not parsable, but dput does not give a warning as specified. > dput( ff , control=c("all&q...
2009 Mar 29
9
budgetdedicated server (ubuntu) down?
I was trying to update my wine package because synaptic said there was an update available and I got the following message W: Failed to fetch http://wine.budgetdedicated.com/apt/pool/main/w/wine/wine_1.1.18~winehq0~ubuntu~8.04-0ubuntu1_amd64.deb Could not connect to wine.budgetdedicated.com:80 (81.171.111.184). - connect (111 Connection refused) [IP: 81.171.111.184 80] I also can not connect
2012 May 22
2
Creating functions with a loop.
Hi I am trying to create n functions where each function is defined in function one step before, i.e. something like ff.k(x) = ff.j(x) - sum(1:j), for j=k-1 Is it possible? If it isn't and I manually create each function then is their a way to call them through a loop? My objective is to calculate something like result.k = ff.k(x1)/ff.k(x2) for k in 2:n Thank you for your time,
2005 Apr 20
3
Keeping factors with zero occurrences in "table" output
Dear R group, I have a data frame which contains data on preferences on 7 items (ranks 1 through 7) listed by each participant. I would like to tabulate this in a 7x7 table where the rows would be the items and the columns would be the number of times that item received a particular rank. I tried doing this by creating a matrix by "rbind"ing each vector obtained using
2004 Mar 23
1
nlme question
I have a need to call and pass arguments to nlme() from within another function. I use R version 1.8. I have found an apparent way to make this work, but I would appreciate some comments on whether this fix is really appropriate, or there is another way to do it that does not involve changing the source code. I don't have enough experience to start changing the sorurce code of a library
2004 Apr 18
2
Error in gam?
I'm having some problems using variable names containing spaces (using backticks) with gam (mgcv 0.9-6, R 1.8.1). Some toy code to reproduce my problem is below. Am I doing something wrong, or should I pass this bug on to Simon Wood? (Or do I need to rename my variables to get rid of the spaces?) Thanks, Hadley library(mgcv) test <- data.frame(a = c(1:10), `a b` = c(1:10)^2,
2015 May 08
0
Q: respecting .ssh/id_rsa
...2allow -m ssh # Will let you see what modules it will create. grep ssh /var/log/audit/audit.log| audit2allow -M ssh # Creates the modules semodule -I ssh.pp sshd is the server; ssh is the client. Regards Matthew M. Conley Linux Administrator / IA AECOM Linux+, Security+, Network+, LPIC1, EMT, FF1 -----Original Message----- From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On Behalf Of Kirk Bocek Sent: Friday, May 08, 2015 11:28 AM To: CentOS mailing list Subject: Re: [CentOS] Q: respecting .ssh/id_rsa On 5/8/2015 7:22 AM, Valeri Galtsev wrote: > On Fri, May 8...
2001 Nov 25
0
Errors compiling on Sun Solaris 2.7
...", line 240: macro BS1 redefines previous macro at "/usr/ucbinclude/sys/ioctl.h", line 108 "/usr/include/sys/termios.h", line 245: macro FF0 redefines previous macro at "/usr/ucbinclude/sys/ioctl.h", line 104 "/usr/include/sys/termios.h", line 246: macro FF1 redefines previous macro at "/usr/ucbinclude/sys/ioctl.h", line 105 "/usr/include/sys/termios.h", line 295: macro ECHO redefines previous macro at "/usr/ucbinclude/sys/ioctl.h", line 82 "/usr/include/sys/termios.h", line 299: macro NOFLSH redefines previous m...
2004 Jan 23
0
Samba 3.0.0 compile errors
...s definition /usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:136: warning: `FF0' redefined /usr/include/sys/ioctl.h:45: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:137: warning: `FF1' redefined /usr/include/sys/ioctl.h:46: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:169: warning: `ECHO' redefined /usr/include/sys/ioctl.h:23: warning: this is the location of the previous definition /...
2015 May 08
2
Q: respecting .ssh/id_rsa
On 5/8/2015 7:22 AM, Valeri Galtsev wrote: > On Fri, May 8, 2015 8:58 am, James B. Byrne wrote: >> While attempting to debug something else I ran across this: >> >> ssh -vvv somehost >> . . . >> debug1: Connection established. >> debug1: permanently_set_uid: 0/0 >> debug1: identity file /root/.ssh/identity type -1 >> debug1: identity file
2005 Jun 14
1
Problem with samba broadcast
...lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 00:07:95:08:0f:f1 brd ff:ff:ff:ff:ff:ff inet 192.168.1.1/24 brd 192.168.0.255 scope global eth0 inet6 fe80::207:95ff:fe08:ff1/64 scope link valid_lft forever preferred_lft forever 4: eth1: <BROADCAST,MULTICAST,PROMISC,UP> mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 00:40:05:07:bb:05 brd ff:ff:ff:ff:ff:ff inet6 fe80::240:5ff:fe07:bb05/64 scope link valid_lft forever preferred_lft forever 5:...
2003 Dec 01
0
No subject
...", line 240: macro BS1 redefines previous macro at "/usr/ucbinclude/sys/ioctl.h", line 108 "/usr/include/sys/termios.h", line 245: macro FF0 redefines previous macro at "/usr/ucbinclude/sys/ioctl.h", line 104 "/usr/include/sys/termios.h", line 246: macro FF1 redefines previous macro at "/usr/ucbinclude/sys/ioctl.h", line 105 "/usr/include/sys/termios.h", line 295: macro ECHO redefines previous macro at "/usr/ucbinclude/sys/ioctl.h", line 82 "/usr/include/sys/termios.h", line 299: macro NOFLSH redefines previous m...