Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

  • 01b265e
  • /
  • inst
  • /
  • www
  • /
  • phantasus.js
  • /
  • message.proto
Raw File Download
Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
content badge Iframe embedding
swh:1:cnt:7b6d100e483508c9b05db4092f4a4520fe0e9018
directory badge Iframe embedding
swh:1:dir:5794cc9630f057319345add270e271dcb08cc48e
Citations

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
message.proto
// Originally written by Saptarshi Guha for RHIPE (http://www.rhipe.org)
// Released under Apache License 2.0, and reused with permission here
// Extended in November 2014 with new types to support encoding
// language, environment, and function types from R.

package rexp;

option java_package = "org.godhuli.rhipe";
option java_outer_classname = "REXPProtos";

// TODO(mstokely): Refine this using the new protobuf 2.6 oneof field
// for unions.
message REXP {
    enum RClass {
        STRING = 0;
        RAW = 1;
        REAL = 2;
        COMPLEX = 3;
        INTEGER = 4;
        LIST = 5;
        LOGICAL = 6;
        NULLTYPE = 7;
        NATIVE = 8;
    }
    enum RBOOLEAN {
        F=0;
        T=1;
        NA=2;
    }


    required RClass rclass = 1;
    repeated double realValue = 2 [packed=true];
    repeated sint32 intValue = 3 [packed=true];
    repeated RBOOLEAN booleanValue = 4;
    repeated STRING stringValue = 5;

    optional bytes rawValue = 6;
    repeated CMPLX complexValue = 7;
    repeated REXP rexpValue = 8;

    repeated string attrName = 11;
    repeated REXP attrValue = 12;
    optional bytes nativeValue = 13;
}
message STRING {
    optional string strval = 1;
    optional bool isNA = 2 [default=false];
}
message CMPLX {
    optional double real = 1 [default=0];
    required double imag = 2;
}

Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Contact— JavaScript license information— Web API

back to top