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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T12:07:22+00:00 2026-06-08T12:07:22+00:00

I might just be crazy but I really can’t see where I am going

  • 0

I might just be crazy but I really can’t see where I am going wrong on my simple R program. I am trying to read a table from a file but every time I try to it comes back with this error:

./tmp.r: line 1: syntax error near unexpected token `('
./tmp.r: line 1: `tmp <- read.table("/home/Data/run1.DOC.sample_summary",header=FALSE)'

The file I am trying to read from looks something like this:

Aim  A_%_above_20  A_%_above_30  A_%_above_40  
28         0.0          0.0          0.0     
99         50           100.0        82.9  
34         62.1         0.0          0.0  

Here is my code:

tmp <- read.table("/home/Data/run1.DOC.sample_summary",header=FALSE)
names(tmp)
max_num <- max(tmp)
hist(tmp$'*_%_above_30',col=heat.colors(max_num), main='Percent in Test', xlab='Percent Covered')

Does anyone see what I am doing wrong here? I am just not seeing it.
Thanks

  • 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-08T12:07:23+00:00Added an answer on June 8, 2026 at 12:07 pm

    Those tmp$'*_%_above_30' really work in your last line ?

    Also, try to put comments on different part of your code to see which one is making your code crash.

    Finally, maybe it’s just a bad encoding of some characters in your code. Try to rewrite it from scratch.

    And how do you launch your script ?

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

Sidebar

Related Questions

This might be just too crazy to accomplish but this is what I'm trying
This might sound super crazy but I really want to know if this can
I had a crazy (but so crazy that it just might work) idea where
I might just be using the wrong keywords on Google, but what I have
This might sound like a stupid question but just trying to learn something here.
I'm just a beginner at c++ so I might be doing something wrong but
This might be a simple question but I'm just picking this up so please
I know this might be a very simple and stupid fix, but I can't
This might be a crazy question, just trying my luck. We are building a
Ok, this might just be a dumb question, but I was wondering if Bluetooth

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.