Sorry for asking a newbie question. I'm trying to do R sentiment analysis in RStudio. I could get the ROAuth script to work, but during this phase:
To enable the connection, please direct your web browser to:
http://api.twitter.com/oauth/authorize?oauth_token=HZ6dfylyLYN6yk1WArBsM7fjkDHEByZqhFKiSEYPzg
When complete, record the PIN given to you and provide it here:
I'm unable to click the link or select it with my mouse (and don't feel like manually typing in that URL in a web browser). I therefore am not able to use this script in RStudio, I have to go back to regular R. Is there some specific thing I can do to be able to click this link?
Thanks for your time!
Related
Can any one help to connect Salesforce using r program. Where as I need to take an screenshot of the sf report page.
I have getting redirect issue while running the program
Unfortunately, I made a change to the Jupyter Lab settings recently. Jupyter had never been able to access the remote R help server. Usually this was never an issue because most help files are displayed in Jupyter. The way help is called on a function or method is typing: ?question. The "question" being the name of an R function or method. Ex. ?plot
Infrequently one of the R packages will not list its help in Jupyter and instead try to open the remote R help server. This has never worked in the past. The tab for a remote server never opened. This has never really been an issue until recently. Recently I decided to "fix" this issue and spent a good deal of time looking up the solution. I made this "fix" and Jupyter began working properly to open the remote R help server. But the fix is a problem that is way too obnoxious.
Each time I type the question mark in Jupyter, Jupyter causes the browser to open a new tab for the remote R help server. It is impossible to type fast enough after typing typing the ?. Once the ? is typed, the typing is interupted while the browser opens a new R server help website. As soon as returning to the typing, another browser tab opens and interrupts the typing .
It is impossible to finish typing the name of a function after the ? without having multiple interruptions to the typing while multiple new windows are opened in the browser at the R help server website. By the time I've finished typing: ?ppp, there will the 5 interruptions and new browser tabs opened. If I typed slowly, there may be 10 - 12 interruptions and 10 new tabs opened at the R help server.
How to prevent Jupyter from trying to access the remote R help server every time the ? is typed when looking up a description of a function? How to get back to that happy place I had before I'd made whatever change that caused this nightmare to happen?
Solved my own question.
This issue had nothing to do with R. I assumed I had changed a configuration in R, but that was not the case. This was an issue I had caused when I had changed a setting in Jupyter lab.
I can say with certainty this issue was definitely caused when I changed the "Contextual Help" setting under the Commands tab in Jupyter. This setting is related to the Contextual Help selection found under the Help tab. And this setting was causing multiple R help server tabs to open in the browser after I typed: ?
Upon rediscovering this Jupyter setting today I recalling that I had been down this path before. I selected "Contextual Help". Jupyter auto restarted and the issue went away. I can gladly say that I can perform search again for the description of an R function: Ex ?plot ,and receive the description of this function within Jupyter the same as before. I no longer have the issue of the browser opening or multiple new tabs at the remote R help server after typing ?
I installed the Atom Software when I opened it I saw only white windows :((
Somebody can help me !?
When you see Atom looking like this, it's usually because something went wrong with Atom loading the stored data from last session. If you click on the Console tab, you'll see an error message.
You should take a look at the Debugging section of the Flight Manual. The most likely solution to your problem is to open Atom while clearing the stored data. From the command line, you can use atom --clear-window-state, which will wipe out all unsaved files and state data from your previous session.
If you share the error message with us, I will revise this answer to address the specific problem if it's something that I know about.
I have to extract web data every day,to automate it I am using selenium recording script if i run recording script it will automatically download data based on my recording.Now i want alternative to do this task which has to do changes the dates and a few other changes in the website, then clicks the download button.
Thanks in advance.
#raju your question is very generic.Please make it more precise next time.
As per my understanding search for parameterization in selenium ide should help you. These are very basic case. Try with this at least something. Still you face some issue post the query with complete error log. We will be more than happy to help you.
Is there a way in R to enter passwords interactively to the command line and hide them from the screen? I know there's readLine, but I do not know passwords can be hidden there.
Assume you want to connect to a database using ROracle or RMySQL and do not want to store the password in a script but rather make the user enter it every time a query is executed.
Yes, we had a similar question around here, but I feel that the situation has changed and it's worth to address to problem again. Unfortunately tcltk won't work on RStudio (Server).
However I have seen the folks at R Studio found a solution for their version control support. I remember previous versions where I could see my repo password every time I enter it in R Studio, but now that seems to be fixed. I know it's likely R Studio technique, but is there a way mortal R users can access it when working with R Studio Server?
Actually R Studio (Server) provides a nice solution. You can access it by using .rs functions. They provide an undocumented password function which is really nice though there's no guaranteed support forever and a day:
.rs.askForPassword("foo")
You can find the the original hint from RStudio's Josh here:
http://support.rstudio.org/help/discussions/questions/1448-password-interaction-with-dbs-on-rstudio-server
EDIT:
As of 2015 there is another nice solution to enter password interactively. You could use shiny to have a little web based window with a password form. This discussion I had with #hadley shows an example snippet: https://github.com/rstats-db/RPostgres/issues/26
EDIT:
As of 2017 there is another update to this. #m-dz pointed us to this:
rstudioapi::askForPassword("Enter your pw") as well as getPass::getPass() from the R Studio Support webpage. Plus, I also realized that there is .rs.api.askForPassword() which is equivalent to the initially suggested call - at least as far as I've seen.