{
  "_id": "6a106d7aacfb0bcc41caae99",
  "Package": "rTensor",
  "Type": "Package",
  "Title": "Tools for Tensor Analysis and Decomposition",
  "Version": "1.5.0",
  "Authors@R": "c(person(given = \"James\",\nfamily = \"Li\",\nrole = \"aut\"),\nperson(given = \"Jacob\",\nfamily = \"Bien\",\nrole = \"aut\"),\nperson(given = \"Martin\",\nfamily = \"Wells\",\nrole = \"aut\"),\nperson(given = \"Koki\",\nfamily = \"Tsuyuzaki\",\nrole = c(\"cre\", \"ctb\"),\nemail = \"k.t.the-answer@hotmail.co.jp\"))",
  "Description": "A set of tools for creation, manipulation, and modeling of\ntensors with arbitrary number of modes. A tensor in the context\nof data analysis is a multidimensional array. rTensor does this\nby providing a S4 class 'Tensor' that wraps around the base\n'array' class. rTensor provides common tensor operations as\nmethods, including matrix unfolding, summing/averaging across\nmodes, calculating the Frobenius norm, and taking the inner\nproduct between two tensors. Familiar array operations are\noverloaded, such as index subsetting via '[' and element-wise\noperations. rTensor also implements various tensor\ndecomposition, including CP, GLRAM, MPCA, PVD, Tucker, INDSCAL,\nRESCAL, DEDICOM, PARAFAC2, and 2DLDA. For tensors with 3 modes,\nrTensor also implements transpose, t-product, and t-SVD, as\ndefined in Kilmer et al. (2013). Some auxiliary functions\ninclude the Khatri-Rao product, Kronecker product, and the\nHadamard product for a list of matrices.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Date": "2026-04-12",
  "URL": "https://github.com/rikenbit/rTensor",
  "Config/testthat/edition": "2",
  "RoxygenNote": "7.1.2",
  "NeedsCompilation": "no",
  "Repository": "https://rikenbit.r-universe.dev",
  "Date/Publication": "2026-05-07 08:00:14 UTC",
  "RemoteUrl": "https://github.com/rikenbit/rtensor",
  "RemoteRef": "HEAD",
  "RemoteSha": "875b585b1d93ac2f2ee90037e230458cc0ca5b34",
  "Packaged": {
    "Date": "2026-05-07 08:27:18 UTC",
    "User": "root"
  },
  "Author": "James Li [aut],\nJacob Bien [aut],\nMartin Wells [aut],\nKoki Tsuyuzaki [cre, ctb]",
  "Maintainer": "Koki Tsuyuzaki <k.t.the-answer@hotmail.co.jp>",
  "MD5sum": "959e9b8ee5e604cb54085867d5c72c69",
  "_user": "rikenbit",
  "_type": "src",
  "_file": "rTensor_1.5.0.tar.gz",
  "_fileid": "6367856ade327ab3cbf5b5ec180086d9f7b68af3fe28b4dc2046bc24cabf7a03",
  "_filesize": 250615,
  "_sha256": "6367856ade327ab3cbf5b5ec180086d9f7b68af3fe28b4dc2046bc24cabf7a03",
  "_created": "2026-05-07T08:27:18.000Z",
  "_published": "2026-05-22T14:51:38.613Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77404253334,
      "time": 112,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6850393525"
    },
    {
      "job": 77404253612,
      "time": 136,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6850398907"
    },
    {
      "job": 77404253712,
      "time": 105,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6850389707"
    },
    {
      "job": 77404253241,
      "time": 120,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6850393579"
    },
    {
      "job": 77404252814,
      "time": 158,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6850354681"
    },
    {
      "job": 77404252712,
      "time": 83,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7163458125"
    },
    {
      "job": 77404253635,
      "time": 74,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6850379116"
    },
    {
      "job": 77404253827,
      "time": 107,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6850389768"
    },
    {
      "job": 77404253593,
      "time": 73,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6850379058"
    }
  ],
  "_buildurl": "https://github.com/r-universe/rikenbit/actions/runs/25484648642",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/rikenbit/rtensor",
  "_commit": {
    "id": "875b585b1d93ac2f2ee90037e230458cc0ca5b34",
    "author": "koki <k.t.the-answer@hotmail.co.jp>",
    "committer": "koki <k.t.the-answer@hotmail.co.jp>",
    "message": "Install remotes package in Dockerfile for devtools compatibility\n\nThe bioconductor_docker:devel base image no longer ships remotes,\nwhich devtools::install_github requires.\n\nCo-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>\n",
    "time": 1778140814
  },
  "_maintainer": {
    "name": "Koki Tsuyuzaki",
    "email": "k.t.the-answer@hotmail.co.jp",
    "login": "kokitsuyuzaki",
    "uuid": 2173745
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10.0",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "rikenbit",
  "_selfowned": true,
  "_usedby": 31,
  "_updates": [
    {
      "week": "2025-35",
      "n": 1
    },
    {
      "week": "2026-19",
      "n": 3
    }
  ],
  "_tags": [],
  "_stars": 7,
  "_contributors": [
    {
      "user": "kokitsuyuzaki",
      "count": 10,
      "uuid": 2173745
    },
    {
      "user": "vsimko",
      "count": 9,
      "uuid": 7080773
    },
    {
      "user": "jamesyili",
      "count": 7,
      "uuid": 1379889
    },
    {
      "user": "alyst",
      "count": 6,
      "uuid": 348591
    }
  ],
  "_userbio": {
    "uuid": 7158513,
    "type": "organization",
    "name": "RIKEN BiT",
    "description": "Omics AI Research Team, Advanced General Intelligence in Science Program (AGIS), TRIP, RIKEN (ex-Laboratory for Bioinformatics Research, RIKEN)"
  },
  "_downloads": {
    "count": 1023,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rTensor"
  },
  "_mentions": 2,
  "_devurl": "https://github.com/rikenbit/rtensor",
  "_searchresults": 474,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/rTensor.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/rikenbit/rtensor",
  "_realowner": "rikenbit",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2014-01-27"
    },
    {
      "version": "1.1",
      "date": "2014-04-08"
    },
    {
      "version": "1.2",
      "date": "2014-11-11"
    },
    {
      "version": "1.3",
      "date": "2015-12-14"
    },
    {
      "version": "1.4",
      "date": "2018-12-04"
    },
    {
      "version": "1.4.1",
      "date": "2020-03-22"
    },
    {
      "version": "1.4.8",
      "date": "2021-05-15"
    },
    {
      "version": "1.4.9",
      "date": "2025-08-25"
    }
  ],
  "_exports": [
    "as.tensor",
    "cp",
    "cs_fold",
    "cs_unfold",
    "dedicom",
    "fnorm",
    "fold",
    "hadamard_list",
    "head",
    "hosvd",
    "indscal",
    "innerProd",
    "k_fold",
    "k_unfold",
    "khatri_rao",
    "khatri_rao_list",
    "kronecker_list",
    "load_orl",
    "matvec",
    "modeMean",
    "modeSum",
    "mpca",
    "parafac2",
    "plot_orl",
    "print",
    "pvd",
    "rand_tensor",
    "rescal",
    "rs_fold",
    "rs_unfold",
    "show",
    "t",
    "t_mult",
    "t_svd",
    "t_svd_reconstruct",
    "tail",
    "tperm",
    "ttl",
    "ttm",
    "tucker",
    "twodlda",
    "unfold",
    "unmatvec",
    "vec"
  ],
  "_help": [
    {
      "page": "rTensor-package",
      "title": "Tools for tensor analysis and decomposition",
      "topics": [
        "rTensor-package",
        "rTensor"
      ]
    },
    {
      "page": "extract-methods",
      "title": "Extract or Replace Subtensors",
      "topics": [
        "extract,Tensor-method",
        "[,Tensor-method",
        "[-methods",
        "[<-,Tensor-method"
      ]
    },
    {
      "page": "as.tensor",
      "title": "Tensor Conversion",
      "topics": [
        "as.tensor"
      ]
    },
    {
      "page": "cp",
      "title": "Canonical Polyadic Decomposition",
      "topics": [
        "cp"
      ]
    },
    {
      "page": "cs_fold",
      "title": "Column Space Folding of Matrix",
      "topics": [
        "cs_fold"
      ]
    },
    {
      "page": "cs_unfold-methods",
      "title": "Tensor Column Space Unfolding",
      "topics": [
        "cs_unfold",
        "cs_unfold,Tensor-method",
        "cs_unfold-methods"
      ]
    },
    {
      "page": "dedicom",
      "title": "DEDICOM Decomposition",
      "topics": [
        "dedicom"
      ]
    },
    {
      "page": "dim-methods",
      "title": "Mode Getter for Tensor",
      "topics": [
        "dim,Tensor-method",
        "dim-methods"
      ]
    },
    {
      "page": "fnorm-methods",
      "title": "Tensor Frobenius Norm",
      "topics": [
        "fnorm",
        "fnorm,Tensor-method",
        "fnorm-methods"
      ]
    },
    {
      "page": "fold",
      "title": "General Folding of Matrix",
      "topics": [
        "fold"
      ]
    },
    {
      "page": "hadamard_list",
      "title": "List hadamard Product",
      "topics": [
        "hadamard_list"
      ]
    },
    {
      "page": "head-methods",
      "title": "Head for Tensor",
      "topics": [
        "head,Tensor-method",
        "head-methods"
      ]
    },
    {
      "page": "hosvd",
      "title": "(Truncated-)Higher-order SVD",
      "topics": [
        "hosvd"
      ]
    },
    {
      "page": "indscal",
      "title": "INDSCAL Decomposition",
      "topics": [
        "indscal"
      ]
    },
    {
      "page": "initialize-methods",
      "title": "Initializes a Tensor instance",
      "topics": [
        "initialize,Tensor-method",
        "initialize-methods"
      ]
    },
    {
      "page": "innerProd-methods",
      "title": "Tensors Inner Product",
      "topics": [
        "innerProd",
        "innerProd,Tensor,Tensor-method",
        "innerProd-methods"
      ]
    },
    {
      "page": "k_fold",
      "title": "k-mode Folding of Matrix",
      "topics": [
        "k_fold"
      ]
    },
    {
      "page": "k_unfold-methods",
      "title": "Tensor k-mode Unfolding",
      "topics": [
        "k_unfold",
        "k_unfold,Tensor-method",
        "k_unfold-methods"
      ]
    },
    {
      "page": "khatri_rao",
      "title": "Khatri-Rao Product",
      "topics": [
        "khatri_rao"
      ]
    },
    {
      "page": "khatri_rao_list",
      "title": "List Khatri-Rao Product",
      "topics": [
        "khatri_rao_list"
      ]
    },
    {
      "page": "kronecker_list",
      "title": "List Kronecker Product",
      "topics": [
        "kronecker_list"
      ]
    },
    {
      "page": "load_orl",
      "title": "ORL Database of Faces",
      "topics": [
        "load_orl"
      ]
    },
    {
      "page": "matvec-methods",
      "title": "Tensor Matvec Unfolding",
      "topics": [
        "matvec",
        "matvec,Tensor-method",
        "matvec-methods"
      ]
    },
    {
      "page": "modeMean-methods",
      "title": "Tensor Mean Across Single Mode",
      "topics": [
        "modeMean",
        "modeMean,Tensor-method",
        "modeMean-methods"
      ]
    },
    {
      "page": "modeSum-methods",
      "title": "Tensor Sum Across Single Mode",
      "topics": [
        "modeSum",
        "modeSum,Tensor-method",
        "modeSum-methods"
      ]
    },
    {
      "page": "mpca",
      "title": "Multilinear Principal Components Analysis",
      "topics": [
        "mpca"
      ]
    },
    {
      "page": "Ops-methods",
      "title": "Conformable elementwise operators for Tensor",
      "topics": [
        "Ops,array,Tensor-method",
        "Ops,numeric,Tensor-method",
        "Ops,Tensor,array-method",
        "Ops,Tensor,numeric-method",
        "Ops,Tensor,Tensor-method",
        "Ops-methods"
      ]
    },
    {
      "page": "parafac2",
      "title": "PARAFAC2 Decomposition",
      "topics": [
        "parafac2"
      ]
    },
    {
      "page": "plot_orl",
      "title": "Function to plot the ORL Database of Faces",
      "topics": [
        "plot_orl"
      ]
    },
    {
      "page": "print-methods",
      "title": "Print for Tensor",
      "topics": [
        "print,Tensor-method",
        "print-methods"
      ]
    },
    {
      "page": "pvd",
      "title": "Population Value Decomposition",
      "topics": [
        "pvd"
      ]
    },
    {
      "page": "rand_tensor",
      "title": "Tensor with Random Entries",
      "topics": [
        "rand_tensor"
      ]
    },
    {
      "page": "rescal",
      "title": "RESCAL Decomposition",
      "topics": [
        "rescal"
      ]
    },
    {
      "page": "rs_fold",
      "title": "Row Space Folding of Matrix",
      "topics": [
        "rs_fold"
      ]
    },
    {
      "page": "rs_unfold-methods",
      "title": "Tensor Row Space Unfolding",
      "topics": [
        "rs_unfold",
        "rs_unfold,Tensor-method",
        "rs_unfold-methods"
      ]
    },
    {
      "page": "show-methods",
      "title": "Show for Tensor",
      "topics": [
        "show,Tensor-method",
        "show-methods"
      ]
    },
    {
      "page": "t_mult",
      "title": "Tensor Multiplication (T-MULT)",
      "topics": [
        "t_mult"
      ]
    },
    {
      "page": "t_svd",
      "title": "Tensor Singular Value Decomposition",
      "topics": [
        "t_svd"
      ]
    },
    {
      "page": "t_svd_reconstruct",
      "title": "Reconstruct Tensor From TSVD",
      "topics": [
        "t_svd_reconstruct"
      ]
    },
    {
      "page": "t-methods",
      "title": "Tensor Transpose",
      "topics": [
        "t,Tensor-method",
        "t-methods"
      ]
    },
    {
      "page": "tail-methods",
      "title": "Tail for Tensor",
      "topics": [
        "tail,Tensor-method",
        "tail-methods"
      ]
    },
    {
      "page": "Tensor-class",
      "title": "S4 Class for a Tensor",
      "topics": [
        "Tensor",
        "Tensor-class"
      ]
    },
    {
      "page": "tperm-methods",
      "title": "Mode Permutation for Tensor",
      "topics": [
        "tperm",
        "tperm,Tensor-method",
        "tperm-methods"
      ]
    },
    {
      "page": "ttl",
      "title": "Tensor Times List",
      "topics": [
        "ttl"
      ]
    },
    {
      "page": "ttm",
      "title": "Tensor Times Matrix (m-Mode Product)",
      "topics": [
        "ttm"
      ]
    },
    {
      "page": "tucker",
      "title": "Tucker Decomposition",
      "topics": [
        "tucker"
      ]
    },
    {
      "page": "twodlda",
      "title": "Two-Dimensional Linear Discriminant Analysis",
      "topics": [
        "twodlda"
      ]
    },
    {
      "page": "unfold-methods",
      "title": "Tensor Unfolding",
      "topics": [
        "unfold",
        "unfold,Tensor-method",
        "unfold-methods"
      ]
    },
    {
      "page": "unmatvec",
      "title": "Unmatvec Folding of Matrix",
      "topics": [
        "unmatvec"
      ]
    },
    {
      "page": "vec-methods",
      "title": "Tensor Vec",
      "topics": [
        "vec",
        "vec,Tensor-method",
        "vec-methods"
      ]
    }
  ],
  "_readme": "https://github.com/rikenbit/rtensor/raw/HEAD/README.md",
  "_rundeps": [],
  "_score": 8.277386214338081,
  "_indexed": true,
  "_nocasepkg": "rtensor",
  "_universes": [
    "rikenbit",
    "kokitsuyuzaki"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5.0",
      "date": "2026-05-07T08:29:16.000Z",
      "distro": "noble",
      "commit": "875b585b1d93ac2f2ee90037e230458cc0ca5b34",
      "fileid": "db0548a11976df0a97e4407924f7ea12bcd6fe90c9cc592e52a26e00afdd065f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rikenbit/actions/runs/25484648642"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.5.0",
      "date": "2026-05-07T08:29:35.000Z",
      "distro": "noble",
      "commit": "875b585b1d93ac2f2ee90037e230458cc0ca5b34",
      "fileid": "438bfa942d56007991e541b5b72e4bc9f7213cd11c6dfd321c5401d55c2597f4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rikenbit/actions/runs/25484648642"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5.0",
      "date": "2026-05-07T08:29:06.000Z",
      "commit": "875b585b1d93ac2f2ee90037e230458cc0ca5b34",
      "fileid": "10a2ff96b6ad94fa19c1461cd842164a145a2df5aadcb917f0764c9701e9790e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rikenbit/actions/runs/25484648642"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.5.0",
      "date": "2026-05-07T08:29:16.000Z",
      "commit": "875b585b1d93ac2f2ee90037e230458cc0ca5b34",
      "fileid": "0d628537187a586e61f5f53adbdc04509f0c69e2d0db15c4d7b64606c10a88a7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rikenbit/actions/runs/25484648642"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.5.0",
      "date": "2026-05-07T08:28:28.000Z",
      "commit": "875b585b1d93ac2f2ee90037e230458cc0ca5b34",
      "fileid": "74d7c6601643f998302a2f3e2f7e0e88ad5d1a3d0eb0ef7a1056d13ab024e15c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rikenbit/actions/runs/25484648642"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.5.0",
      "date": "2026-05-07T08:28:50.000Z",
      "commit": "875b585b1d93ac2f2ee90037e230458cc0ca5b34",
      "fileid": "230f6ed35a95e69200d3531805f768c1e13f3b1576dd7ba6a1d38ad041a9508f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rikenbit/actions/runs/25484648642"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.5.0",
      "date": "2026-05-07T08:28:26.000Z",
      "commit": "875b585b1d93ac2f2ee90037e230458cc0ca5b34",
      "fileid": "ff2911285ab23da444f5b937dc0371d5aa43d633df0963df423159270e7ca266",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rikenbit/actions/runs/25484648642"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.5.0",
      "date": "2026-05-22T14:51:25.000Z",
      "commit": "875b585b1d93ac2f2ee90037e230458cc0ca5b34",
      "fileid": "b373322c238315eedc48562a3fb4571e527e5dd275fdc020efd1ffe0ef163e94",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rikenbit/actions/runs/25484648642"
    }
  ]
}