Simple and easy steps to make R package? [duplicate] - r

This question already has an answer here:
Closed 11 years ago.
Possible Duplicate:
How to develop a package in R?
I read some material about making R package and get confuse.
Could any one illustrate simple and easy steps of making R package on windows for both operating system(windows and linux) with C++ code file?
Thanks

I suggest you to have a look at Hadley Wickham recomendations:
Hadley Wiki
Hadley Package basics

Related

How to see all methods, objects, dataframse, etc of a package in R? [duplicate]

This question already has answers here:
Show names of everything in a package
(4 answers)
Closed 9 years ago.
My question is similar to this question and in fact, is answered there. But because it took me a lot effort to find the answer there. I preferred to create a new more organized one and answer it myself.Now the question is:
If I want to see all methods, dataframes, etc of a package that I only know its name, what should I do to access them very easily?
Just enter this code:
help(package='PACKAGENAME', help_type='html')
for example to see all you have in the R basic package, stats:
help(package='stats',help_type='html')

determine when an R base function was added [duplicate]

This question already has answers here:
Figure out what version of R a function was introduced in
(2 answers)
Closed 9 years ago.
Is there a way to determine rather easily when an R function was added (what version number). Take for instance when were:
paste0 and browseVignettes added?
I'm not really looking for when these were added but a way to see when they were added.
Converting my comment to an answer as requested:
You can use the news() function
news(grepl("paste0", Text))
Go here: http://cran.r-project.org/src/base/NEWS.html
paste0 was in 2.15.0 and browseVignettes was 2.13.0 but it doesn't seem to mention browseVignettes.

How do I look for help on parameters of ggplot2 R package [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
List of ggplot2 options?
I have a pretty basic question on ggplot2.
When I need to look for help on paramters of plot with base R, I just write
?par
What's the equivalent of '?par' for ggplot2?
Sometimes I'm using qplot and need to understand hot to tune my geom paramters or another thing, but I just don't know how to look for documentation on the paramters...
Any help?
Explore these two links
R Cookbook
ggplot2 opts

Logging package recommendation for R [duplicate]

This question already has answers here:
Is there any standard logging package for R? [closed]
(7 answers)
Closed 8 years ago.
Which logging package would you recommend for R? I am aware there are several packages available but would like to know which one is considered the best. Specifically, here is what I am looking for:
multiple logging level
built-in support for rotating log file
fast (should not slow down too much existing code)
painless to setup (not too much boilerplate code)
For simple logging, evaluate ?sink

ggplot2 cheat sheet [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
There are lots of general R cheat sheets, but is there a cheat sheet for ggplot2?
Here are several options:
A very polished ggplot2 cheat sheet from RStudio (Dec 2015). This version is updated for ggplot2 2.0.
Another ggplot cheat sheet.
A ggplot2 tutorial (October 2014).
A 14-page quick reference/tutorial for ggplot2 published in September 2011:
ggplot2 tutorial by Ramon Saccilotto.
A detailed tutorial on a wide range of plot types and customization options, published in 2012.
Winston Chang's Cookbook for R website has a section with ggplot2 recipes. Also see his R Graphics Cookbook from O'Reilly.
A website with brief tutorials on the major aspects of ggplot2.
The ggplot2 transition guide from February 2012 is longer, but systematically goes through all the features that were changed or added in going from the original version of ggplot2 to the (at the time) latest version.
If you're interested in drawing maps with ggplot2, there's Hadley's article on spatial visualization with ggplot2. Also see this detailed tutorial on maps and spatial analysis with R at rPubs (2014).
Detailed examples on scatterplots, visualizing distributions (density and box plots), and barplots with ggplot2 (late 2013 - early 2014).
A more detailed task based ggplot2 cheat sheet, or rather a quick reference.
Not exactly a cheat sheet, but also helpful in figuring out the right command, is Jeroen Ooms' web interface to ggplot2
To me ggplot2 has one of the best and compressed documentation of any R package.
I think it would be really difficult pack everything to an even smaller document.
This holds in particular because some of the magic of ggplot2 is closely related to functions from plyr or reshape. Though I have suggested via feedback form that some .pdf reference card would be really nice. Besides I recommend the ggplot2 book.
This might be what you are looking for: http://had.co.nz/stat480/r/graphics.html

Resources