bc / retina

Tools for visualizing and comparing data from vertebrate retinas
14 stars 3 forks source link

outline_coordinates.pdf #52

Closed jpibanezRT closed 3 years ago

jpibanezRT commented 3 years ago

Greetings Dr. Cohn I recently gave another shot at retina from the very beginning. I updated R to the latest version, downloaded the latest version of the package as well, followed all the instalation steps, etc. but I could not go further than the steps I am showing next. I am stuck from the beginning. Please help me solving this issue. Thank you.

On the main.r window...

source("helper_functions.r") temp_dir <- tempdir(check = TRUE)

roi_path <- "sample_retina/outline.roi"

Coordinates of datapoints collected

measurements <- fread("sample_retina/datapoints.csv") falciform_coords_raw <- fread("sample_retina/falciform.csv")

Add values at each datapoint

use this plot to define the tears

save_outline_indices_plot(load_roi(roi_path),measurements,"output/outline_coordinates.pdf")

...at this point, an error message shows up in the console:

Error in pdf(input_location, width = 10, height = 10) : cannot open file 'output/outline_coordinates.pdf' Called from: pdf(input_location, width = 10, height = 10)

...a new window featuring a reading glasses icon also appeared next to the main.r window, with the followind script:

"Debug location is approximate because the sourse is not available" function (file = if (onefile) "Rplots.pdf" else "Rplot%03d.pdf", width, height, onefile, family, title, fonts, version, paper, encoding, bg, fg, pointsize, pagecentre, colormodel, useDingbats, useKerning, fillOddEven, compress)...