Displaying 3 results from an estimated 3 matches for "cork4b".
Did you mean:
cork
2010 May 29
3
S4 dispatch for .DollarNames (utils)
...rk :
> x$f<TAB>
x$
What do I miss ?
I've uploaded foo here : http://addictedtor.free.fr/misc/rcpp/foo_1.0.tar.gz
Romain
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://bit.ly/9CQ66r : RMetrics 2010
|- http://bit.ly/cork4b : highlight 0.1-8
`- http://bit.ly/bklUXt : RcppArmadillo 0.2.1
2010 May 28
1
require( "foo (>= 2.1)" )
...es, when package "bar" works
better with "foo" but can still work fine without, or when not making a
package.
Romain
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://bit.ly/9CQ66r : RMetrics 2010
|- http://bit.ly/cork4b : highlight 0.1-8
`- http://bit.ly/bklUXt : RcppArmadillo 0.2.1
2010 May 25
1
using the name of an argument in a function
Hi all,
In a function, I need to get the name of a variable that has been used to
call the function.
For example, I want:
--- 8< ------
toto <- 3
fun <- function(y){
nameOfY <-deparse(substitute(y))
cat("name is ",nameOfY)
}
fun(toto)
# [1] name is toto
--- 8< ----
But deparse(substitute(y)) does not work all the time, especially when we
use generic function.