What the difference between .Golbalenv and package:base?
Put simply,
.GlobalEnv stores objects you create
package:base contains functions and objects provided by R itself
What the difference between .Golbalenv and package:base?
Put simply,
.GlobalEnv stores objects you create
package:base contains functions and objects provided by R itself
Here via r-bloggers.
Nice overview worth a read.
A web application framework for R
Turn your analyses into interactive web applications
No HTML, CSS, or JavaScript knowledge required
— Via the homepage
You might want to handle all unexpected situations in your code doing something like options(error=recover)
and options(warn=2)
in your .Rprofile
. That is a good thing.
Just be sure to do it after your system is initialized, because if you don’t then you are sure to kill your startup!
saveRDS()
is an easy way to save the definition of a single unnamed object in R.
Good to know. Via fromthebottomoftheheap
How to generate a random number in R has a handful of nice examples.
The R documentation is concise and rich. Documentation on $
is one example of those properties. The examples teach so much more than the few lines of space that they take up! The best practices advised and detailed explanations in the commentary make this literature required reading.
Debugging in R
is quite fine.