RStudio: Unable to establish connection with R session - rstudio

I have never experienced this before. But today whatever button i click in RStudio, i got the error message box.
Unable to establish connection with R session
I got this error message when I try to run code, save files, open new project, open files, install packages, clear workspace, run code in console. I uninstall and reinstall again. Also tried to remove Rstudio desktop state, the error will not go away. The same thing happen all over again.
How do I get around this ?

Related

Why can't code::block build file everytime every time after I restart my computer?

The code::block can't build file everytime after I restart my computer. It will show that there is error like this:
enter image description here
or "A debugging checking in this application has failed" like this and sometime it even can't allow me to open a new project:
enter image description here
But the strange thing is that when I first download the app and before I turn off the computer, it can build and run the same programe. This situation only appears when I turn off and turn on the computer again. However, when I reinstall the app, it can build and run the programe.
Can anyone please help me, I need the code::block tomorrow and it is impossible that every time after I turn off the computer I need to reinstall it.
I have tried to reinstall it, and open project in different way.

recover vscode settings, vscode wont start after force ending update

VS Code has been trying to update for a few days now. It opens the innoupdater, but the updater never works.
Today I force stopped the updater from task manager and now my VS Code is gone (The VS Code icon is gone). It's showing the below error every time I try starting it.
windows cannot access the specified path you may not have permission
The innoupdater is also not working anymore, even if I reinstall. I am not sure How I can get my setting back.
You can safely reinstall vscode. Settings preserved even after uninstall in %USERPROFILE%\.vscode.
Also, you can use vscode built-in sync services or extension

Code::Blocks stopped working suddenly and doesn't open any more

enter image description here
Tried installing and re-installing but of no use.
Every time it says Keyboard Shortcut Conflict for Ctrl+P. But I can't do anything about it as it doesn't open up. I do have keybinder but I don't know how to sort this out.
Inserted Screenshot of exact error message showed. I even tried installing nightly builds but the same error message pops up. every time.
Deleting the user files (only the "keybinding" files) in the directory below then restating CodeBlocks will help if the problem is just because a key conflict:
directory: C:\Users\YourUserName\AppData\Roaming\CodeBlocks\
Depending on the CodeBlocks version, the file names may be something like; cbKeyBinder10.ini, default.cbKeyBinder10.ini, default.cbKeyBinder20.conf
Important note: To be on the safe side, instead of deleting those files immediately, just rename their extensions as .ini_bak or .conf_bak. If this procedure solves your problem, you can, then, delete the backup files. If not, you can rollback your changes by returning the extensions back to their originals.

Persistent UI failed to open file - error in xcode osx

How to solve the following error and why i'm getting this.
Persistent UI failed to open file file://localhost/Users/ev_mac13/Library/Containers/com.xxxxx.testData/Data/Library/Saved%20Application%20State/com.xxxxx.testData.savedState/window_5.data: Too many open files (24)
I m using sqlite database in my applicatation. This error appearing inbetween running the application.
EDIT: The data was fetched and used in collection view and array controller. If i got the above error then i cant open sqlite database.
Assertion failure in -[SQLiteDBConnection executeQuery:], /Users/admin/Desktop/march14/feb22/ToolBox/ToolBoX/DBConnection/SQLiteDBConnection.m:186
2014-03-15 10:25:04.339 ToolBoX[2939:303] Error while creating add statement. 'unable to open database file'
EDIT #2:
i just typed lsof in osx terminal, it shows too many sqlite connections and close all connections. Now fixed.
I've run into this with permissions errors in my home folder.
However, if you're using a SQLite wrapper directly, it's possible it's leaking (as in memory leak) database/connection instances and/or not closing them properly when done, which means new connections are opened in addition each time the database is touched. Get familiar with Instruments (the "Leaks" instrument, specifically) if you're not already, then post the results if you're still stuck.
can try in terminal:
xcode-select --rest

Why does my XAMPP control panel crash every time I stop apache?

I am trying to enable some extensions in my php. If I want to initiate the changes I have to reset the apache server in XAMPP. But I just keep getting a window that says xampp-control.exe has stopped working and gives me options:
Debug Program
Close Program
Check Online for a Solution and Close Program
No matter which option I choose it will then give me this Application Error:
Exception EAccess in modele 'xampp-control.exe' at 001ABEFE. Access Violation at address 005ABEFE in module 'xampp-control.exe'. Read of address 00000042. I have read that I should just install a WAMPP server. Is there a way I can successfully reset the Apache Server?
Possible workarounds are listed on XAMPP's forum here
There are some possible workarounds:
Enable back the write privileges and to be aware of this potential issue
Modify the ini file with an editor the properties you need or
To run the XAMP Control panel as administrator
Running it as administrator worked for me.

Resources