Does R Cookbook work with Rstudio? [closed] - r

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
This is a very basic question, but since I am new to R and I am starting to learn it now, I am buying this book.
http://www.amazon.in/Cookbook-OReilly-Cookbooks-Paul-Teetor/dp/0596809158
Now, after reading the sampler available on the internet, I found out that all the examples are given in R but I use Rstudio. I just wanted to know that the same instructions and syntax will work in Rstudio as well, right?
Thanks!

Basically - yes. RStudio is (only) the IDE (Integrated development environment - http://en.wikipedia.org/wiki/Integrated_development_environment) for R.
Hovewer, R Cookbook is from 2011, so it's recipes depend on quite old R version. It's possible, that some of recipes won't work, not because of using RStudio, but because of using newer R version.

Related

What problem does Julia solve for data science? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
I am not able to find any definitive answer to what problem Julia solves compared to the two languages, I was told are most commonly used in working with data (data science), R and Python.
I am not asking for any opinions. Please support replies with factual information (sad I need to add this but it seems some people think this topic is opinion based).
Could anyone explain this?
The Julia Programming Language solves the same problems as R and Python. However, it can solve them extremely faster than those mentioned above, as it runs over C code and uses a JIT compiler. See the Julia Benchmark. This and other advantages that can be found at the language site, it's Twitter profiles: Julia Computing and Julia Language.

Should I make my R developments a package? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
I am developing a set of R scripts to post-process experimental data.
Currently, these are just scripts that I load individually by manually sourcing them.
I wonder if it would be better to put all those scripts in an R package, but as I constantly add/modify my library functions, I don't really know if this is the recommended way of doing it.
So my question is: should I go on working on "independent" script files or package them?
It is always good to bundle your scripts into a package. which will help you in lot many ways.
All your project fundamentals will be packed together
code portability will be lot easier
you can have test cases for your function using testthat package
You can have proper documentation for your code using roxygen2 package, which will help the readers or other users of the code to understand mode about the code.
you don't have to load your data and functions manually, you just have to load your package by saying library(package_name)
for more details about "R package": http://r-pkgs.had.co.nz/

Is S-PLUS dead? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
I know this is not precisely a programming question, but I don't where else to ask...
S-PLUS was aquired by TIBCO some years ago. And it was seemingly included to the Spotfire product. However I installed the demo version of Spotfire and can't find anything indicating that S-PLUS is anymore part of it.
So my question is: is S-PLUS dead? And is there any way to install a prior version of it? I know R has totally taken over, but I'd be curious to just try it out if it is available somewhere.
Not sure how relevant the question is but here are my $0.02:
Yes, R has won.
TIBCO still seems to have a Spotfire product mentioning S-Plus (pdf found via simple Google search).
IIRC, years ago TIBCO purchased the commercial S license, but it turns out that nobody really wanted S-Plus if it was not entirely compatible with R.
TIBCO learned that lesson and built an entirely new R-compatible engine they call TERR; the jury is still out as to whether it will ever get any significant traction.
In the end, it is rather difficult to beat a well-maintained and written Open Source product---and R is one of the better examples of Open Source done right.

RInside with Qt, GTK+ or Tcl [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
My question is: Do you know what toolkit between Qt, Gtk+ or Tcl/tk is better to develop an app with RInside?
I think I can do it with any of them, but I just find examples of RInside using Qt.
Can I use, for example, Gtk or Tcl/tk also?, and... What do you think is the best choice to make an efficient GUI for a program in R?
Thanks
I can only speak for the Qt bindings which I have worked on, and which are documented via
the following:
an entire examples subdirectory of the sources / installed package devoted to this]
blog posts about this several times which comes up as the first Google hit for 'RInside Qt'; similarly for several of my presentations which featured this
the entire chapter 9 in my Rcpp book
You can probably work something out for Tcl/Tk and Gtk -- but given that RInside and Rcpp are C++ based, Qt seemed like a natural fit.

how to view help document in R windows just like the way in linux? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I would like to know how to view R help document in windows, just like the way it is when using Linux. That is to say, the help document is shown in the same terminal of the running R program; within it I just type ?help command.
options(help_type="text") will pop up a text window within R, rather than displaying help in the browser. You can't actually display help inside the R console, though. (Not even when using the console versions of R, strangely enough.)
One option is to use one of the many R GUI environments available on Windows--these generally provide docs in the same "window" (thought not in the R terminal itself). If that's close enough for you, try RStudio or RKWard.

Resources