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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T13:05:14+00:00 2026-06-09T13:05:14+00:00

Does anyone know how to use the subset.ff function in the ff package? Here

  • 0

Does anyone know how to use the subset.ff function in the ff package?

Here is a sample of the data:

col1 col2 col3 col4 col5 col6 col7
    1    1    1    1    1    1    0
    1    1    1    1    1    1    0
  104   11    3    3    1    1 1089
   63   11    2    3    9    1  734
   11    1    3    1    1    1 -609
   11    1    3    1    1    1 -609
   11    1    3    1    1    1 -609

Here is the code:

temp2a <- subset.ff(temp1,temp1$col7!="0") #temp1 is the name of the ff data frame

I get the following error:

Error in `length<-.ffdf`(`*tmp*`, value = 12965531L) : not allowed to change the number of (virtual) columns of ffdf

I am trying to get two ff data frame subsets from the data. One where col7 is equal to 0 and one where col7 is not equal to zero. Does anyone know how to use the subset.ff function or another way to do what I want. I tried looking through the pdf for the ffbase library and all over the web but I couldn’t find any examples.

Cheers again,

Lorcan

  • 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-09T13:05:15+00:00Added an answer on June 9, 2026 at 1:05 pm

    what does temp1$col7!="0" give you? Is it like ?subset.ffdf states

    an expression, ri, bit or logical ff vector that can be used to index x.
    

    Probably you need to change it to temp1$col7 != 0

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

Sidebar

Related Questions

Does anyone know how to use the l() or url() function to create mailto
Does anyone know how to use the define function and pass a variable into
Does anyone know anyway to use something similar to polygon.getKml() except for the current
Does anyone know how to use an icon instead of text for the UINavigationController
Does anyone know how to use the command line compiler ('cl' and 'link') in
Does anyone know how to use different provider for membership? Actually i want to
I know I can use Request.Browser.IsMobileDevice . But does anyone know how it works,
Does anyone know of a method to use CRTP to count the number of
Does anyone know the syntax to use to add pattern styles to the cell
Does anyone know if Raphael supports the use of a drop shadow. I am

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.