Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8999589
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T00:12:01+00:00 2026-06-16T00:12:01+00:00

On Nov 29, 2012 a new version of RStudio released that makes it possible

  • 0

On Nov 29, 2012 a new version of RStudio released that makes it possible to “write C++ functions and simply source them into R just as you’d source an R script” . I became super-interested thinking that similar to integration of knitr and Latex into RStudio which enables me to use RStudio for both my R programs and Latex codes, the new version enables me to do the same with my C++ codes. I’m beginner in C++ and I thought that now that Rstudio has made it easy to program in C++ and source it in R, it’s a great time to start learning C++ which I really need for my project involving heavy computations. After downloading the new version and creating a new .cpp file and writing a simple C++ code, I’m not able to compile it. Would you please guide me on:

1) Whether the new RStudio can be used as an editor for writing and running my C++ codes instead of Visual Studio or other editors/IDEs?(Similar to what I do with my Latex codes)

2) If so, I assume that I need to set up C++ compiler separately, would you guide me on how to do that in mac?

3) like loading knitr package, do I need to load any package in R to be able to source/or run my C++ codes in Rstudio?

3) Finally, do I need to set the RStudio preferences to be able to compile my C++ codes directly from RStudio?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T00:12:01+00:00Added an answer on June 16, 2026 at 12:12 am

    Quick ones regarding your questions:

    1. No, RStudio is unlikely to become your IDE for standalone C++
      programs, though it does provide an editor and you can tailor
      Makefiles…
    2. This is well documented in numerous tutorials on the web, and of course the R documentation (see Writing R Extensions. It is a little rude of you to expect us to retype it all for you here. Also see the documentation on the RStudio site.
    3. Yes, you need the Rcpp package for this.
    4. (Your counting is off.) The question does not make sense to me as asked. If you get 1) to 3) sorted out, things may become clearer.

    Try Google, RSeek.org and the SO search features. These questions have all been asked, and answered, before.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Friends I am having a String that contains date-record String date=10-Oct-2012 @12-Oct-2012 @$12-Oct-2012 @12-Oct-2012
How do i convert this excel dataserial value 41225 back to date format 12-Nov-2012
Why do these two dates are differents : var date1 = new Date(); date1.setFullYear(2012);
I've a date list StartDate EndDate 1-Nov-2011 31-Jan-2012 3-Mar-2012 1-Apr-2012 1-May-2012 31-Dec-2012 1-Jan-2013 1-Dec-2013
I have a Python application that is set up using the new New Relic
My webpage looks like this <h3>Headline</h3> Unimportant Nov 20, 2012<br /> And I just
I am using the Nov version of the AjaxControlToolkit, and I found a logic
I'm trying to write test that compare some dates. So far i have 2
i have date showing like the following 01-Nov-2012 12:00:00 AM and i want to
My attempted solution was: $date = Nov 30 2009 03:00:00:000PM; echo date(F Y, strtotime($date));

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.