R session failed to start
Hi
i've just installed rstudio (disc C), a have 2.12 version of R installed but not in default location. i've changed the location and rstudio won't start. i've tried all of the solutions mantioned at troubleshooting > rstudio will not run and all of them had failed.
log i get:
13 Aug 2012 14:06:50 [rdesktop] ERROR system error 3 (System nie
może odnaleźć określonej ścieżki);
OCCURRED AT: bool
desktop::prepareEnvironment(desktop::Options&)
C:\Users\Administrator\rstudio\src\cpp\desktop\DesktopWin32DetectRHome.cpp:56;
LOGGED FROM: bool
desktop::prepareEnvironment(desktop::Options&)
C:\Users\Administrator\rstudio\src\cpp\desktop\DesktopWin32DetectRHome.cpp:56
13 Aug 2012 14:07:01 [rdesktop] ERROR system error 9938 (Unknown
error); OCCURRED AT: core::Error core::waitWithTimeout(const
boost::function<core::WaitResult()>&, int, int, int)
C:\Users\Administrator\rstudio\src\cpp\core\WaitUtils.cpp:60;
LOGGED FROM: int main(int, char**)
C:\Users\Administrator\rstudio\src\cpp\desktop\DesktopMain.cpp:343
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Josh Paulson on 14 Aug, 2012 11:31 AM
Hello,
It still seems that it cannot find R. If you press and hold Ctrl when starting RStudio, this should override the startup and allow you to point to your R executable, have you tried this as well?
Josh
3 Posted by biedro on 14 Aug, 2012 02:40 PM
Yes, i've tried it.
Could id be because of polish signs in location addres ("ą")? or a fact that this is my company's computer and R is istnalled locally on my profile (rstudio is at default location in program files) ?
kg
"Josh Paulson" <[email blocked]> pisze:
Support Staff 4 Posted by Josh Paulson on 14 Aug, 2012 08:28 PM
This sounds like the problem (having "ą" in your path). We've seen this causing problems before and seems there are still some bugs to work out. Would you mind opening a standard R session and telling me the output of the following commands:
Josh
5 Posted by Desmond on 18 Aug, 2012 04:47 PM
This comment was split into a new discussion: R session failed to start
Hi,
I have been using R Studio for more than a year and had not much of a problem in the past. It is indeed a very functional and well designed application.
Recently it has been very slow to boot up and all of a sudden the error message '"R session failed to start" kept on appearing.
I am having exactly the same problems and same type of messages mentioned in the previous discussions when I tried out the suggestions. It keeps on giving the ERROR system error 9938 (Unknown error); OCCURRED AT: core all the time as per attachment.
I have no problem running an R session by itself and also with Tinn-R.
I have uninstalled and re-installed R Studio a dozen times and even with the older versions but have the same message all the time.
It appears that R Studio has an inconsistent and quirky approach to start R.
I would appreciate very much if your team could resolve the core of the problem that manifest consistently in recent months.
Thank you all for your assistance in the matter.
Regards,
Desmond
Josh Paulson closed this discussion on 19 Aug, 2012 12:58 PM.
biedro re-opened this discussion on 20 Aug, 2012 08:00 AM
6 Posted by biedro on 20 Aug, 2012 08:00 AM
sorry it took me so long to replay but i've been abroad.
the first one says
'R version 2.12.0 (2010-10-15)
Platform: i386-pc-mingw32/i386 (32-bit)
locale:
[1] LC_COLLATE=Polish_Poland.1250 LC_CTYPE=Polish_Poland.1250
[3] LC_MONETARY=Polish_Poland.1250 LC_NUMERIC=C
[5] LC_TIME=Polish_Poland.1250
attached base packages:
[1] stats graphics grDevices utils datasets methods base '
the second one i would rather not post here cause of all the paths and names, hopes this above is enough. or if you could tell me specifically which part is important to you.
kg
"Josh Paulson" <[email blocked]> pisze:
Support Staff 7 Posted by Josh Paulson on 20 Aug, 2012 03:02 PM
If you'd prefer to email me any information directly (rather than posting to this forum), you can send it to "josh at rstudio dot org". I'm mainly interested if you could tell me the result of the following commands in R:
Also since using Ctrl to start RStudio does not work, can you try the following:
1) Open the Windows Command Prompt
2) Type the following commands, making sure to point to your actual paths. For example if you installed R to another location rather than Program Files. Also note that you do not type the
>, this is just the command prompt:3) Tell me the output from there
If this fails or it tells you "rsession.exe is not recognized as an internal or external
command, operable program or batch file", then double check all your paths and try again.
Josh
8 Posted by biedro on 21 Aug, 2012 08:10 AM
I've mailed you output of the R commands.
If it comes to command prompt, there is no output, nothing is happening. no messages, no action i've tried both polish and english names of the paths. i think i did everything just like you said..
Support Staff 9 Posted by Josh Paulson on 21 Aug, 2012 03:23 PM
Thanks and I got the email. Unfortunately based on the input it looks like it is the result of the "ą" in your username and home directory. I've updated our bug further and I'll message another engineer to see if he has any input here.
Josh
Support Staff 10 Posted by Josh Paulson on 21 Aug, 2012 07:11 PM
I had Joe take a deeper look and I unfortunately I don't think there is going to be anything we can do at the moment. I've made a note though to ping back to this thread once we have a fix we think will do it. Not sure on the time-frame for this though.
Josh
Josh Paulson closed this discussion on 21 Aug, 2012 07:11 PM.