diff --git a/QuickLookR.xcodeproj/project.pbxproj b/QuickLookR.xcodeproj/project.pbxproj index 65b3f9f..60afd26 100644 --- a/QuickLookR.xcodeproj/project.pbxproj +++ b/QuickLookR.xcodeproj/project.pbxproj @@ -10,7 +10,7 @@ C4291BEF1D552859001238D2 /* GenerateThumbnailForURL.m in Sources */ = {isa = PBXBuildFile; fileRef = C4291BEE1D552859001238D2 /* GenerateThumbnailForURL.m */; }; C4291BF11D552859001238D2 /* GeneratePreviewForURL.m in Sources */ = {isa = PBXBuildFile; fileRef = C4291BF01D552859001238D2 /* GeneratePreviewForURL.m */; }; C4291BF31D552859001238D2 /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = C4291BF21D552859001238D2 /* main.c */; }; - C4291BFB1D552C7A001238D2 /* QuickLookR.qlgenerator in CopyFiles */ = {isa = PBXBuildFile; fileRef = C4291BEB1D552859001238D2 /* QuickLookR.qlgenerator */; }; + C4291BFB1D552C7A001238D2 /* QuickLookR.qlgenerator in CopyFiles */ = {isa = PBXBuildFile; fileRef = C4291BEB1D552859001238D2 /* QuickLookR.qlgenerator */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; }; /* End PBXBuildFile section */ /* Begin PBXCopyFilesBuildPhase section */ @@ -275,7 +275,6 @@ COMBINE_HIDPI_IMAGES = YES; DEVELOPMENT_TEAM = CBY22P58G8; INFOPLIST_FILE = QuickLookR/Info.plist; - INSTALL_PATH = "~/Library/QuickLook"; LIBRARY_SEARCH_PATHS = ( "$(inherited)", "$(PROJECT_DIR)/QuickLookR", @@ -295,7 +294,6 @@ COMBINE_HIDPI_IMAGES = YES; DEVELOPMENT_TEAM = CBY22P58G8; INFOPLIST_FILE = QuickLookR/Info.plist; - INSTALL_PATH = "~/Library/QuickLook"; LIBRARY_SEARCH_PATHS = ( "$(inherited)", "$(PROJECT_DIR)/QuickLookR", diff --git a/README.md b/README.md index f3b8780..5f8fa53 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,15 @@ This is a macOS QuickLook Plugin for R data files. -That means if you install this plugin (download and unzip [`QuickLookR.qlgenerator.zip`](https://github.com/hrbrmstr/QuickLookR/releases/tag/v0.1.0) and put `QuickLookR.qlgenerator` into `~/Library/QuickLook`) you can hit the spacebar on an R Data or saved RDS file (`.rdata`, `.rda`, `.rds` are currently supported extensions) and get a `str()` preview without firing up R/RStudio. +That means if you install this plugin (download and unzip [`QuickLookR.qlgenerator.zip`](https://github.com/hrbrmstr/QuickLookR/releases/tag/v0.2.0) and put `QuickLookR.qlgenerator` into `~/Library/QuickLook`) you can hit the spacebar on an R Data or saved RDS file (case-insentitive `.rdata`, `.rda`, `.rds`, `.rmd` are currently supported extensions) and get a `str()` preview (for data files) without firing up R/RStudio and the ability to preview Rmd source files and then optionally go right to editing.. It looks for `Rscript` in `/usr/local/bin` and (for now) requires a helper package [`rdatainfo`](https://github.com/hrbrmstr/rdatainfo). `devtools::install_github("hrbrmstr/rdatainfo")` to install that. For the moment, the QuickLook preview is rather plain, but I hope to improve the output and switch to reading the data files at the C-level by linking directly to `R.framework`. + +![](man/figures/icons.png) + +![](man/figures/rda.png) + +![](man/figures/rdata.png) + +![](man/figures/rmd.png) \ No newline at end of file diff --git a/man/figures/icons.png b/man/figures/icons.png new file mode 100644 index 0000000..3c64522 Binary files /dev/null and b/man/figures/icons.png differ diff --git a/man/figures/rda.png b/man/figures/rda.png new file mode 100644 index 0000000..a7a130a Binary files /dev/null and b/man/figures/rda.png differ diff --git a/man/figures/rdata.png b/man/figures/rdata.png new file mode 100644 index 0000000..dea5619 Binary files /dev/null and b/man/figures/rdata.png differ diff --git a/man/figures/rds.png b/man/figures/rds.png new file mode 100644 index 0000000..ad63a9e Binary files /dev/null and b/man/figures/rds.png differ diff --git a/man/figures/rmd.png b/man/figures/rmd.png new file mode 100644 index 0000000..6c0512c Binary files /dev/null and b/man/figures/rmd.png differ