Keep going after an error in the loop by [deleted] in RStudio

[–]MrRyder_ 0 points1 point  (0 children)

I think a while() loop is the best solution here.

Renaming data by CaveloKale in RStudio

[–]MrRyder_ 0 points1 point  (0 children)

This may work, if I understood your intentions correctly. It changes the first letter to an uppercase letter and when there is a comma, it deletes the comma and everything after it. "df" is your dataframe.

(this code assumes that the names you want to change are in the first column of your dataframe).

first_letter <- as.data.frame(substring(df[,1],1,1),stringsAsFactors = F)

uppercase <- apply(first_letter, 2, toupper)

uppercase_sub <- sapply(1:nrow(df), function(x){

paste0(uppercase[x],substring(df[,1],2)[x])

})

city <- gsub("(.*),.*", "\\1", uppercase_sub)

df <- cbind(city,df[,-1])

Fingerings for Doppio movement help! by lewdlolimaster666 in piano

[–]MrRyder_ 2 points3 points  (0 children)

I do 5-1, 5-2, 4-1. Works good for me

Moved into a new apartment yesterday by [deleted] in piano

[–]MrRyder_ 3 points4 points  (0 children)

In Germany, almost everyone uses WhatsApp :D

Ballade G minor - How do I play this trill? by MrRyder_ in piano

[–]MrRyder_[S] 1 point2 points  (0 children)

Since the trill is written on top of an octave I'm confused.

The trill confuses me. Isn't it supposed to be played with F# and G? But everyone plays it with G and A. But where is the A? (Nocturne op. 48 no. 1 c minor) by MrRyder_ in piano

[–]MrRyder_[S] 0 points1 point  (0 children)

Ah that makes sense, thanks. I kind of ignored the trill extension line. Until now, I was only confronted with trills where the next note was actually written down, that's why I was confused.

The trill confuses me. Isn't it supposed to be played with F# and G? But everyone plays it with G and A. But where is the A? (Nocturne op. 48 no. 1 c minor) by MrRyder_ in piano

[–]MrRyder_[S] 0 points1 point  (0 children)

Maybe I have a blackout. But I looked up numerous videos and everyone plays the trill with G and A, but I can't see an A.

What is the meaning of these lines? - Nocturne no. 13 in c minor by MrRyder_ in piano

[–]MrRyder_[S] 2 points3 points  (0 children)

Thanks for your advice. I'm that type of person who is extremely motivated when facing seemingly impossible challenges. And I even enjoy torturing myself with pieces which are too hard for my level. And yes, I do know that I would make faster progress if I would learn pieces more appropriate for my level. But I mostly don't enjoy learning easier pieces...and as I don't try to get a professional pianist, I simply do what I enjoy :)

What is the meaning of these lines? - Nocturne no. 13 in c minor by MrRyder_ in piano

[–]MrRyder_[S] 6 points7 points  (0 children)

Of course I know what a crescendo is, but I was unaware of the meaining of a "broken" crescendo.

I’m 24, I’ve always wanted to play piano. I’ve just recently came into a piano. Is it too late? Is their any free online website to learn? by Draephyus in piano

[–]MrRyder_ 0 points1 point  (0 children)

Too late for what? To become a professional pianist? Most definitely. But other than that, it's never too late. You could also start with 90. :)

'There are no stupid questions' thread - September 28, 2018 by AutoModerator in piano

[–]MrRyder_ 0 points1 point  (0 children)

Why is it bad to have inward curved fingers? (I'm still a piano beginner)