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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T19:42:49+00:00 2026-05-15T19:42:49+00:00

I am using R to run simulations using time series data. I have been

  • 0

I am using R to run simulations using time series data. I have been using arrays to store data but I need a less memory intensive solution for storing data at intermediate steps in order to document the process. I am not a programmer so I am looking for something relatively easy to setup on multiple platforms if possible (Windows, Mac, Linux). I also need to be able to directly call the database from R since learning another language is not feasible now. Ideally, I would like to be able to read and write frequently to the database in a manner similar to an array though I don’t know if that is realistic. I will gladly sacrifice speed for ease of use but I am willing to work to learn open source solutions. Any suggestions would be appreciated.

  • 1 1 Answer
  • 1 View
  • 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-15T19:42:49+00:00Added an answer on May 15, 2026 at 7:42 pm

    I also need to be able to directly
    call the database from R

    I suggest setting up MySQL with RMySQL interface.

    Once the DB connection is open, you can query the database and get the the data into R, example:

    # Run an SQL statement by creating first a resultSet object
    rs <- dbSendQuery(con, statement = paste(
                          "SELECT w.laser_id, w.wavelength, p.cut_off",
                          "FROM WL w, PURGE P",
                          "WHERE w.laser_id = p.laser_id",
                          "SORT BY w.laser_id")
    # we now fetch records from the resultSet into a data.frame
    data <- fetch(rs, n = -1)   # extract all rows
    

    RMySQL: R interface to the MySQL database

    Database interface and MySQL driver
    for R. This version complies with the
    database interface definition as
    implemented in the package DBI 0.2-2.

    MySQL Database:

    Available for all the platforms you cited in the question, and more, download here.

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

Sidebar

Related Questions

I've been using Xcode 3.x but today (nov 1st 2011) have downloaded Xcode 4.2
for a while I have been using gprof to profile my C code but
I have a C# exe that needs to be run using WMI and access
I have written my own hadoop program and I can run using pseudo distribute
We have a system that runs in IIS. The system should always run using
I have a Tomcat 6.0.24 server running. I'm using to run some JSP pages.
I am using boost::posix_time::ptime to measure my simulation run-time and for something else. assuimg
I have made some helper functions that run a simulation using a lot of
I've got the output of some simulations that look something like this: Run,ID,Time,Var1,Outcome 1,1,6,0.5,1
I am trying to run a real-time simulation in Simulink using Real-time Workshop. The

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.