Prototypes
Prototypes
Documentation
Documentation
Build the wiki docs:
In[]:=
BuildWikiDocumentation[FileNameJoin[MapAt[#<>".wiki"&,FileNameSplit[NotebookDirectory[]],-1]],"Prototypes"]
Paclet meta information:
In[]:=
PacletInformationDataset["Prototypes"]
Out[]=
In[]:=
InformationDataset["Prototypes`*"]
Out[]=
Files & Urls
Files & Urls
DirectoryByteCount
DirectoryByteCount
In[]:=
?DirectoryByteCount
DirectoryByteCount[dir] returns the byte count for directory 'dir'
In[]:=
DirectoryByteCount[$InstallationDirectory]
Out[]=
12148263393
DirectorySize
DirectorySize
In[]:=
?DirectorySize
DirectorySize[dir] returns the byte count for 'dir' as a quantity
In[]:=
DirectorySize[$InstallationDirectory]
Out[]=
ImportDirectory
ImportDirectory
In[]:=
?ImportDirectory
ImportDirectory[dir] imports all files in 'dir'. ImportDirectory[dir,patt] imports all files that match string pattern 'patt'
In[]:=
ImportDirectory[$HomeDirectory,"*.png"]
$ExtensionToFormat
$ExtensionToFormat
In[]:=
?$ExtensionToFormat
$ExtensionToFormat associates file extensions with their format name
In[]:=
$ExtensionToFormat//Short
Out[]//Short=
.3ds{3DS},.aco{ACO},.aif{AIFF},.aiff{AIFF},246,.sti{Raw},.rwl{Raw},.rle{RLE},.tcx{TECHEXPLORER,TCX}
In[]:=
$ExtensionToFormat[".html"]
Out[]=
{HTML,XHTML}
$FormatToExtension
$FormatToExtension
In[]:=
?$FormatToExtension
$FormatToExtension associates a file format with its list of supported file extensions
In[]:=
$FormatToExtension//Short
Out[]//Short=
3DS{.3ds},ACO{.aco},AIFF{.aif,.aiff},AU{.au,.mulaw},143,RLE{.rle},TECHEXPLORER{.tcx},TCX{.tcx}
In[]:=
$FormatToExtension["HTML"]
Out[]=
{.htm,.html}
SystemStringOpen
SystemStringOpen
In[]:=
?SystemStringOpen
SystemStringOpen[string] determines the file format for 'string' and opens it with the default application
SystemStringOpen["<html><head><title>test</title></head><body><h1>test</h1></body></html>"]
StringFormat["<html><head><title>test</title></head><body><h1>test</h1></body></html>"]
HTML
SystemStringOpen["[\n 1,\n 2,\n 3\n]"]
ExportString[{1,2,3},"JSON"]
[ 1, 2, 3]
SystemStringOpen["<html><head><title>test</title></head><body><h1>test</h1></body></html>","HTML"](*???*)
ToStringFileName
ToStringFileName
Turn nonstandard file conventions into standard string-based filenames:
In[]:=
$LocalBase
Out[]=
file:///C:/Users/arnoudb.WRI/AppData/Roaming/Wolfram/Objects
In[]:=
ToStringFileName[$LocalBase]
Out[]=
C:\Users\arnoudb.WRI\AppData\Roaming\Wolfram\Objects
Remove File wrappers that do not work in all file-based operations:
In[]:=
File[$InstallationDirectory]
Out[]=
File
In[]:=
ToStringFileName[File[$InstallationDirectory]]
Out[]=
C:\Program Files\Wolfram Research\Mathematica\11.3
URLHash
URLHash
?URLHash
URLHash[url] gives the hash for the content stored at the url
In[]:=
URLHash["http://www.wolfram.com","SHA512"]
Out[]=
3642567363595279952021711243320930162136247500202788614052593931979648502368848746988583771521381512484315147724422346543386443475145514667404787862164990
Language
Language
By
By
Statistics
Statistics
MeanBy
MeanBy
MedianBy
MedianBy
StandardDeviationBy
StandardDeviationBy
VarianceBy
VarianceBy
MaxBy
MaxBy
MinBy
MinBy
RarestBy
RarestBy
Rarest
Rarest
Dataset
Dataset
DatasetImport
DatasetImport
DatasetMap
DatasetMap
Strings
Strings
MakeString
MakeString
StringFirst
StringFirst
StringLast
StringLast
StringRest
StringRest
StringMost
StringMost
Image
Image
ImageLandscapeQ
ImageLandscapeQ
ImagePortraitQ
ImagePortraitQ
ImageSquareQ
ImageSquareQ
Image3DCubeQ
Image3DCubeQ
ImageCropResize
ImageCropResize
AlphaChannelQ
AlphaChannelQ
Random
Random
RandomGeoPosition
RandomGeoPosition
Typesetting
Typesetting