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 6816801
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T20:58:09+00:00 2026-05-26T20:58:09+00:00

From searching, I see that calling R from Sage is pretty seamless. However, I

  • 0

From searching, I see that calling R from Sage is pretty seamless. However, I cannot find information on calling Sage from R. For example, suppose that I have an R expression that I would like to differentiate, say

temp <- expression(x + x^2)

How can I send that to sage and have it differentiate it and send back an R expression? I would like the result to be pretty much equivalent to

D(temp,'x')

I have searched CRAN and google and have not found anything. I’m hoping there’s a better solution than something based on the system function. I have seen that there is support from R for yacas, but I am interested in Sage.

I use 64-bit Ubuntu.

Thanks!

  • 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-26T20:58:10+00:00Added an answer on May 26, 2026 at 8:58 pm

    I don’t know if this would work, but Sage libraries can be imported into Python, and Python can be interfaced with the rJython package. Could you call Sage functions through rJython? It might not be as clean as the Ryacas or rSymPy packages, but perhaps it will be good enough.

    Edit
    Since Sage uses SymPy, you could interface with SymPy directly:

    require(rSymPy)
    x <- Var('x') # Convenience function for: sympy("var(’x’)")
    sympy("diff(x + x**2, x, 1)")
    # [1] "1 + 2*x"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How to continue from where I have been searching to find the index? I
I have been searching for a command that will return files from the current
In all my searching I see that you essentially have to copy the existing
From searching I can see this has been asked time and time again, but
I have a problem with calling the Match function from a VBA code: it
Having an annoying small problem. Cannot find the solution that works tried just about
I have another very puzzling question that has cropped up after my upgrade from
In this code: <html:text property=txtItem5 disabled=disTxtItem5> I can see that txtItem5 comes from a
I have a simple database that keeps track of transactions from multiple players in
I have a query string that is dynamic. The items I am searching for

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.