The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

reshape2: Flexibly Reshape Data: A Reboot of the Reshape Package

Flexibly restructure and aggregate data using just two functions: melt and 'dcast' (or 'acast').

Version: 1.4.5
Depends: R (≥ 3.1)
Imports: plyr (≥ 1.8.1), Rcpp, stringr
LinkingTo: Rcpp
Suggests: covr, lattice, testthat (≥ 3.0.0)
Published: 2025-11-12
DOI: 10.32614/CRAN.package.reshape2
Author: Hadley Wickham [aut, cre]
Maintainer: Hadley Wickham <hadley at posit.co>
BugReports: https://github.com/hadley/reshape/issues
License: MIT + file LICENSE
URL: https://github.com/hadley/reshape
NeedsCompilation: yes
Citation: reshape2 citation info
Materials: README, NEWS
CRAN checks: reshape2 results

Documentation:

Reference manual: reshape2.html , reshape2.pdf

Downloads:

Package source: reshape2_1.4.5.tar.gz
Windows binaries: r-devel: reshape2_1.4.5.zip, r-release: reshape2_1.4.5.zip, r-oldrel: reshape2_1.4.5.zip
macOS binaries: r-release (arm64): reshape2_1.4.5.tgz, r-oldrel (arm64): reshape2_1.4.5.tgz, r-release (x86_64): reshape2_1.4.5.tgz, r-oldrel (x86_64): reshape2_1.4.5.tgz
Old sources: reshape2 archive

Reverse dependencies:

Reverse depends: AurieLSHGaussian, clickstream, DIMORA, eirm, gapmap, ifaTools, interlineaR, MicroNiche, morph, oceanmap, pxR, ScottKnottESD, SKFCPD, tmpm, toolmaRk, TriMatch
Reverse imports: abe, ABHgenotypeR, ACRER, actel, adace, adegenet, afex, AgeTopicModels, AgriDataTools, aifeducation, aiRly, allMT, anabel, animint2, ANN2, AppliedPredictiveModeling, archeoViz, ArvindSt, aslib, ASML, asremlPlus, assignPOP, atable, autoGO, AvInertia, baker, bartXViz, BAwiR, bayefdr, BayesChange, BayesCTDesign, bayesdfa, BayesianReasoning, BayesPET, bayesplot, bayesPop, BayesPostEst, bayesvl, BBEST, BCGcalc, BEKKs, betaStability, BIGr, bikm1, BinarybalancedCut, bioclim, BioIndex, biomod2, birdscanR, blrm, bnmonitor, boral, bsocialv2, bspcov, BTSPAS, burnr, CAinterprTools, CalibratR, camtrapR, cancerGI, caret, cartograflow, cash, cassandRa, causalPAF, cellWise, chem16S, ChemoSpec, childsds, chillR, chooseGCM, CJIVE, ClassifyITS, Cleanet, clhs, climatehealth, ClimClass, clmplus, ClussCluster, ClustAssess, clusterMI, clustMD, CMapViz, CNVScope, CoDaLoMic, CoDiNA, coefplot, CommKern, compareMCMCs, CompositeReliability, compositeReliabilityInNestedDesigns, connected, conos, ConsensusOPLS, conText, CoreMicrobiomeR, corona, cosimmr, cplm, crctStepdown, critpath, csa, csodata, CSTools, Cubist, cuRe, CytoProfile, CytOpT, dartR, dartR.base, dartR.captive, dartR.sim, data360r, DataExplorer, DataVisualizations, DBHC, dbhydroR, dbmss, DDESONN, dendroNetwork, dendroTools, denovolyzeR, DescribeDisplay, desplot, detectRUNS, detectXOR, dgpsi, diffEnrich, DImodelsMulti, DiscreteDLM, dlim, dpGMM, drimmR, drpop, DrugSim2DR, dsa, dsBase, dtwclust, duet, DVHmetrics, dynr, dynRB, dynwrap, easynem, eat, eatRep, ebvcube, EcoEnsemble, econullnetr, ecr, edina, EEM, EFA.MRFA, elaborator, EloOptimized, emdi, enpls, ensembleTax, entropart, epicR, EpiDynamics, EpiEstim, epinetr, eSIR, EstimDiagnostics, esviz, ethnobotanyR, etrm, EvaluateCore, evolqg, EvolutionaryGames, exmort, expDB, exreport, extraSuperpower, exvatools, ez, EZFragility, fabisearch, FARS, fastml, fastTopics, fcm, FCtools, fdapaceShiny, fdaPOIFD, fect, FinCal, finlabR, finna, fitbitViz, fmriqa, footBayes, foqat, forestSAS, frailtySurv, freesurfer, FreqProf, FRK, fSRM, funModeling, fuzzylink, gaQSAR, GCalignR, GCCfactor, gdm, geeLite, GEInter, genBaRcode, GenHMM1d, geocmeans, GeRnika, gfoRmulaICE, ggaligner, ggcorrplot, ggenealogy, ggiraphExtra, ggscidca, ghypernet, GISSB, glmmfields, glmmPen, GMSimpute, GowerSom, GPflexViz, grabsampling, grandR, grapesAgri1, grapherator, graphPAF, GREENeR, GRIDCOPULA, gridsampler, gspcr, gstar, gumboot, gWQS, HaDeX, handwriter, handwriterRF, hdflex, heatmaply, henna, HetSeq, HH, hicream, hlaR, HLMdiag, HMDA, hoboR, HuraultMisc, HVT, hybridModels, hydraulics, hydroroute, hydrotoolbox, hydroToolkit, hyfo, IATscores, icardaFIGSr, icpack, ideanet, idiffomix, idopNetwork, immunarch, imputeR, imputeTestbench, IMTest, inDAGO, iNEXT, iNEXT.3D, iNEXT.4steps, InterfaceqPCR, inTextSummaryTable, intradayModel, intRinsic, iprior, IPV, IRTM, irtQ, isobxr, ITNr, ivmodel, jollofR, jtdm, kaos, kehra, kernelPhil, kerntools, kgraph, Kmedians, L0Learn, LambertW, lans2r, latbias, LatentBMA, lavaSearch2, LCPA, lddmm, LeadSense, lfproQC, likert, lipidomeR, LipidomicsR, lolog, LOMAR, LongDat, longreadvqs, lsl, LSX, macrosyntR, mandelbrot, manhplot, MantaID, mappoly, mapStats, MarketMatching, marmap, matricks, matrixdist, MBMethPred, MBNMAdose, MBNMAtime, mbsts, mcb, MCTrend, mcvis, mdpeer, MEAanalysis, meconetcomp, metadeconfoundR, MetaNet, metaprotr, MF.beta4, mFD, mfpp, MicrobTiSDA, microeco, MIGEE, MIMER, mipplot, mispitools, MitoHEAR, MixSIAR, mizer, mlergm, MLFS, MLZ, moderate.mediation, modnets, morse, mortAAR, motifr, mplot, mpower, mrct, MRFcov, mrfDepth, MRIreduce, MSclassifR, mstclustering, mudfold, multibreakeR, multifear, multiSA, MultiSEp, multivar, musclesyneRgies, MuTATE, mvdalab, mvnimpute, mxfda, nandb, ncappc, nestedpp, netcom, netgsa, nethist, netmeta, NetworkComparisonTest, NetworkComparr, networktools, networktree, NeuralNetTools, NeuralSens, NGSToolKit, nlpembeds, NMADTA, NMAoutlier, NMF, nonmem2R, nonsmooth, NPBayesImputeCat, NPflow, oaxaca, obAnalytics, oCELLoc, onemap, OpenRepGrid.ic, opImputation, OptCirClust, OralOpioids, ordinalLBM, otuSummary, outreg, pacheck, PANACEA, panelvar, patientProfilesVis, patterncausality, PAutilities, PCADSC, pcFactorStan, pctax, pcutils, petersenlab, phase1PRMD, phylter, pingers, pixiedust, plot4fun, PlotPrjNetworks, plotthis, plsgenomics, PolicyPortfolios, polypoly, polyqtlR, pompom, PopComm, PopGenHelpR, PopGenReport, powerbydesign, predict3d, predictMe, prepdat, pRF, primerTree, ProbSVMs, promor, promotionImpact, PSAboot, pscore, PTXQC, ptycho, puzzle, pvars, qape, qdap, qgraph, quantkriging, R3port, RaCE.NMA, rACMEMEEV, rADA, randomForestExplainer, randomizeR, rapportools, RareComb, RARfreq, rbcc, rbi, rbi.helpers, rcontroll, RDS, reddPrec, refund.shiny, regMR, RelimpPCR, remaCor, REN, ReporterScore, rgm, RGMM, Rirt, riskutility, riverconn, rKOMICS, rlfsm, rmcfs, rnaCrosslinkOO, RNeXML, rnmamod, robCompositions, robin, RobKF, romic, Rprofet, rrda, rrobot, RSSL, RStoolbox, rtpcr, rusk, rwty, rYoutheria, saeTrafo, salmonMSE, sampcompR, santaR, sasctl, sbm, scCATCH, scGate, scistreer, scitb, scorecardModelUtils, scpi, scTenifoldKnk, sctransform, SEERaBomb, segclust2d, SensMap, SensoMineR, SepTest, SeuratExplorer, sgdGMF, sharpshootR, shinyKGode, ShinyQuickStarter, shinystan, signed.backbones, siland, simmr, simrel, singleCellHaystack, SISIR, sitepickR, SixSigma, SleepCycles, SLEMI, SlideCNA, SMASH, SNPkit, snplinkage, soc.ca, SoundShape, SoyNAM, SpaCCI, sparsevar, spatialAtomizeR, speaq, specieschrom, spectacles, spectralR, SQMtools, SSDM, SSplots, stability, STARRS, StMoMo, structSSI, SUMMER, superb, Superpower, survSens, sValues, svars, SVMMaj, SWMPr, sysid, tashu, TBA, TCGAretriever, tcgaViz, TcGSA, TCIU, tcplfit2, telraamStats, testarguments, testcorr, tetraclasse, theftdlc, thisplot, tldr, TopDom, TopKSignal, topolow, transforEmotion, treeDA, treediff, TripleR, TropFishR, tsentiment, tsiR, TSstudio, tvm, twig, TwoTimeScales, Umatrix, updog, UPG, UVdose, vacalibration, vannstats, VDAP, viewpoly, visa, viscomp, vivainsights, vizClust, WaverideR, weaana, WebAnalytics, wevid, widyr, WINS, WordListsAnalytics, wpa, wppExplorer, wql, wqspt, wTO, yorkr, zebu, ZetaSuite
Reverse suggests: AdaptGauss, admix, agridat, aldvmm, alluvial, ALUES, analyzer, ARPobservation, baseballr, BioMonTools, bmlm, bodenmiller, bootCT, bridgedist, causaldrf, CGGP, CimpleG, classmap, clayringsmiletus, clustNet, codyn, CohortContrast, colorBlindness, complexlm, contsurvplot, countfitteR, csdata, cytofan, DanielBiostatistics10th, dartR.popgen, dataprep, datplot, DeclareDesign, DirectEffects, directlabels, dominanceanalysis, DrData, ecostats, ecotraj, EMJMCMC, ENMTools, epca, EpiQuestionR, explainer, fastei, FCPS, fddm, fitHeavyTail, fitODBOD, frequencyConnectedness, funData, funtimes, genekitr, GeneralizedUmatrix, GeneralizedUmatrixGPU, germinationmetrics, ggforce, ggversa, ghcm, glmmTMB, hdf5r, heplots, heuristica, hilbertSimilarity, IceSat2R, iheatmapr, IncDTW, Information, IOBR, irtrees, kergp, knitrBootstrap, Lahman, lda, LMMstar, Markovchart, metafolio, metR, mgc, MGLM, microplot, MiscMetabar, missoNet, mlrMBO, MOEADr, MortalityTables, mosaicData, MSEtool, MTLR, MTPS, multiscape, mutSignatures, mvdpd, nc, neurobase, ngme2, NitrogenUptake2016, nLTT, nser, OpenMx, opticskxi, outstandR, OUwie, pals, ParamHelpers, PCRA, PDQutils, pdSpecEst, penppml, Perc, phylosamp, polymapR, predmicror, primer, prioriactions, productplots, ProjectionBasedClustering, psd, qad, QsRutils, r4ss, ragtop, RaJIVE, rAmCharts4, rankrate, rayshader, rCTOOL, RDML, refund, ReliabilityTheory, remotePARTS, rfordummies, RGENERATEPREC, rmoo, Rnvd3, robustbase, robustlmm, ROKET, rpf, rrcov3way, rrscale, rtForecastEval, rtop, SAMtool, scanstatistics, sdmpredictors, SDMtune, sensitivity, ShinyWizard, SightabilityModel, simdata, SmCCNet, socialmixr, SongEvo, sparklyr, sparsesurv, spatialwarnings, spFFBS, spNetwork, stepgbm, steprf, sumup, survout, swag, tableone, tci, tcpl, TestREnlme, tictactoe, tidytext, tmfast, Tmisc, treespace, tstools, tukeytrend, vcfR, vkR, webSDM, wxgenR

Linking:

Please use the canonical form https://CRAN.R-project.org/package=reshape2 to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.