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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T14:37:39+00:00 2026-05-14T14:37:39+00:00

I am using the twitteR package in R to update my twitter status with

  • 0

I am using the twitteR package in R to update my twitter status with results from analysis. The static tweet function works:

library(twitteR)

sess = initSession('username','password')

tweet = tweet('I am a tweet', sess)

However, when I add a variable to display some specific results I get an error.

library(twitteR)

sess = initSession('username','password')

res = c(3,5,8)
msg = cat('Results are: ', res, ', that is nice right?')

tweet = tweet(msg, sess)

Results in:

Error in twFromJSON(rawToChar(out)) : 
  Error: Client must provide a 'status' parameter with a value.

Any suggestions are appreciated.

  • 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-05-14T14:37:39+00:00Added an answer on May 14, 2026 at 2:37 pm

    Here’s what I get when I run bits of your code:

    > res = c(3,5,8)
    > msg = cat('Results are: ', res, ', that is nice right?')
    Results are:  3 5 8 , that is nice right?> 
    > msg
    NULL
    

    The problem is that cat prints strings to stdout, rather than returning them as a string. What you want is:

    > res = c(3,5,8)
    > msg = paste('Results are: ', toString(res), ', that is nice right?', sep='')
    > msg
    [1] "Results are: 3, 5, 8, that is nice right?"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using Twitter's OAuth API to updates a user's twitter account (twitter status update)
I am wanting to allow a user to update their twitter status from my
I am using Twitter Bootstrap on two project, one is a static HTML website
In my document i'm using the package glossaries to create a glossary. Everything works
I have a Java project where I am pulling tweets from twitter using the
using twitter bootstrap typeahead i get google chrome suggestion list above typeahead list $(document).ready(function
I'm using twitter-async library to interact with twitter api. However, the memory limit keeps
I am using a Twitter Python package which is installed by easy_install twitter The
Our application is mining names from people using Twitter to login. Twitter is providing
I am creating a webapp that relies on following a status timeline from twitter

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.