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

  • Home
  • SEARCH
  • 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 8478939
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T18:53:15+00:00 2026-06-10T18:53:15+00:00

I am using R and I have a data frame like this ( Lot

  • 0

I am using R and I have a data frame like this ( Lot of rows)

 DATE TICKER PERMNO PERMCO   BIDLO ASKHI    PRC CFACPR
1 20060901   ALOG  14198    173 55.8112 57.59 56.440      1
2 20060905   ALOG  14198    173 55.0101 56.48 55.650      1
3 20060906   ALOG  14198    173 55.0200 56.53 55.380      1
4 20060907   ALOG  14198    173 55.1200 57.05 56.360      1
5 20060908   ALOG  14198    173 55.3180 56.98 55.345      1
6 20060911   ALOG  14198    173 54.0000 56.23 56.190      1

I am trying to access the TICKER value of any of rows.
Like this

> data[1,]$TICKER

[1] ALOG
150 Levels:  ACTG ACTL AEIS ALOG ALSC ALTR AMCC AMK AMSC ANAD ARMH ARMHY ARXX ASTSF ASYS ATMI ATML AVNX AXTI BELFA BELFB BRCM CAMD CATT CBMX CECE ... ZRAN

Why do I get the 150 Levels below the actual value. How do I just access the TICKER symbol

  • 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-10T18:53:17+00:00Added an answer on June 10, 2026 at 6:53 pm

    Use stringsAsFactor=FALSE, either as an option to read.table() or read.csv(), or as a global setting. If you do, values will be strings.

    R> data <- read.table(textConnection(" DATE TICKER PERMNO PERMCO   BIDLO ASKHI    PRC CFACPR
    1 20060901   ALOG  14198    173 55.8112 57.59 56.440      1
    2 20060905   ALOG  14198    173 55.0101 56.48 55.650      1
    3 20060906   ALOG  14198    173 55.0200 56.53 55.380      1
    4 20060907   ALOG  14198    173 55.1200 57.05 56.360      1
    5 20060908   ALOG  14198    173 55.3180 56.98 55.345      1
    6 20060911   ALOG  14198    173 54.0000 56.23 56.190      1"), header=TRUE, stringsAsFactors=FALSE)
    data <- read.table(textConnection(" DATE TICKER PERMNO PERMCO   BIDLO ASKHI    PRC CFACPR
    + 1 20060901   ALOG  14198    173 55.8112 57.59 56.440      1
    + 2 20060905   ALOG  14198    173 55.0101 56.48 55.650      1
    + 3 20060906   ALOG  14198    173 55.0200 56.53 55.380      1
    + 4 20060907   ALOG  14198    173 55.1200 57.05 56.360      1
    + 5 20060908   ALOG  14198    173 55.3180 56.98 55.345      1
    + 6 20060911   ALOG  14198    173 54.0000 56.23 56.190      1"), header=TRUE, stringsAsFactors=FALSE)
    R> data[1,"TICKER"]
    [1] "ALOG"
    R> 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a data.frame that looks like this: ID Date.A Date.B Variable A 01/01/2012
I have a data frame like this: Server Date Server Space 1 2010-01-30 server1
If I have data like this DF <- data.frame( date = seq(Sys.Date()-1000, len=1000, by=1
I have a data frame that looks like this: site date var dil 1
Say I have a data frame like this: Df <- data.frame( V1 = c(1,2,3,NA,5),
I have an R data frame that looks like this: z = as.data.frame(list(Col1=c(a,c,e,g),Col2=c(b,d,f,h),Col3=c(1,2,5,3,5,7,9,8,1))) >
Let's say I have a data frame with numerical values like this AA01.AVG_Beta AA02.AVG_Beta
Suppose I have a date.frame like: df <- data.frame(a=1:5, b=sample(1:5, 5, replace=TRUE), c=5:1) df
I have a data frame like this one below and I really want to
I have a data frame like this one: x <- data.frame(time = c('1', '2',

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.