Displaying 4 results from an estimated 4 matches for "whoopee".
2017 Jun 06
0
Force argument to have quotes
...are using eval(parse(...)) you are doing it
poorly in R; cf
library("fortunes")
fortune(106)
Why is something like this not suitable:
fun1 <- function(a1,a2,a3 = c("hi","by"))
{
cat(a3,a1+a2,"\n")
}
> fun1 (1,2)
hi by 3
> fun1(1,2, a3 = "whoopee")
whoopee 3
... or, if you want to include the function as an argument of a list:
> myArgs <- list(fun=fun1, arglist=list(a1=2, a2 =5, a3 = c("hi","by")))
For which you can do stuff like:
> do.call(myArgs[[1]],myArgs[-1][[1]])
hi by 7
> arglist <- myArgs...
2017 Jun 06
3
Force argument to have quotes
I am writing a program where non-technical R users will read in a config file and the config file will then parse the arguments found within the config and pass them to respective functions. I'm having trouble (efficiently) writing a piece of code to retain quotation marks around the argument which requires it as input, as found in the example function below, myFuncton1.
Below is a minimal,
1999 Dec 15
0
Samba 2.0.5a on RH 6.1 Server Setup
...rive that will be commonto all machines - eg. h:\. So I have 4
user shares, and a common IT share that we can all use. It works fine
on my NT4 machine and logs me in on startup without requiring my
intervention at all. I can then cross the table and log in as me on a
Win95 machine, same result! Whoopee! But - if I then do a
<Shutdown/Log in a different user>, and the try to log in to their
share, it tells me that it can't be found. Why? Looking in Network
Neighbourhood I can only see my share, our common IT group share, and
the printer's share. All the shares have exacly the sam...
2005 May 18
3
known_hosts vulnerability?
Hey all,
I came across a security news article, referenced by
http://www.linux.org/news, at
http://www.techworld.com/security/news/index.cfm?NewsID=3668
talking about an SSH weakness involving the known_hosts file. I
apologize if this issue has already been addressed, but the mailing list
archives didn't turn up anything when i tried searching for something
relevant. So; not to knee-jerk or