ramnathv / slidify-old

Generate reproducible html5 slides from R markdown. This repository has moved to `ramnathv/slidify`
http://ramnathv.github.com/slidify/
8 stars 0 forks source link

'Permission denied' problem when rendering slides #14

Closed jlegewie closed 12 years ago

jlegewie commented 12 years ago

Hi, this looks very promising! I will play around with it and try whether I can use it with D3.js. Maybe some contributions come from that.

Right now, I have problems generating my first slides. I get a number of error messages like this:

1: In dir.create(x) : cannot create dir 'js', reason 'Permission denied'

Same for css, highlight, and deck.js. I think the reason is that slidify tries to create these folders under /Library/Frameworks/R.framework/Versions/2.15/ without permissions to do that. I used the instructions on your page to install the package.

library(devtools)
install_github('slidify', 'ramnathv')
ramnathv commented 12 years ago

Thanks for trying slidify. And yes, d3.js is an awesome framework and it would be nice to see what can be done with it.

Coming to the errors, can you provide me with more details? What OS are you running? What directory were you running slidify in. If you directly run dir.create('js') in your current directory, are you able to create one?

jlegewie commented 12 years ago

okay, my fault. After setting my working directory manually using setwd everything works. I personally would prefer if the library files get created in the same folder as the slides files. Right now they seem be created in the working directory...

Mac OS 10.7.3, R 2.15

ramnathv commented 12 years ago

Yes. Currently they are created in the working directory. I am still working on stabilizing the slidify API, will put this on my to do list.

ramnathv commented 12 years ago

I am closing this issue, and have added it as a feature request. Let me know if you have any other suggestions.