How to install gcc-4.7-arm-linux-gnueabihf on Ubuntu 12.04?
630
Unexpectedly, I found a solution:
Add 13.10's apt source into /etc/apt/sources.list
deb http://cz.archive.ubuntu.com/ubuntu raring main universe
Then you can install it with
sudo apt-get install gcc-4.7-arm-linux-gnueabihf
Related videos on Youtube
Author by
diego
Updated on September 18, 2022Comments
-
diego over 1 year
In an R data.frame I would to find the missing year by group and add a row for each missing year and repeat the last value.
An example
This is a
data.frame
1. GROUP/YEAR1/YEAR2/YEAR3 2. A/100/190/na 3. A/90/na/300 4. B/200/70/na
I Want
1. GROUP/YEAR1/YEAR2/YEAR3 2. A/100/190/190 3. A/90/90/300 4. B/200/70/70
-
Sotos over 6 years
-
-
Sotos over 6 yearsdon't put it here. Edit it in your question
-
diego over 6 yearsHi Sotos, excuse me but I change my question. I don't know how write to you directly. I'm a beginner. For the moment thank you very veru much. If you can reply to my new post it will very helpfull.
-
Sotos over 6 yearsUpdated my answer. Have alook
-
Prem over 6 years@diego the updated dataset and expected output seems to have a typo - header has 4 columns but data has 5 columns. You may need to update the sample & expected dataset properly.
-
G. Grothendieck over 6 yearsRegarding the EDIT you want the
apply
to only work on the numeric columns so I think you want this:library(zoo); replace(df, -1, apply(df[-1], 1, na.locf0))
.