R Package DT

Posted on May 27, 2018 in Programming • Tagged with programming, cran, DT, datatables.js

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

** Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives. **

https://rstudio.github …


Continue reading

stringi Tips

Posted on Jun 06, 2017 in Programming • Tagged with programming, stringi, CRAN

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

** Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives. **

  1. It is suggested that …

Continue reading

rJava Failed to Load rJava.So

Posted on Aug 06, 2017 in Computer Science • Tagged with programming

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

** Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives. **

rJava failed to load …


Continue reading

Develop R Packages Using "roxygen2"

Posted on Jun 27, 2012 in Programming • Tagged with R, package, programming, tags, CRAN, roxygen2, develop

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

You have to install the R package roxygen2 first.

install.packages('roxygen2')

Roxygenize the package for compiling.

library(roxygen2)
roxygenize(path_to_package)

The following are some roxygen2 tags …


Continue reading

Zero-length Vector Issue in R

Posted on Apr 10, 2017 in Programming • Tagged with programming, CRAN, R, issue, trick, trap, vector, zero-length, 0-length

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

The corner case of 0-length vectors is not well considered in R. It causes issues in several situations. First, 1:n is probably not what you want …


Continue reading

Traps in R

Posted on Nov 09, 2012 in Programming • Tagged with R, global variable, programming, traps, CRAN

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

  1. Zero-Length Vector Issue in R

  2. A really tricky problem about is global and local variables. You can use any global variable in a user-defined function, which is …


Continue reading