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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T16:52:59+00:00 2026-06-14T16:52:59+00:00

I have a string in R (using RStudio) legend <- c(‘Up to 5 minutes’,

  • 0

I have a string in R (using RStudio)

legend <- c('Up to 5 minutes', '5-10 minutes', '10–20 minutes', '20–40 minutes', '40–80 minutes', '80-160 minutes', '160-320 minutes', '5.3-10.6 hours', '10.6-21.2 hours', '1-2 days')

which runs fine when I just run the source code by line. But when I source the code it throws an error

Error in source(con, echo = echo, print.eval = print.eval, max.deparse.length = max.deparse.length,  : 
  con:29:52: unexpected INCOMPLETE_STRING

Where could be the problem?

  • 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-14T16:53:00+00:00Added an answer on June 14, 2026 at 4:53 pm

    Update from the discussion posted on RStudio:

    http://support.rstudio.org/help/discussions/problems/3945-bug-when-sourcing-the-application

    relevant portion:

    I didn’t notice it until now but when starting R I get

    Enabling Justin-In-Time compilation, level 3.
    [1] 0
    During startup - Warning messages:
    1: Setting LC_CTYPE failed, using "C" 
    2: Setting LC_COLLATE failed, using "C" 
    3: Setting LC_TIME failed, using "C" 
    4: Setting LC_MESSAGES failed, using "C" 
    5: Setting LC_PAPER failed, using "C" 
    [R.app GUI 1.53 (6335) i386-apple-darwin9.8.0]
    
    WARNING: You're using a non-UTF8 locale, therefore only ASCII characters will work.
    Please read R for Mac OS X FAQ (see Help) section 9 and adjust your system preferences accordingly.
    

    Reading the FAQ I did the standard system("defaults write org.R-project.R force.LANG en_US.UTF-8") and now it works fine.

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

Sidebar

Related Questions

I have a string which i want to split using a character preceded by
I have a string using the pipe symbol | as the delimiter. However, the
I have made a String[] array by using String.split(.) . I am now trying
I have string like \LESSING\root\cimv2:Win32_UserAccount.Domain=LESSING,Name=Admin How to convert it to LESSING\Admin using Framework?
I have read that to match a word inside of a string using Regular
I have a big string having at most 100000 character. Instead of using string.charAt[index]
How can I convert TO a Nullable from a String using reflection? I have
I have a string containing XML document using LinqtoXML What is the best way
Using String.Format how can i ensure all numbers have commas after every 3 digits
I have a string with UTF8 characters in it and I'm using StringEntity to

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.