Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Computational Earth Sciences
multiApply
Compare revisions
fb50c4c80205fd0121c2a1562b93df47e17c6e7c...a26efbe59bb5383e4f4604d5288492f9bcd4ecfd
Commits (2)
undo the changes for dimnames
· 39737bf1
nperez
authored
Jan 21, 2021
39737bf1
Merge branch 'develop-undodimnames' into 'master'
· a26efbe5
Nuria Pérez-Zanón
authored
Jan 21, 2021
undo the changes for dimnames See merge request
!24
a26efbe5
Show whitespace changes
Inline
Side-by-side
R/zzz.R
View file @
a26efbe5
...
...
@@ -13,11 +13,6 @@
x
<-
x
[
as.vector
(
y
)]
}
dim
(
x
)
<-
old_dims
[
new_order
]
if
(
length
(
attr_bk
)
>
0
)
{
if
(
names
(
attr_bk
)
==
'dimnames'
)
{
attr_bk
<-
list
(
dimnames
=
attr_bk
$
dimnames
[
new_order
])
}
}
attributes
(
x
)
<-
c
(
attributes
(
x
),
attr_bk
)
x
}