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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T12:59:23+00:00 2026-05-28T12:59:23+00:00

I wish to perform date manipulation of an imported csv file with the first

  • 0

I wish to perform date manipulation of an imported csv file with the first column being a date column of the format dd/mm/yyyy and I wish to use either R or Octave for this as after this date manipulation I will need to do various matrix/vector operations on the rest of the data, dependent upon these dates.

The dates in the imported csv file will NOT include weekends and there will also invariably be some other missing dates and what I wish to do is check the file and insert all these missing dates plus weekends such that the date column is completely contiguous from beginning to end, with no missing dates, and with “dummy” empty values associated with these inserted dates to be written appropriately in the resultant matrix. Which of R or Octave should I use for ease of doing this? I know that using Octave to do this would be very tricky, but I don’t know about R. Ultimately all dates and data will be written to another named text file for subsequent plotting in Gnuplot.

Additionally, if someone could give hints as to which date functions I would need to use, how to approach this problem etc. that would be great.

  • 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-28T12:59:24+00:00Added an answer on May 28, 2026 at 12:59 pm

    It sounds as though you are dealing with financial data. The R packages zoo, xts, and quantmod should probably be reviewed because they offer worked solution to common data processing tasks in this area. There are other packages that define financial calendars. There is an R-SIG mailing list devoted to this topic as well. Even if you are dealing wihth some other real-world scenario that has data restricted to non-holiday weekdays, you are still going to find useful functionality in those packages for the task you (rather vaguely) have outlined.

    Doing a search on SO for “[r] finance calendar” brings up this potentially relevant hit as well as several others.

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

Sidebar

Related Questions

I wish to perform device-to-device file transfer over Bluetooth in my Android application. Currently
How do i perform foreach on a object . I wish to format the
I wish to use IBM WebSphere Message Broker (probably V6) to consume some CSV
I perform slaveOk reads on a mongo (2.0.3) secondary. I wish to do so,
I am using Qt and wish to write a class that will perform some
I wish to make the uploaded file contents only viewable on the browser i.e
I wish fetch data in a XML file, where Tag is a variable.. My
I wish to edit ini files over web server, decided to use django, been
At the moment I am revising my sql. I wish to perform a query
I wish to read files from a directory and iteratively perform an operation on

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.