Created
November 7, 2012 15:52
-
-
Save Btibert3/4032403 to your computer and use it in GitHub Desktop.
Getting Started with Slidify
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > require(devtools) | |
| Loading required package: devtools | |
| Warning message: | |
| package ‘devtools’ was built under R version 2.15.2 | |
| > install_github("slidify", "ramnathv") | |
| Installing github repo(s) slidify/master from ramnathv | |
| Installing slidify.zip from https://api.github.com/repos/ramnathv/slidify/zipball/master | |
| Installing slidify | |
| Installing dependencies for slidify: | |
| yaml | |
| Installing package(s) into ‘C:/Program Files/R/R-2.15.0/library’ | |
| (as ‘lib’ is unspecified) | |
| trying URL 'http://cran.rstudio.com/bin/windows/contrib/2.15/yaml_2.1.4.zip' | |
| Content type 'application/zip' length 168544 bytes (164 Kb) | |
| opened URL | |
| downloaded 164 Kb | |
| package ‘yaml’ successfully unpacked and MD5 sums checked | |
| The downloaded binary packages are in | |
| C:\Users\btibert\AppData\Local\Temp\Rtmpa0TipG\downloaded_packages | |
| C:/PROGRA~1/R/R-215~1.0/bin/i386/R --vanilla CMD build \ | |
| "C:\Users\btibert\AppData\Local\Temp\Rtmpa0TipG\ramnathv-slidify-2915c89" --no-manual \ | |
| --no-resave-data | |
| * checking for file 'C:\Users\btibert\AppData\Local\Temp\Rtmpa0TipG\ramnathv-slidify-2915c89/DESCRIPTION' ... OK | |
| * preparing 'slidify': | |
| * checking DESCRIPTION meta-information ... OK | |
| * checking for LF line-endings in source and make files | |
| * checking for empty or unneeded directories | |
| * building 'slidify_0.3.0.tar.gz' | |
| C:/PROGRA~1/R/R-215~1.0/bin/i386/R --vanilla CMD INSTALL \ | |
| "C:\Users\btibert\AppData\Local\Temp\Rtmpa0TipG/slidify_0.3.0.tar.gz" --library="C:/Program \ | |
| Files/R/R-2.15.0/library" --with-keep.source | |
| * installing *source* package 'slidify' ... | |
| ** R | |
| ** inst | |
| ** preparing package for lazy loading | |
| ** help | |
| *** installing help indices | |
| ** building package indices | |
| ** testing if installed package can be loaded | |
| * DONE (slidify) | |
| > install_github("slidifyLibraries", "ramnathv") | |
| Installing github repo(s) slidifyLibraries/master from ramnathv | |
| Installing slidifyLibraries.zip from https://api.github.com/repos/ramnathv/slidifyLibraries/zipball/master | |
| Installing slidifyLibraries | |
| C:/PROGRA~1/R/R-215~1.0/bin/i386/R --vanilla CMD build \ | |
| "C:\Users\btibert\AppData\Local\Temp\Rtmpa0TipG\ramnathv-slidifyLibraries-c17e083" --no-manual \ | |
| --no-resave-data | |
| * checking for file 'C:\Users\btibert\AppData\Local\Temp\Rtmpa0TipG\ramnathv-slidifyLibraries-c17e083/DESCRIPTION' ... OK | |
| * preparing 'slidifyLibraries': | |
| * checking DESCRIPTION meta-information ... OK | |
| * checking for LF line-endings in source and make files | |
| * checking for empty or unneeded directories | |
| * building 'slidifyLibraries_0.1.tar.gz' | |
| C:/PROGRA~1/R/R-215~1.0/bin/i386/R --vanilla CMD INSTALL \ | |
| "C:\Users\btibert\AppData\Local\Temp\Rtmpa0TipG/slidifyLibraries_0.1.tar.gz" --library="C:/Program \ | |
| Files/R/R-2.15.0/library" --with-keep.source | |
| * installing *source* package 'slidifyLibraries' ... | |
| ** R | |
| ** inst | |
| ** preparing package for lazy loading | |
| ** help | |
| *** installing help indices | |
| ** building package indices | |
| ** testing if installed package can be loaded | |
| * DONE (slidifyLibraries) | |
| > library(slidify) | |
| > author("mydeck") | |
| Creating slide directory at mydeck... | |
| /usr/bin/cp: target `mydeck' is not a directory | |
| Finished creating slide directory... | |
| Switching to slide directory... | |
| Error in setwd(deckdir) : cannot change working directory | |
| In addition: Warning message: | |
| running command 'cp -r C:/Program Files/R/R-2.15.0/library/slidify/skeleton mydeck' had status 1 | |
| > getwd() | |
| [1] "C:/Users/btibert/Documents/Dropbox/Projects" | |
| > setwd("~/Dropbox/Projects/slidify-testing") | |
| > author("mydeck") | |
| Creating slide directory at mydeck... | |
| /usr/bin/cp: target `mydeck' is not a directory | |
| Finished creating slide directory... | |
| Switching to slide directory... | |
| Error in setwd(deckdir) : cannot change working directory | |
| In addition: Warning message: | |
| running command 'cp -r C:/Program Files/R/R-2.15.0/library/slidify/skeleton mydeck' had status 1 | |
| > author("mydeck") | |
| Creating slide directory at mydeck... | |
| [1] "Directory already exists. Please choose a different name." |
It looks like you managed to install directly from source. I have pushed the fix on github. You need to reinstall only slidify. Try again and let me know if it works now.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I see it. Its a bug I will fix. I used a unix command to copy files, which is what is throwing Windows off. I will push a fix shortly. Thanks for taking the time to try this out.