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

  • SEARCH
  • Home
  • 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 1068805
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T20:20:01+00:00 2026-05-16T20:20:01+00:00

the title exactly — is there a way to call an r process from

  • 0

the title exactly — is there a way to call an r process from an excel macro?

  • 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-05-16T20:20:01+00:00Added an answer on May 16, 2026 at 8:20 pm

    I am unfamiliar with r process, but this link appears to be valid for your question.

    http://www.unt.edu/rss/class/splus/UsingRWithinExcel.pdf

    RExcel – Using R from within Excel

    Overview

    The Excel addin RExcel.xla allows to use R from within Excel. The package additionally contains some
    Excel workbooks demonstrating different techniques for using R in Excel.
    There are two types of servers, forground and background. The background server ist totally hidden from the
    user, all interaction with R has to be done in Excel. The foreground server allows direct access to the R GUI
    command line while working in Excel. The backgound server is installed with the R(D)COM server, the
    background server depends on the {R}-package rcom, which has to be installed >from CRAN.

    Usage

    There are at least three different ways of using R from within Excel
    Scratchpad mode
    Writing R Code directly in an Excel worksheet and transferring scalar, vector, and matrix variables
    between R and Excel

    Macro mode

    Writing macros using VBA and the macros supplied by RExcel.xla, attaching the macros to menu
    items or toolbar items

    Worksheet functions

    R can be called directly in functions in worksheet cells

    Scratchpad Mode

    The RExcel menu contains the following items:

    R Start

    Initiates a connection to R
    If necessary starts an R process to be accessed >from Excel
    For the details of executing code at startup see section Startup

    Close R

    When this process is running, R Start changes to Close R
    Run Code
    Selecting a range (only one column wide) in Excel containing valid R code and then choosing this
    menu item executes the selected code

    Get

    Gets the value of an R variable into the active Excel cell or range
    Possible values are scalars and matrices of numbers or strings, or dataframes.

    Put

    Puts the values of the selected Excel range into an R variable.
    Possible values are scalars and matrices of numbers or strings, or dataframes.
    If a dataframe is to be put, the first row of the Excel range must contain the variable names for the
    dataframe.
    Put for dataframes only transfers data in visible rows and columns, hidden rows and columns will not
    be transferred.

    Copy Code

    Puts the content of the selected range on the Windows clipboard, assuming that it is R code, and wraps
    the code in VBA procedure calls to make it ready for inclusion in VBA macros

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

Sidebar

Related Questions

The title says it. I'm looking for a way to determine exactly which file/registry
Exactly as the title asks, why is System.getProperty(line.seperator) returning null. From looking around I
Exactly as the title says. When I load the datepicker there is nothing on
Im sure if the title is exactly what I am trying to describe so
Exactly what the title says. Note, this is not about subscriptable objects.
Exactly what the title says. I'm using MSVC++ 2008 express, and my class constructor
Exactly what the title says...........any thoughts on other good options for relational database implementation
The question title is a bit strange because I'm not exactly sure how to
I'm trying to understand what exactly the above (in my question's Title) means? This
The title is not exactly meaningful, but I am not share what else to

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.