How to give write permissions for R studio In windows OS

Hello, While I was trying to animate my graphs using gganimate package I was facing errors as described in the image below:
image

98  C:\\Users\\dell\\AppData\\Local\\Temp\\RtmpSuowL5\\1efc86d16f5/gganim_plot0098.png
99  C:\\Users\\dell\\AppData\\Local\\Temp\\RtmpSuowL5\\1efc86d16f5/gganim_plot0099.png
100 C:\\Users\\dell\\AppData\\Local\\Temp\\RtmpSuowL5\\1efc86d16f5/gganim_plot0100.png
Warning message:
file_renderer failed to copy frames to the destination directory

I have installed all the required libraries
install.packages("gganimate")
install.packages("gapminder")
install.packages("png")
install.packages("gifski")

and also tried to run R studio as "Administrator", still No luck. Please help me to get rid of this error and to animate my graphs.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.