The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Crash Origin 2021b using R console
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

mduds

Germany
Posts

Posted - 05/29/2021 :  04:17:02 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release 2021b SR1:
Operating System: Windows 10 64 bit Education

Good morning,

is there any chance to fix the bug in Origin 2021b which crashes Origin connecting to R using R version 4.0.3 or newer?

Manfred

minimax

362 Posts

Posted - 05/29/2021 :  11:52:02 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Manfred,

No, sorry that there is no workaround solution, you will have to use a lower version (<=4.0.2) to avoid the crash.

Max
OriginLab Technical Support
Go to Top of Page

minimax

362 Posts

Posted - 05/30/2021 :  10:17:53 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Manfred,

PS, is there some special features in newer R version which promotes you to upgrade?

Or you in general want to work on a latest R version?

Max
OriginLab Technical Support
Go to Top of Page

mduds

Germany
Posts

Posted - 05/31/2021 :  05:02:20 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi MaX,

no, I just wanted to play with the new features and performance enhancements in R 4.1.0.
I do not understand the crashes of Origin 2021b. If you type in the R console "a=1" it works. If you type as first command just "a" Origin crashes.
Does it has something to do with the R response "Error: object 'a' not found"? But why in 4.1.0 and not in 4.0.2?

Manfred
Go to Top of Page

minimax

362 Posts

Posted - 05/31/2021 :  05:08:57 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Manfred,

R changes some API since 4.0.3 and thus our way to call it fails and leads to crash.

The crash is related to the messages dumped in R Console.

If you execute "a=1", nothing is output to Console.

But when you execute "a" or whatever legal commands, it tries to output result in Console and thus crash.
Go to Top of Page

mduds

Germany
Posts

Posted - 05/31/2021 :  08:32:14 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Not totally true.
Origin crashes if you type "a" as first command.
But if you assign a value to"a", the following command "a" returns the correct result to the console:



Manfred
Go to Top of Page

minimax

362 Posts

Posted - 06/01/2021 :  01:25:08 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Never mind, it is a kind of memory out-of-bounds access problem, so it might be lucky not to crash.

Max
OriginLab Technical Support
Go to Top of Page

cpyang

USA
1406 Posts

Posted - 06/25/2021 :  9:12:49 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
We have released SR2, which has the fix to this bug.

CP
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000