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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T01:04:14+00:00 2026-05-17T01:04:14+00:00

I am getting a novel error message, which I am unable to debug. I

  • 0

I am getting a novel error message, which I am unable to debug. I have two data sets x, x2:

        ID returns.x returns.y
 111111118  0.012852 -0.001436
 1145JXAP4  0.000000  0.025316
 114LYTBB1 -0.090909  0.100000
 114R88BT4  0.000000  0.000000
 114Y4KDH0 -0.055344 -0.094950
 1198CUV40  0.016043  0.005263

and

       ID   returns
111111118 -0.043392
11D7GQAK9  0.000000
11JS8VT41 -0.036116
11NJGF6V7  0.000000
11NSZA7T1  0.113978
11STQQNH7  0.000000

when giving a merge(x, x2, by = "ID", all = TRUE) I obtain a message

Error in match.names(clabs, names(xi)) :
  names do not match previous names

What’s the culprit?

  • 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-17T01:04:15+00:00Added an answer on May 17, 2026 at 1:04 am

    I’d put it somewhere between unlucky and a bug. IIRC the .x and .y are the default added extension. Just using something else works just fine. This should be equivalent:

    > A <- data.frame(ID=1:3, rx=rnorm(3), ry=rnorm(3))
    > B <- data.frame(ID=c(1,3,5), ret=rnorm(3))
    > merge(A, B, by="ID", all=TRUE)
      ID       rx       ry      ret
    1  1  0.45260 -0.21953 -0.56536
    2  2  0.35250 -1.35109       NA
    3  3 -0.56535  1.24298 -0.13605
    4  5       NA       NA  0.42105
    > 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Getting the following error, which I understand and have seen before. But one thing
Getting message expected identifier in red for below these two statements } else if
Getting 'Dispatcher has no subscribers' error while trying to post message to a channel
Getting this weird LINQ error. title = System.Linq.Enumerable+WhereSelectEnumerableIterator`2[System.Xml.Linq.XElement,System.String Here is the code I have:
Getting a strange error when trying to insert data into an Access database using
Getting a MySQL error message when I try to insert a text message from
Getting an error with my code found HERE ... Which is a culmination of
Getting an error running a Android unit test which extends ActivityInstrumentationTestCase2, and so want
Getting extremely confused with an adminhtml module i'm trying to write! Effectively I have
Getting red warning message that expected identifier for this statement CALayer = ImageView.layer; Using

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.