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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T10:48:58+00:00 2026-05-24T10:48:58+00:00

I´ve asked for this on R-help one week ago, no answer until now… I´ve

  • 0

I´ve asked for this on R-help one week ago, no answer until now… I´ve got multiple data.frames of gps- and temperature-data within a list. One data.frame looks like:

GPS:

       date     time     x.lat     x.lon   
1      22.05.11 13:50:37 53.57908 10.034599 
2      22.05.11 13:50:38 53.57906 10.034633 

temp:

        date     time     temp
1      22.05.11 13:50:38 21.6120
2      22.05.11 13:50:39 21.6070

So I have two lists, one with multiple gps-data.frames and one with multiple temp-dataframes. I used lapply to manipulate both lists, but can´t merge temp and gps to one big list, containing all data.frames, for only time-stamps which exists in both list, like for the above example only 13:50:38 exists in both:

GPS+temp:

       date     time    x.lat     x.lon     temp
1      22.05.11 13:50:38 53.57906 10.034633 21.6070

For the single data-frames that worked just fine with:

both <- merge(gps,temp)

For the two lists of data.frames I first tried an lapply over both lists…something like

both <- lapply(temp, gps, function(x){x <- merge(x);x})

Then I tried it with

both <- merge.list(gps,temp)

but this doesn´t work either. It just transfers the first list “gps” to both

  • 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-24T10:49:00+00:00Added an answer on May 24, 2026 at 10:49 am

    Try Map:

    > Map(merge, GPS, temp)
    [[1]]
          date     time    x.lat    x.lon   temp
    1 22.05.11 13:50:38 53.57906 10.03463 21.612
    

    or just call mapply like Map does:

    > mapply(merge, GPS, temp, SIMPLIFY=FALSE)
    [[1]]
          date     time    x.lat    x.lon   temp
    1 22.05.11 13:50:38 53.57906 10.03463 21.612
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I asked this question to multiple people and until now I do not have
I asked this question before and got a great working answer. what is the
I have already asked this question on ServerFault however I got very minimal replies....one
I asked a pretty similar question a few days ago, but this one is
I've asked this question before with no real answer. Can anybody help? I'm profiling
This is probably a kinda commonly asked question but I could do with help
(I asked this question in another way , and got some interesting responses but
I asked this question a while back but now I'm looking to implement an
I asked this question: Serial Port (rs232) in Mono for multiple platforms and this
I asked this a couple of days ago on Server Fault but am getting

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.