Group Abstract Group Abstract

Message Boards Message Boards

0
|
8.7K Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Calling UnitConvert from a fresh kernel crashes the kernel?

Posted 11 years ago
POSTED BY: W. Craig Carter
2 Replies

I don't get a crash either (but I am on Windows).

If you want to bypass the unit interpretation you can use "Inches" and "Meters" since these are built-in (like many standard units). They don't require a round-trip to the Wolfram servers for interpretation and work just as well (and faster, since there is no server calls):

UnitConvert[Quantity[1, "Inches"], "Meters"]

For me, the timings are 0.002 seconds (no server round-trip) and 3.084 seconds (with server round-trip).

POSTED BY: Arnoud Buzing

No crash for me...

In[4]:= SystemInformation["Small"]

Out[4]= {"Kernel" -> {"SystemID" -> "MacOSX-x86-64", 
   "ReleaseID" -> "10.0.1.0 (5157628, 2014091001)", 
   "CreationDate" -> 
    DateObject[{2014, 9, 10}, TimeObject[{10, 10, 45}]]}, 
 "FrontEnd" -> {"OperatingSystem" -> "MacOSX", 
   "ReleaseID" -> "10.0.1.0 (5157628, 2014090901)", 
   "CreationDate" -> 
    DateObject[{2014, 9, 9}, TimeObject[{18, 41, 37.}]]}}
POSTED BY: David Reiss
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard