Saving an image in the box folder connected to datiku

Mohammed
Mohammed Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Registered Posts: 43 ✭✭✭

I have a screenshot function as part of my Rshiny app. Currently, I'm saving the screenshot as follows in a datiku managed folder. This code is working fine, and I'm able to save the image as a PNG file

    screenshot_folder <- dkuManagedFolderPath("SCREENSHOT_FOLDER")
    screenshot_path <- paste0(screenshot_folder,"/")
    screenshot(filename = FILENAME,
               scale = 1,#0.75,
               download= TRUE,
               server_dir = screenshot_path)
  })


Now I want to save these images into a folder connected to a box folder and I get the following error

Warning: Error in dkuManagedFolderPath: Folder is not on the local filesystem, cannot perform direct filesystem access. Use the read/write API instead.

Operating system used: Windows 10

Answers

  • Grixis
    Grixis PartnerApplicant, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 80 ✭✭✭✭✭

    Hey,

    Could you share us more information about your output folder ?

    Like his type, path etc.

Setup Info
    Tags
      Help me…