User Tools

Site Tools


documents:111012rtricks

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
documents:111012rtricks [2012/06/13 12:38] kotadocuments:111012rtricks [2016/05/24 12:46] – external edit 127.0.0.1
Line 91: Line 91:
 More recent, but under development is using [[http://cran.r-project.org/web/packages/tikzDevice/|tikzDevice]]. More recent, but under development is using [[http://cran.r-project.org/web/packages/tikzDevice/|tikzDevice]].
  
 +===== Variable Name to String =====
 +
 +<code>
 +myfunc <- function(v1) {
 +  deparse(substitute(v1))
 +}
 +
 +myfunc(foo)
 +[1] "foo"
 +</code>
documents/111012rtricks.txt · Last modified: 2020/11/26 07:08 by kota

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki