I use the lines query_table <- synTableQuery("SELECT 'deviceMotion_walking_rest.json.items' FROM syn10146553 LIMIT 10") json_files <- synDownloadTableColumns(query_table, "deviceMotion_walking_rest.json.items") to download some data. It works on the first try, put not on the second (after restarting R). Instead I get the error message "Error in cumulativeDownloadResults[[j]] : subscript out of bounds" At first I thought that nothing is passed to json_files, because download is not done if a current version already has been acquired. However, the documentation suggests that synDownloadTableColumns would respond with NULL, which is not the case. I am not sure what is going on here. I would like to get the path to the downloaded files, even if they already exist on my drive.

Created by Johan Markdahl markdahl
Good to know that it is working today at least.
Hi, Larsson: Today, it works without any error message. Strange, but that resolves the issue. Yesterday, the problem was with the second command not generating an output. Sanju: Thanks, I will take a look at that topic.
Hi Johan: Are you getting this error message when you run both commands on the second time around?
Johan, To answer the last part of your issue, the discussion Thread _"Configure the Download Location"_ has dissed this in detail. By default, it gets saved in some rSynapse (or similar) folder in your home directory. /home/rSynapse For the first part, though I am not an expert on this, but check the disk size you are downloading this files to and make sure you have enough space for the files.

Error message while downloading data the second time page is loading…