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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T15:02:31+00:00 2026-06-06T15:02:31+00:00

How can I save data from an Excel sheet to .RData file in R?

  • 0

How can I save data from an Excel sheet to .RData file in R? I want to use one of the packages in R and to load my dataset as data(dataset) i think i have to save the data as .RData file and then load that into the package. My data currently is in an Excel spreadsheet.

my excel sheets has column names like x, y , time.lag.
I have saved it as .csv
then i use:
x=read.csv(‘filepath’, header=T,)
then i say
data(x)
and it shows dataset ‘x’ not found

  • 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-06-06T15:02:33+00:00Added an answer on June 6, 2026 at 3:02 pm

    save your Excel data as a .csv file and import it using read.csv() or read.table().
    Help on each will explain the options.

    For example, you have a file called myFile.xls, save it as myFile.csv.

    library(BBMM)
    
    # load an example dataset from BBMM
    data(locations)
    
    
    # from the BBMM help file
    BBMM <- brownian.bridge(x=locations$x, y=locations$y, time.lag=locations$time.lag[-1], location.error=20,  cell.size=50)
    bbmm.summary(BBMM)
    
    # output of summary(BBMM)
    Brownian motion variance :  3003.392
    Size of grid :  138552 cells
    Grid cell size :  50
    
    
    # subsitute locations for myData for your dataset that you have read form a myFile.csv file
    myData <- read.csv(file='myFile.csv', header=TRUE)
    
    head(myData) # will show the first 5 entries in you imported data
    
    # use whatever you need from the BBMM package now ....
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

in my application im exporting gridview data to excel sheet now i want save
In Excel 2010 I want to load all text files data from a folder
I want to setup a table that can: Save the data on the user's
I'm trying to save data from the database into a csv file. My problem
I am creating an Excel file dynamically(data coming from database). on calling the URL
I have an Excel file from which I have to extract the required data
We have an asp.net c# program that reads a sheet from an Excel file
I am working on reading data from excel sheet. My table will look like
Is there a way that i can save data on each step in wizard
I try to create a form that can save a person's form data so

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.